Commit Graph

261 Commits

Author SHA1 Message Date
Toshio Kuratomi
08dc99a7b7 Replace python-setuptools-devel BR with python-setuptools 2014-06-30 14:02:28 -07:00
Chris Lumens
cc3c1ffaf9 - Add support for --disklabel to clearpart (#1078537) (bcl)
- Make print statements Python 3 compatible (mkolman)
2014-06-19 13:13:23 -04:00
Dennis Gilmore
36dfaf7756 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:01:51 -05:00
Chris Lumens
aef4e98737 - Do not set any magic default PE size in pykickstart (vpodzime)
- ostreesetup: Fix noGpg attribute (walters)
- Fix bogus changelog in pykickstart.spec (sagarun)
- Stop shipping a ChangeLog file. (clumens)
- We can use descriptive pylint message names on the command line, too. (clumens)
2014-05-16 14:55:12 -04:00
Chris Lumens
c15e010e20 - Move ks tools from optparse to argparse (#1083913). (clumens)
- Use descriptive pylint messages instead of numbers. (clumens)
- Fix up some printing problems in some of the tools. (clumens)
- Add support for the --listversions option to ksverdiff too. (clumens)
- Run pylint on tools/, and fix up all the errors. (clumens)
- disable-msg -> disable for pylint. (clumens)
2014-04-22 11:26:51 -04:00
Chris Lumens
bb6def8203 - ostreesetup: New command (walters)
- Move commandMap and dataMap setting into the individual handler classes. (clumens)
2014-03-31 16:08:40 -04:00
Chris Lumens
49c19b39d7 - Take care of all the unused argument warnings. (clumens)
- Take care of all the unused variable warnings. (clumens)
- Remove unused imports. (clumens)
- Don't do relative import any more, either. (clumens)
- Stop doing wildcard imports. (clumens)
- Add an option to disable even installing the core group. (clumens)
2014-03-21 10:30:36 -04:00
Chris Lumens
cc04496e76 - Use the correct indentation for the new network stuff. (clumens)
- Add network --interfacename option for vlans (#1061646) (rvykydal)
2014-03-18 10:25:18 -04:00
Chris Lumens
821518ecb4 - Add a new bootloader --disabled option (#1074522). (clumens)
- Add support for F21. (clumens)
- Fix an error on the printing side of handling environments. (clumens)
- Add support for fcoe --autovlan option (#1055779) (rvykydal)
2014-03-17 14:32:06 -04:00
Chris Lumens
de2b2dfec0 - Provide syntax for specifying environments (#1061296). (clumens)
- Use the correct LogVolData object (#1058520). (clumens)
- Don't do string comparisons in "make test" (#1057573). (clumens)
2014-02-05 16:18:53 -05:00
Chris Lumens
c5fe07da04 - Specify a kickstart version when running package-related tests. (clumens)
- We need python-urlgrabber to do builds now. (clumens)
2013-11-25 15:20:53 -05:00
Chris Lumens
21f12766ef We need python-urlgrabber to do builds now. (clumens) 2013-11-25 14:38:57 -05:00
Chris Lumens
0406b8d903 - Add missing version bumps for RHEL7 command control map (#1032738) (mkolman)
- Run "make test" as part of the RPM build process (#1025226). (clumens)
- Include test cases in the source distribution. (clumens)
- With the previous patch, RAID test formatting needs to change. (clumens)
- Do not add a list of PVs or RAID members when writing out --useexisting (#1021274). (clumens)
- Raise an error if bootloader --boot-drive gets more than one argument. (clumens)
2013-11-25 14:12:16 -05:00
Chris Lumens
186501272d - Add support for network team devices (#1003591) (rvykydal)
- Work on test coverage a little bit. (clumens)
- Don't use OrderedDict. (clumens)
- Add tests for tmpfs usage (mkolman)
- Add tmpfs support (#918621) (mkolman)
2013-11-14 09:42:02 -05:00
Chris Lumens
734b7ffda8 Set bootloader location constructor default value to "none" (#916529) (amulhern) 2013-11-03 16:55:01 -05:00
Chris Lumens
57a8668243 method getattr should default to handler.url (bcl)
Related: rhbz#1016801
2013-10-25 14:34:46 -04:00
Chris Lumens
ef3d25e2e7 Use F20_Raid for RHEL7. (#997146) (dlehman) 2013-10-16 13:18:47 -04:00
Chris Lumens
cc5ecfc183 - Remove a triple-X message that is no longer needed (mkolman)
- Add --remove-service option for the firewall command (#1016008) (mkolman)
2013-10-08 14:31:14 -04:00
Chris Lumens
84d0b3f4ee New 'eula' command (#1000409) (vpodzime) 2013-09-25 14:31:40 -04:00
Chris Lumens
7fdb84adcb Only BuildRequire transifex on OSes that include it. 2013-09-24 13:39:20 -04:00
Chris Lumens
a48ae5f66f Don't error out if volgroup --useexisting is given with no members. (clumens) 2013-09-24 10:32:10 -04:00
Chris Lumens
164a34db24 - Call the right attribute method (#1004889) (bcl)
- Reset method seen attrs when switching method (#1004889) (bcl)
2013-09-10 15:16:23 -04:00
Brian C. Lane
4fa23556b6 - Return None for attributes if no method has been set (#1001081) (dshea)
- Fix up a couple pylint errors in the tools. (clumens)
2013-09-03 16:33:19 -07:00
Chris Lumens
6be5b6f344 - Correct exception raising style. (clumens)
- Fix up how we call pylint for 1.0.0. (clumens)
- Set method.method when attempted. (dshea)
2013-08-21 10:05:43 -04:00
Chris Lumens
fd93081cb9 - When method.method is set, also set the right seen attribute (#994553). (clumens)
- Add tests for incorrect command usage detection (mkolman)
- Add class for independent multi-line command sequence tests (mkolman)
- Raise an error if autopart is combined with partitioning commands (#886010) (mkolman)
2013-08-19 13:42:50 -04:00
Chris Lumens
39fd4f9706 - Add aliases for all the old method classes (#986069). (clumens)
- Check syntax version before issuing a deprecation warning (#972098). (clumens)
2013-07-29 17:23:27 -04:00
Chris Lumens
883cc28de8 - Always create self.handler on-demand in the test cases. (clumens)
- Also set the seen attribute when __call__ is used. (clumens)
- Mark the upgrade command as deprecated. (clumens)
- Add the method test case back in. (clumens)
- Set the seen attribute when parsing in test cases, too. (clumens)
- Add a proxy method command object. (clumens)
- Add an interactive kickstart shell command, ksshell. (clumens)
- Fix string substitution errors in translatable text. (clumens)
- Break the method command out into individual commands. (clumens)
2013-07-15 16:54:43 -04:00
Chris Lumens
455b2e41f2 - Add support for lvm thin provisioning. (dlehman)
- Add support for F20. (clumens)
- Add a new test for the group command. (clumens)
- In the test cases, error on all non-deprecation warnings. (clumens)
- Remove unused imports from the test suite. (clumens)
2013-07-09 14:25:59 -04:00
Chris Lumens
1810ef2605 - transifex.net is now transifex.com (bcl)
- Update raid --device to be an array name specifier. (dlehman)
- Add more tests for the realm command (mkolman)
- RHEL7 is now more or less based on F19, at least for kickstart. (clumens)
- realm: Fix --no-password option (stefw)
- Add man pages for all programs (#948440). (clumens)
2013-06-14 11:24:54 -04:00
Chris Lumens
9d07e79db6 Fix F18/F19 cdrom methods (bcl) 2013-05-15 14:24:29 -04:00
Chris Lumens
b78cc96347 - Add support for the realm command (mkolman)
- Add liveimg install method (bcl)
2013-05-09 17:58:07 -04:00
Chris Lumens
2af6add78d add --extlinux option (mattdm) 2013-05-09 10:51:45 -04:00
Chris Lumens
539093b812 - Add network --ipv6gateway option (#905226) (rvykydal)
- Add lang --addsupport option (#912364) (rvykydal)
2013-04-23 10:02:29 -04:00
Chris Lumens
af1a6a774d A new user's group should default to None, not 0 (#929204). (clumens) 2013-04-10 16:24:20 -04:00
Chris Lumens
9f6e29b1d0 - parser.py: Allow shlex to strip lines (fedora.dm0)
- Fix a bug in logvol duplicate reporting (#924579, mhuth). (clumens)
- Add gid attribute to User command and associated data structure (msivak)
- Make sure tests can run and report import errors (bcl)
- Add network --vlanid option to Fedora. (rvykydal)
2013-03-22 11:05:27 -04:00
Chris Lumens
e949a7c795 - pylint appears to have gotten pickier. (clumens)
- Fix typo in --wpakey string representation method (rvykydal)
- Also add the F19 handler file. (clumens)
- Don't strip the newline from reboot or shutdown commands (#915013). (clumens)
- Add bonding support to RHEL 7 (rvykydal)
- Add bonding support to F19 (rvykydal)
- Add support for F19 (rvykydal)
2013-03-04 12:09:05 -05:00
Chris Lumens
33f006b98f Add a seen attribute to commands, sections, and the packages object. (clumens) 2013-02-13 11:02:40 -05:00
Chris Lumens
8e7dc51afc - Don't print any of the autopart command if autopart is disabled (#888841). (clumens)
- Call sys.exit instead of os._exit (#891419, gconradi AT factset.com). (clumens)
- Beware of possible unicode strings (#876293) (vpodzime)
- Remove the lang.apply method (#882186). (clumens)
- Add 'make coverage' command to the make file (stefw)
2013-01-14 15:51:17 -05:00
Chris Lumens
d16fdea0b8 - Add support for url --mirrorlist, needed by anaconda (#868558). (clumens)
- Only write out a logging line if one was provided (#873242). (clumens)
- If no timezone was provided, do not write out an empty timezone command. (clumens)
2012-11-20 16:46:24 -05:00
Chris Lumens
59341d1b88 Add support for layout switching options (vpodzime) 2012-10-24 12:07:12 -04:00
Chris Lumens
bc8abac9bd - Disable pylint warnings related to the previous patch. (clumens)
- Revert "Fix superclass constructor call in F18_Keyboard." (clumens)
- Fix superclass constructor call in F18_Keyboard. (dlehman)
- Add cipher option for encrypting block devices. (dlehman)
- Change keyboard command to accept VConsole keymap and X layouts (vpodzime)
- add unsupported_hardware command (#824963) (bcl)
2012-10-15 14:03:22 -04:00
Chris Lumens
6ce3c673d1 - bonding support: add network --bondslaves --bondopts options (rvykydal)
- vlan support: add network --vlanid option. (rvykydal)
2012-09-14 14:25:49 -04:00
Chris Lumens
7891659301 - Fix the multilib package test case. (clumens)
- Add support for --multilib option to %packages. (dlehman)
- Mark --nobase as deprecated. (notting)
2012-09-06 15:41:53 -04:00
Chris Lumens
873c41700c Add ksdata.network.hostname (readonly) property (rvykydal) 2012-08-28 16:39:27 -04:00
Chris Lumens
92c653102e Add swap --hibernation to logvol command (vpodzime) 2012-08-22 15:39:26 -04:00
Chris Lumens
5e6a09b2c0 No argument needs to be given to rootpw if you're just locking the account. (clumens) 2012-08-09 10:47:30 -04:00
Chris Lumens
fa219f27d0 - add reboot test (bcl)
- add correct halt command handling (bcl)
- return parsed object from assert_parse (bcl)
- The monitor command has been deprecated since F10.  Get rid of it. (clumens)
- Add --hibernation option for swap size specification (vpodzime)
- Add leavebootorder test (hamzy)
2012-07-26 12:55:01 -04:00
Dennis Gilmore
4d46e31f13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 23:09:24 -05:00
Chris Lumens
b7a62bff43 - Support bootloader --leavebootorder for F18 and RHEL7 (#824801) (pjones)
- Allow %include in %pre and %post (#827269) (bcl)
2012-06-19 16:08:02 -04:00
Chris Lumens
dde3b9b7e6 - Add --nontp option and a way to specify NTP servers to the timezone command (vpodzime)
- fix TypeError in network.py with ipv6 static addresses (wwoods)
- Layouts may include spaces, so put them in quotes (vpodzime)
2012-06-18 11:33:33 -04:00
Chris Lumens
a1a1105616 - pylint doesn't like .setter syntax at all. (clumens)
- Modify keyboard command to handle multiple layouts (vpodzime)
- Add support for F18. (vpodzime)
- Fix traceback if modules cannot be loaded when running tests (vpodzime)
2012-05-07 10:42:48 -04:00
Chris Lumens
ba14d7d617 - Add resize option to partition and logvol commands. (dlehman)
- Add --list= mode to clearpart for explicit list of partitions to remove. (dlehman)
2012-04-02 13:53:47 -04:00
Chris Lumens
15f359dbaa - Add __ne__ methods to every object with an __eq__ method. (clumens)
- Use the older exception syntax for python 2.4 compatibility. (clumens)
- Add an __eq__ method to the method command. (clumens)
2012-03-22 10:14:38 -04:00
Chris Lumens
1a580c105b - Add support for RHEL7 (#802369).
- Add a method to set a command back to its initial blank state.
- btrfs likes its raid levels in lower case. (#799154) (dlehman)
- iscsi: add support for interface binding to F17 (rvykydal)
- iscsi: add support for interface binding (#500273) (rvykydal)
2012-03-14 11:54:36 -04:00
Chris Lumens
3f08e6d66c Add --type option to autopart command. (dlehman)
Add btrfs command. (dlehman)
2012-01-11 14:01:13 -05:00
Chris Lumens
3dfe73e190 Add --boot-drive option to bootloader command to pick boot drive. (dlehman)
Add support for F17. (clumens)
The guts of a script could include a line starting with a % (#746928). (clumens)
2011-11-15 13:36:07 -05:00
Chris Lumens
b3e8c61c1b Don't error out if raid --useexisting is given with no members (#741728). (clumens)
When %end is missing, include the unterminated section in the error message. (clumens)
2011-10-19 16:32:55 -04:00
Chris Lumens
3a0c54a6b5 reserved-space and --reserved-percent should be checked on a callback. (clumens)
Add a volgroup unit test, and fix a bug it uncovered. (clumens)
Add support for reserved space in volume group. (dlehman)
Allow a %include to come in the middle of a section (#733455). (clumens)
Add a test case for %include inside %packages. (clumens)
2011-09-14 15:28:17 -04:00
Chris Lumens
d7d3ba9293 Add support for 'autopart --nolvm' (jlaska)
Let's just use url.size instead.  That's defined for both FTP and HTTP. (clumens)
Support end-of-line comments in the %packages section (#728563). (clumens)
2011-08-22 16:41:23 -04:00
Chris Lumens
41038b2ac9 Don't do "make po-pull" during installation. (clumens) 2011-06-27 13:50:38 -04:00
Chris Lumens
8a150366d1 Fix a couple Makefile typos. (clumens)
typo fix (vpodzime)
option for wpa wifi connection specification added (vpodzime)
Update Makefiles to work with new translation system. (clumens)
BuildRequires transifex-client. (clumens)
Ignore po/*.po files. (clumens)
Remove translation files. (clumens)
Add transifex-client configuration file. (clumens)
Fix po files so "msgfmt -c" passes and they can be uploaded to transifex. (clumens)
2011-06-27 11:16:04 -04:00
Chris Lumens
5a6666fbb7 Add a way to tell how often a section has been handled. (clumens)
Add a NullSection that just ignores any section provided. (clumens)
Add test cases for the parser itself. (clumens)
Allow for defining your own kickstart %sections. (clumens)
The docs need to be fetched from an HTTPS location now. (clumens)
Write out --onboot=off if it's False. (clumens)
2011-06-07 15:28:02 -04:00
Chris Lumens
fd4cc79f4f Add kickstart network --nodefroute option (#668417) (rvykydal)
Add support for network --bootproto ibft option (#668417) (rvykydal)
Add network --activate option (#668417) (rvykydal)
Add support for F16. (clumens)
2011-04-05 10:44:40 -04:00
Chris Lumens
0015c007b6 - Add support for "logvol --label=" (#677571). (clumens) 2011-02-18 14:01:03 -05:00
Dennis Gilmore
f6cd94cc62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 20:04:43 -06:00
Chris Lumens
525ff3f4b6 - Add support for "raid --label=" (#670643). (clumens)
- --baseurl/--mirrorlist are no longer required for the repo command. (clumens)
- Make use of the "interactive" command an error. (clumens)
2011-01-19 16:52:30 -05:00
Chris Lumens
03738ac18b - Remove preceededInclude= support (#639372). (clumens)
- support noverifyssl on the rhel6-branch (method, repo) (#660340). (akozumpl)
- l10n: Added Low German translation (ncfiedler)
2010-12-10 15:23:53 -05:00
Chris Lumens
b3d1705451 - Move from pychecker to pylint, since the latter actually works.
- Lots of minor corrections for pylint.
- Add bootloader --iscrypted (#554870).
- Add support for F15.
2010-11-08 11:11:43 -05:00
Chris Lumens
5e17990289 New version. 2010-09-10 14:25:25 -04:00
dmalcolm
0287e933c4 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 03:25:58 +00:00
Christopher Edward Lumens
8955c75b08 New version. 2010-07-20 14:01:49 +00:00
Christopher Edward Lumens
29f5761c6b New version. 2010-07-08 20:52:49 +00:00
Christopher Edward Lumens
15afcd8458 New version. 2010-06-22 18:34:54 +00:00
Christopher Edward Lumens
88488011f4 New version. 2010-06-10 16:55:26 +00:00
Christopher Edward Lumens
c60173729d New version. 2010-06-01 17:35:24 +00:00
Christopher Edward Lumens
a6c4d1634f New version. 2010-04-23 17:39:23 +00:00
Christopher Edward Lumens
33322ebc0f New version. 2010-04-14 21:08:38 +00:00
Christopher Edward Lumens
d8c8d5c93c New version. 2010-03-31 15:00:18 +00:00
Christopher Edward Lumens
9f2eba02d7 New version. 2010-03-10 15:41:57 +00:00
Christopher Edward Lumens
a096c5b9ec New version. 2010-01-14 19:16:34 +00:00
Christopher Edward Lumens
5455b32dfe New version. 2009-12-03 21:09:22 +00:00
Hans de Goede
918687908d - Add --dcb option to fcoe command (#513011)
- Remove rhpl from tests
- Port bootloader --hvargs option added in rhel5
- Ignore comments when looking for %ksappend lines (#525676)
- Use python 2.x exception syntax
2009-11-25 11:55:32 +00:00
Christopher Edward Lumens
0674836ace New version. 2009-11-12 20:49:01 +00:00
Christopher Edward Lumens
f1632b53e0 New version. 2009-09-30 15:16:03 +00:00
Christopher Edward Lumens
feb133bce7 New version. 2009-09-16 19:45:03 +00:00
Christopher Edward Lumens
f71c17d881 New version. 2009-09-10 14:33:03 +00:00
Christopher Edward Lumens
af303f0cdd New version. 2009-08-27 19:47:03 +00:00
Christopher Edward Lumens
549c15bea3 New version. 2009-08-11 18:24:17 +00:00
Christopher Edward Lumens
2e56ab6638 New version. 2009-07-29 02:58:58 +00:00
Jesse Keating
d662476ca4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-26 19:53:18 +00:00
Christopher Edward Lumens
c5d3d01f26 New version. 2009-07-17 04:07:13 +00:00
Christopher Edward Lumens
81f386aae0 New version. 2009-07-10 21:43:51 +00:00
Christopher Edward Lumens
dbcb76245d New version. 2009-07-10 00:58:15 +00:00
Christopher Edward Lumens
0c4a4af9fb New version. 2009-07-02 14:46:55 +00:00
Christopher Edward Lumens
4e23ae5f09 New version. 2009-04-29 19:07:05 +00:00
Jesse Keating
478bfaa567 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 20:09:32 +00:00
Christopher Edward Lumens
7f593c43a3 New version. 2009-02-18 18:33:32 +00:00
Christopher Edward Lumens
352b1e697f New version. 2009-01-29 22:42:50 +00:00
Christopher Edward Lumens
3e7f06cb3d New version. 2009-01-10 22:03:04 +00:00
Christopher Edward Lumens
114adf73ca New version. 2009-01-08 22:04:10 +00:00