Commit Graph

83 Commits

Author SHA1 Message Date
Chris Lumens
165f14182f - Add --mkfsoptions to btrfs, logvol, partition, and raid commands. (clumens)
- Document the unit used for the --cachesize option (vpodzime)
- Add options for LVM cache specs to the 'logvol' command (vpodzime) (clumens)
- Set PYTHONPATH when running "make check". (clumens)
- Add --mkfsoptions to btrfs, logvol, partition, and raid commands. (clumens)
- Avoid traceback in module loading failure paths. (dlehman)
- Install the python3 .mo files to python3_sitelib (dshea)
- add extra test coverage for commands/btrfs.py (atodorov)
- additional test coverage for commands/device.py (atodorov)
- additional test coverage for parser/sections.py (atodorov)
- add test documentation (atodorov)
- cover corner case in commands/eula.py test (atodorov)
2015-06-22 13:21:40 -04:00
Chris Lumens
ee6c6933d1 - Merge pull request #16 from atodorov/commands_partition_updates (clumens)
- Merge pull request #15 from atodorov/fix_zanata_warning (clumens)
- cover some corner cases in the current partitioning test revealed by python-coverage (atodorov)
- Merge pull request #14 from atodorov/check_if_nosetests_is_installed (clumens)
- Remove unnecessary part_cb() and related __init__() methods (atodorov)
- fix: Warning, the url https://fedora.zanata.org/, contains / at end,please check your URL in zanata.xml (atodorov)
- if zanata and coverage are not installed make the error messages more platform independent (atodorov)
- check if nosetest is installed and abort with error if not (atodorov)
- Merge pull request #13 from vpodzime/master-ntp_pools (clumens)
- Adapt the Timezone class to support NTP pools (vpodzime)
- Update kickstart-docs.rst (jkonecny)
- RHEL7 now supports the reqpart command, too. (clumens)
- Use isinstance instead of type. (clumens)
- Add a missing space before --profile= on the logvol command. (clumens)
- Add some missing removedKeywords/removedAttrs setting. (clumens)
2015-06-02 10:38:36 -04:00
Chris Lumens
a3b8db9d7a - Ignore some pylint warnings in the tools/ directory. (clumens)
- Move most pylint disable pragmas onto the line they apply to. (clumens)
- Allow skipping the errors on unknown sections. (clumens)
2015-04-28 15:36:58 -04:00
Chris Lumens
d3352c12b4 New version. 2015-04-21 15:24:09 -04:00
Chris Lumens
12c0ffd1be - Add a new command to only make those partitions required by the platform. (clumens)
- btrfs levels should be handled the same way as RAID levels. (clumens)
- Include test cases for lower-cased and just numeric versions of RAID levels. (clumens)
- Two more docs fixes. (clumens)
2015-04-17 14:33:21 -04:00
Chris Lumens
1b0b570d90 - Move docs to the correct file name. (clumens)
- Handle two-digit version numbers on this branch. (clumens)
- Merge pull request #5 from vpodzime/master-python3 (clumens)
- RHEL7 now uses the F21 versions of commands, typically. (clumens)
- Handle a %include line that starts with whitespace in a section. (clumens)
- Treat "RAID" as uppercased at all times. (clumens)
- Add support for Fedora 23. (clumens)
- Merge pull request #6 from vpodzime/master-docs (clumens)
- Switch from transifex to zanata. (clumens)
- Let's have the docs in the repository (vpodzime)
- Prevent recursion in hasattr and __getattr__ (vpodzime)
2015-04-14 14:36:57 -04:00
Chris Lumens
b127559ca0 - And then BuildRequires pocketlint. (clumens)
- Fix the couple last pylint warnings. (clumens)
- Tell pylint to ignore a couple places where we catch all exceptions. (clumens)
- Don't use [] as a default argument to loadModules. (clumens)
- Define bytesPerInode in __init__ methods. (clumens)
- Don't pointlessly redefine the command attr in some tests. (clumens)
- tstList -> tests (clumens)
- lan -> len (clumens)
- Fix wildcard imports and other import-related pylint problems. (clumens)
- Remove some unused variables. (clumens)
- Fix string substitutions into translatable strings. (clumens)
- Start using pocketlint to run pylint. (clumens)
2015-03-24 12:05:09 -04:00
Chris Lumens
7f9716dc3d - Both library packages need to require python-six of some variety (#1195715). (clumens)
- Fix the python-six requirement for python3-kickstart (#1195719). (clumens)
2015-02-26 16:09:36 -05:00
Chris Lumens
fed7f08987 - Make sure pykickstart requires some version of the library. (clumens)
- Split into python2 and python3 specific packages. (clumens)
- Look for translations in their new location. (clumens)
- Install .mo files into the python site-packages directory. (clumens)
- Merge pull request #3 from tradej/python3 (clumens)
- Fixed pylint warnings (tradej)
- Fixed executables in tools + related parts of pykickstart.parser. (tradej)
- Explicitly closing files. Python 3 tests work now. (tradej)
- Implemented rich comparison for parser.Group. (tradej)
- Error parsing in test.commands.logvol matches Python 3's optparse. (tradej)
- Keeping order of contents in the %packages section with OrderedSet (under MIT license). (tradej)
- Redefined _ in pykickstart.i18n, importing. (tradej)
- Fixed assertRaisesRegexp function in Python3. (tradej)
- Replaced string.strip(pkgs) with str(pkgs).strip(). (tradej)
- Adapted Makefile to allow running tests under Python 3. (tradej)
- Converted syntax to Python 3-compatible (rhbz#985310) (tradej)
- Fix a problem pylint caught with the last patch merge. (clumens)
- Make sure pykickstart/*/*py messages get included in pykickstart.pot. (clumens)
- Merge pull request #2 from tradej/urlgrabber (clumens)
- Replaced URLGrabber with requests (rhbz#1141245) (tradej)
- Remove --nobase as an option. (clumens)
- Add support to rhel6 for specifying thin pool profile (vpodzime)
- Add support to rhel6 for custom layouts using lvm thin provisioning. (dlehman)
2015-02-20 14:20:11 -05:00
Chris Lumens
23e475a387 - network: add support for bridge to F22 (#1075195) (rvykydal)
- Use %license in pykickstart.spec (bcl)
2015-01-30 11:25:08 -05:00
Chris Lumens
e2e10c89e1 - Add support for setting user account ssh key (bcl)
- Add = to the output for various network options (#1171926). (clumens)
- When ksflatten fails, return a failure code (#1162881). (clumens)
2014-12-15 14:09:48 -05:00
Chris Lumens
ffe40499a6 - Get rid of an unused variable. (clumens)
- network: add support for bridge to RHEL7 (#1075195) (rvykydal)
- Add new RHEL7 logvol objects to master (vpodzime)
- Add new RHEL7 volgroup objects to master (vpodzime)
- RHEL7 supports the ostreesetup command. (clumens)
2014-11-24 10:45:52 -05:00
Chris Lumens
e7277c5317 - Move the test for --nombr option to the right class (vpodzime)
- Add the --nombr bootloader option in pykickstart (gczarcinski)
2014-10-10 11:08:42 -04:00
Chris Lumens
5e72424b68 - Allow recommended flag for non-prexisting logical volumes (#1149718) (amulhern)
- Apply a couple more 2to3 fixes, still avoiding the hard ones.(#985310). (clumens)
- Apply the obvious easy changes from 2to3 (#985310). (clumens)
2014-10-07 14:56:47 -04:00
Chris Lumens
cd00eaa280 - Add support for specifying thin pool profile (vpodzime)
- Add missing import (mkolman)
- Add tests for --interfacename validation (mkolman)
- Validate network interface name when parsing the kickstart (#1081982) (mkolman)
2014-10-03 14:20:00 -04:00
Chris Lumens
864396457d - Make --size and --percent mutually exclusive in logvol. (dlehman)
- Add support for F22. (clumens)
2014-09-24 16:25:25 -04:00
Chris Lumens
fe79ad6e5a - Some tests for --size and --percent (#1117908) (amulhern)
- Update tests where necessary with --size flag (#1117908) (amulhern)
- Supply regex values for assert_parse_error calls in logvol.py (#1117908) (amulhern)
- Check the regular expression when asserting a parse error (#1117908) (amulhern)
- Do not reference non-existant attribute (#1117908) (amulhern)
- Move some statically detectable kickstart errors out of anaconda (#1117908) (amulhern)
- Remove --disable-override from tx arguments. (clumens)
- Add the bootloader --disabled option for RHEL7 as well. (clumens)
2014-09-17 14:42:56 -04:00
Chris Lumens
376f1bde6b Add --install flag to repo command (#1119867) (bcl) 2014-08-12 11:58:29 -04:00
Chris Lumens
c3335c9a1f - Replace python-setuptools-devel BR with python-setuptools (toshio).
- Add autopart --fstype support (#1112697) (bcl)
- Add some more tests to bump up the "make coverage" numbers. (clumens)
2014-07-02 10:10:26 -04: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
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
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
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