Commit Graph

357 Commits

Author SHA1 Message Date
Miro Hrončok
b0233038cb Rebuilt for Python 3.8 2019-08-16 05:01:41 +02:00
David Cantrell
341a0d6e7e Make module --disable available on Fedora 31+ (mkolman)
Add F31 handler (mkolman)
Add the --disable option for the module command (#1719347) (mkolman)
A couple fixes for %packaging section docs (mkolman)
Fix the docs generation (vponcova)
Fix the documentation of bootloader --append (vponcova)
Just kidding, use xenial for everything. (dcantrel)
Python 3.7 is only available in 'xenial' in Travis-CI (dcantrel)
Reduce .travis.yml to Python 3.{5,6,7}, set SPHINXAPIDOC (dcantrel)
Replace PYTHONPATH override with sys.path.append; allow
  SPHINXAPIDOC (dcantrel)
Add rhel7-branch to .travis.yml (dcantrel)
Restrict the branches to test with Python 3. (dcantrel)
More changes to .travis.yml, add requirements.txt file (dcantrel)
Update the Travis-CI yaml file. (dcantrel)
Fix documentation for the --excludepkgs and --includepkgs repo
  options (mkolman)
packit.yml: remove unused content (ttomecek)
Update sed in pykistart.spec Makefile target (phracek)
Add pykickstart.spec.in for packit (phracek)
Make %packages --default attribute sane (jkonecny)
Configuration file .packit.yaml (phracek)
For Travis-CI, explicitly use Sphinx 1.7.6 (dcantrel)
Change to unittest.skipUnless and use correct syntax. (dcantrel)
Replace 'import unittest.skipIf as skipIf' with
  just 'import unittest' (dcantrel)
s/unittest/pytest/g in .travis.yml (dcantrel)
pip install unittest for the Travis-CI runs (dcantrel)
Run 'git checkout' in the Makefile ignoring non-fatal errors (dcantrel)
Skip KS_With_Wrong_Permissions_TestCase if running as root. (dcantrel)
Treat pylint warnings as non-fatal, exit codes 0 and 4. (dcantrel)
Remove unused falsePositives in runpylint.py (dcantrel)
Use env to set NOSE_IGNORE_CONFIG_FILES (dcantrel)
Add NOSE_IGNORE_CONFIG_FILES=y to the .travis.yml file (dcantrel)
Set NOSE_IGNORE_CONFIG_FILES in make coverage (dcantrel)
In the Travis-CI environment, coverage is 'coverage' (dcantrel)
Close output_path after reading in ksflatten.py (dcantrel)
Makefile improvements (dcantrel)
Specify Python 3.7 in .travis.yml per the docs. (dcantrel)
Run sphinx-build and sphinx-apidoc from docs/Makefile (dcantrel)
Add some missing help strings as detected by the coverage target. (dcantrel)
Add missing descriptions to a handful of pykickstart commands. (dcantrel)
Mark the sshkey --username option as required in docs (mkolman)
Test on recent Python versions on Travis (mkolman)
Fix snapshot documentation (jkonecny)
Add a CONTRIBUTING file. (dcantrel)
2019-08-14 11:27:28 -04:00
Fedora Release Engineering
63ebca6427 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:43:18 +00:00
David Cantrell
6a102ee265 Remove the Python 2 subpackage for pykickstart (#1686380) 2019-03-07 15:34:14 -05:00
David Cantrell
a41ffb1f1e Remove the Python 2 subpackage for pykickstart (#1686380) 2019-03-07 15:33:10 -05:00
Fedora Release Engineering
997cdff496 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 05:13:06 +00:00
David Cantrell
0dc1315783 New release: 3.20 (dcantrell)
Fix backward compatibility for python2 (jkonecny)
In 'make local', create a dummy .asc file explaining the
  signature. (dcantrell)
2019-01-29 12:58:31 -05:00
Igor Gnatenko
f2a6352e61 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
David Cantrell
4f20c3720f New release: 3.19 (dcantrell)
Run gen_commands_docs and gen_sections_docs with python3. (dcantrell)
Use python3-sphinx in docs/Makefile (dcantrell)
Nope, this way for make po-pull and make release. (dcantrell)
Make sure 'make release' runs 'make po-pull' (dcantrell)
RHEL8Handler: include ssl certificate options (lars)
Add options for ssl certs on url and repo commands (lars)
parser: use collections.abc to import Iterator (lars)
test: Remove unused import (lars)
tests: Fix ksflatten tests (lars)
tests: Remove KickstartValueError test case (lars)
tests: Remove test case that's actually valid (lars)
Fix pylint warning W0102 dangerous-default-value (lars)
docs/versionremoved: fix sphinx import path (lars)
travis: don't override PYTHON with /usr/bin/python3 (lars)
Refactor ksverdiff and add tests for it (atodorov)
Patch ksverdiff so it works with argparse (atodorov)
Add main() function to scripts to allow module to be imported (atodorov)
Refactor tools/ksflatten.py and add tests for it (atodorov)
Add more tests for load.py (atodorov)
Issue DeprecationWarning for KickstartValueError and test it for
  completeness (atodorov)
More test coverage for autopart (atodorov)
Improve tests for updates (atodorov)
Improved tests for timezone (atodorov)
Improve tests for selinux (atodorov)
Improve test for rootpw (atodorov)
Refactoring for reboot.py and more tests (atodorov)
Refactor monitor.py and add more tests (atodorov)
Add more tests for logvol.py (atodorov)
Refactoring for driverdisk.py (atodorov)
Refactor and more tests for btrfs.py (atodorov)
Add test to kill remaining mutant (atodorov)
Refactor in dmraid.py (atodorov)
More tests and refactoring for volgroup.py (atodorov)
Improve displaymode tests (atodorov)
Fix the kickstart section %packages (vponcova)
Fix versions in parsers of kickstart sections (vponcova)
Fix warnings for deprecated options of kickstart commands (vponcova)
Fix pylint errors (vponcova)
Update kickstart-docs.rst (jason.gerfen)
Kickstart usage example link (jason.gerfen)
Document module stream installation (mkolman)
Mention all man pages in all "SEE ALSO" sections (tim)
Fix typo in ksshell man page (tim)
Normalize the mount point (vponcova)
Clarify the --when= parameter error message. (dcantrell)
2019-01-28 10:35:17 -05:00
Chris Lumens
1b50657062 New release: 3.18 (clumens)
Use the RHEL8 handler to generate RHEL docs. (clumens)
Add missing trailing newline for syspurpose __str__ method (mkolman)
Add the syspurpose command (mkolman)
Fix 'make rpmlog' target. (dcantrell)
2018-08-29 15:01:20 -04:00
David Cantrell
c1ed3ab9bd New release: 3.17 (dcantrell)
Add authselect command to rhel8 handler (rvykydal)
Add module command to rhel8 handler (rvykydal)
Update po/pykickstart.pot (dcantrell)
2018-08-15 09:58:00 -04:00
David Cantrell
438107af27 New release: 3.16 (dcantrell)
Remove the extra space from the logvol command (vponcova)
Support LUKS2 in the raid command (vponcova)
Support LUKS2 in the part command (vponcova)
Support LUKS2 in the logvol command (vponcova)
Support LUKS2 in the autopart command (vponcova)
Remove unused false positive (vponcova)
Wrong hanging indentation (vponcova)
2018-08-09 14:52:59 -04:00
Fedora Release Engineering
db8b99fe25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 23:09:21 +00:00
Chris Lumens
e127e08cf7 New release: 3.15 (clumens)
Add nvdimm command to RHEL7 (rvykydal)
Fix tests timeout (vponcova)
Fix pylint errors (vponcova)
The deprecated command upgrade is removed in another handler (vponcova)
The partition option --active is deprecated in another handler (vponcova)
The ignoredisk option --interactive is deprecated in another handler (vponcova)
The bootloader option --upgrade is deprecated in another handler (vponcova)
The command install is deprecated in another handler (vponcova)
The command deviceprobe is deprecated in another handler (vponcova)
Add kickstart warnings (vponcova)
Add the enablemodule command (mkolman)
Remove translation-canary wrapper for xgettext command. (dcantrell)
Use 'New release:' in the 'make bumpver' commit messages. (dcantrell)
Update the 'make pypi' target. (dcantrell)
Include the _sortCommand to the _setCommand method (#1578930) (vponcova)
2018-07-10 10:35:50 -04:00
Jason Tibbitts
2cba47fca0 Remove needless use of %defattr 2018-07-10 01:53:33 -05:00
Miro Hrončok
084a0ce979 Rebuilt for Python 3.7 2018-06-15 23:06:44 +02:00
David Cantrell
32b654c733 Include the _sortCommand to the _setCommand method (vponcova, #1578930)
Remove call to xgettext_werror.sh during build
2018-05-22 16:27:24 -04:00
David Cantrell
17c2693c74 Include the _sortCommand to the _setCommand method (vponcova, #1578930) 2018-05-22 15:40:43 -04:00
David Cantrell
479effc7fb Increment version to 3.14 (dcantrell)
Commit the new version in make bumpver. (dcantrell)
Adjust the make release target. (dcantrell)
Fix path problem in the pypi target. (dcantrell)
Adjust zanata check in po-pull Makefile target. (dcantrell)
Document that lilo and lilocheck are deprecated (vponcova)
Document that the command mouse is deprecated (vponcova)
The deprecated command upgrade is removed (vponcova)
The partition option --active is deprecated (vponcova)
The ignoredisk option --interactive is deprecated (vponcova)
The bootloader option --upgrade is deprecated (vponcova)
The command install is deprecated (vponcova)
The command deviceprobe is deprecated (vponcova)
Add Fedora 29 support (vponcova)
Change the timeout for nosetests (vponcova)
Fix deprecated commands with data (vponcova)
2018-05-14 13:14:21 -04:00
David Cantrell
1785e066a2 Prepare for 3.13 release. (dcantrell)
Adjust the make release target. (dcantrell)
Fix path problem in the pypi target. (dcantrell)
Adjust zanata check in po-pull Makefile target. (dcantrell)
Update fcoe command help (rvykydal)
Add support for fcoe --autovlan (rvykydal)
Fix the writePriority test for the new nvdimm command. (clumens)
Fix a typo in the nvdimm command help output. (clumens)
Add use action to nvdimm command. (rvykydal)
Add nvdimm command (rvykydal)
Remove the spec file from the source repo. (clumens)
No longer reference the spec file in the Makefile. (clumens)
Change the rc-release target to not assume the spec file location. (clumens)
Get the version number from setup.py instead of the spec file. (clumens)
Remove PKGNAME from the Makefile. (clumens)
2018-05-10 13:15:19 -04:00
David Cantrell
e295bd363a BuildRequires: python2-ordered-set 2018-04-19 16:41:14 -04:00
David Cantrell
f8dea06687 Fix python2 subpackage builds. (#1564347)
Disable tests by default because they fail in mock right now.
2018-04-16 16:43:22 -04:00
David Cantrell
9f7dfbba3c Re-enable the python2 subpackages on Fedora for now. Some
programs still need it and have not moved to python3 yet. (#1564347)
2018-04-12 12:46:49 -04:00
David Cantrell
2deed01c45 Re-enable the python2 subpackages on Fedora for now. Some
programs still need it and have not moved to python3 yet. (#1564347)
2018-04-12 10:23:04 -04:00
David Cantrell
0bf51ed086 Re-enable the python2 subpackages on Fedora for now. Some
programs still need it and have not moved to python3 yet.
2018-04-12 10:19:55 -04:00
David Cantrell
fd56619619 Conditionalize out python2 subpackage builds on Fedora releases
after 28 and EL releases after 7
2018-04-02 12:52:58 -04:00
Chris Lumens
4025591235 Sync spec file back up. (clumens)
Don't use deprecated formatErrorMsg (vponcova)
Handle error message formatting in KickstartError (vponcova)
Add the KickstartHandler class (vponcova)
Remove --fstype=btrfs support from LogVol, Raid and Part (rvykydal)
Remove btrfs support (rvykydal)
Create RHEL8 commands to pass handler using highest version test. (rvykydal)
Add RHEL8 handler (rvykydal)
Expect kickstart commands to have the default write priority. (vponcova)
Authconfig is replaced with authselect (vponcova)
2018-02-19 11:50:25 -05:00
Igor Gnatenko
0ff2e477b6
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:36 +01:00
Chris Lumens
d004e0d2bd Logging level should be always set (#1543194) (vponcova)
Copy txt files from _build folder on make local call (jkonecny)
2018-02-08 09:41:25 -05:00
Chris Lumens
1ad6f6d83f Switch to pykickstart3.
The details of the changes are extensive, but should not matter to most
users of pykickstart.  Affected users should have patches for them
already, but if not it's pretty easy to do.
2018-01-25 09:38:10 -05:00
Iryna Shcherbina
00fcc510bd Update Python 2 dependency declarations to new packaging standards 2018-01-15 19:18:05 +01:00
Chris Lumens
f3c7e9eab1 Fix directory ownership (lbalhar, #202). (clumens)
firewall: add --use-system-defaults arg to command (#1526486) (dusty)
Port the F20 firewall test from master. (clumens)
2018-01-04 11:38:48 -05:00
Chris Lumens
c1add3bf7f Don't modify the original command and data mappings. (vponcova)
Add support for hmc command in Fedora (vponcova)
2017-12-06 10:07:15 -05:00
Chris Lumens
31eccf9cf0 Add clearpart --cdl option. (sbueno+anaconda)
Add Fedora 28 support (vponcova)
Fix which Autopart class checks for the 'mount' command (vpodzime)
2017-11-09 12:40:34 -05:00
Chris Lumens
41de61013e Pylint fixes (vponcova)
Add command hmc to support SE/HMC file access in RHEL7 (vponcova)
Add timeout and retries options to %packages section in RHEL7 (vponcova)
Call the _ method from i18n.py (jkonecny)
2017-10-16 12:23:15 -04:00
Chris Lumens
f4b55f1a3b Add a new 'mount' command (vpodzime) 2017-10-12 11:16:34 -04:00
Chris Lumens
a5795b1287 network: add network --bindto option (Fedora) (#1483981) (rvykydal)
network: add network --bindto option (RHEL) (#1483981) (rvykydal)
2017-09-15 11:59:07 -04:00
Zbigniew Jędrzejewski-Szmek
9451718ec7 Python 2 binary package renamed to python2-pykickstart 2017-08-19 09:39:19 -04:00
Chris Lumens
b2df1af3f0 Remove the type annotations (dshea)
Remove mypy checks. (dshea)
2017-07-31 13:44:06 -04:00
Fedora Release Engineering
676db50fdd - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:20:04 +00:00
Chris Lumens
cb0dbe130f Add a Makefile target for uploading to pypi (#162). (clumens)
Add tests for method command (vponcova)
Rewrite the method command. (vponcova)
More documentation for bypassing the bootloader (#159) (amtlib-dot-dll)
Output any sections registered with NullSection (#154). (clumens)
Add new installclass command. (vponcova)
2017-07-24 09:52:06 -04:00
Chris Lumens
022d7003d0 - Fix an ambiguous string in a snapshot command test. (clumens)
- Snapshot command is also for Fedora 26 (jkonecny)
- Add documentation for the snapshot feature (#1113207) (jkonecny)
- Add tests for a new snapshot command (#1113207) (jkonecny)
- Add support of --when param to snapshot command (#1113207) (jkonecny)
- Add new snapshot KS command (#1113207) (jkonecny)
2017-06-14 10:22:01 -04:00
Chris Lumens
6c4dd18af9 - Ignore a couple false positives coming from the re module. (clumens)
- Add --nohome, --noboot and --noswap options to autopart command. (vponcova)
- Add --nohome option to autopart command to RHEL7. (vponcova)
- Add support for --chunksize option to RHEL7. (vponcova)
- Ignore errors from coverage tests (#138) (jkonecny)
- Add --hibernation to the list of logvol size options (#1408666). (clumens)
- Apply a different filter for warnings from pykickstart (#1408667). (clumens)
- Rename a couple _setToSelf calls that snuck back in (#1408667). (clumens)
- Handle KickstartVersionError in ksflatten (#1412249). (clumens)
- Fix handling # in passwords. (clumens)
- Pass comments=True to shlex.split calls in the test functions. (clumens)
2017-04-07 16:02:17 -04:00
Fedora Release Engineering
f95fc671bb - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 08:06:21 +00:00
Charalampos Stratakis
5b757b8841 Rebuild for Python 3.6 2016-12-13 19:55:39 +01:00
Chris Lumens
0051f9c7a5 - Fix python2 compatibility when printing to stderr (jkonecny)
- Remove duplicated kwargs.get displayMode variable (jkonecny)
- Print errors to stderr when errors aren't fatal (jkonecny)
- Add a type stub for the new F26 support. (clumens)
- Fix and add tests for F26 and new displaymode (jkonecny)
- Add non-interactive option to graphical and text modes (jkonecny)
- Add Fedora 26 support (jkonecny)
2016-11-04 09:47:37 -04:00
Chris Lumens
5264293c8f - replace assertEquals with assertEqual in network tests (#103) (rvykydal)
- Fix F25 timezone should subclass F23 instead of F18 (#102) (jkonecny)
- Update network command documentation for --no-activate option. (rvykydal)
- Update network command documentation (from master) (rvykydal)
- Add --no-activate option to network command (#1277975) (rvykydal)
2016-09-13 11:15:46 -04:00
Chris Lumens
eec73e3f38 - Support timezone command usage without timezone specification (mkolman)
- Formatting fixes (mkolman)
- Download translations less frequently. (#83) (dshea)
- Adapt to the new version of mypy (#82) (dshea)
- The pykickstart package should require a specific python3-kickstart. (clumens)
- Use set_to_self and set_to_obj internally. (clumens)
- Remove the locales from zanata.xml. (clumens)
2016-07-21 13:10:08 -04:00
Fedora Release Engineering
7c379025d7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 08:32:49 +00:00
Chris Lumens
7d4aea7b28 - Add documentation for --excludeWeakdeps (dshea)
- Add support for --excludeWeakdeps option to %packages. (james)
- Numbers can be part of a kickstart command option. (clumens)
- It's authconfig, not autoconfig (in the kickstart.vim file). (clumens)
2016-05-10 11:52:09 -04:00
Chris Lumens
881b031779 - Fix pylint no-member errors. (clumens)
- Support file URLs for ostree (#1327460). (clumens)
- Fix a couple mistakes in the documentation. (clumens)
2016-04-25 15:57:41 -04:00
Chris Lumens
e9d6e867eb - Correctly move scripts after they've been installed. (clumens)
- Document %traceback and %onerror. (clumens)
- Add a new %onerror script section (#74). (clumens)
- The tools aren't tests, so don't try to run them. (clumens)
- Enable coverage reporting for pykickstart tools (jikortus)
2016-04-12 15:04:12 -04:00
Chris Lumens
fe1666a5d6 Ignore DeprecationWarnings originating in pykickstart itself. (clumens) 2016-04-07 15:57:24 -04:00
Chris Lumens
917155f76e - We need to BuildRequires python-ordered-set. (clumens)
- Add --chunksize option to raid command. (vtrefny)
- Add Fedora 25 support. (vtrefny)
- Remove deprecated commands from the documentation. (clumens)
- Mark the device, dmraid, and multipath commands as deprecated. (clumens)
- Fix processing of the #platform= comment. (clumens)
- fix formating (Frodox)
- Change network example to working one (Frodox)
- Add DNF system-upgrade near FedUp references (github)
- Add a syntax highlighting file for vim. (clumens)
- Move tests/parser/* into the tests/ directory. (clumens)
- Use importlib to import modules. (dshea)
- Update kickstart documentation for ntp (jkonecny)
- It's self.sshkey, not self.key. (clumens)
- Remove orderedset.py (dshea)
2016-03-28 15:14:26 -04:00
Chris Lumens
6502c263ad - Add --chunksize option to raid command. (vtrefny)
- Add Fedora 25 support. (vtrefny)
- Remove deprecated commands from the documentation. (clumens)
- Mark the device, dmraid, and multipath commands as deprecated. (clumens)
- Fix processing of the #platform= comment. (clumens)
- fix formating (Frodox)
- Change network example to working one (Frodox)
- Add DNF system-upgrade near FedUp references (github)
- Add a syntax highlighting file for vim. (clumens)
- Move tests/parser/* into the tests/ directory. (clumens)
- Use importlib to import modules. (dshea)
- Update kickstart documentation for ntp (jkonecny)
- It's self.sshkey, not self.key. (clumens)
- Remove orderedset.py (dshea)
2016-03-28 14:48:15 -04:00
Chris Lumens
46f41d7a6d - Use the correct branch in zanata. (clumens)
- Improved method.py test coverage (jikortus)
- Remove the removal of the eintr checker, which has been removed (dshea)
- Verify that a password with a # sign doesn't get read as a comment. (clumens)
- Add comments to the public set_to_self and set_to_obj methods. (clumens)
- Promote _setToObj and _setToSelf to public functions. (clumens)
- Raise PendingDeprecationWarnings for things removed in pykickstart-3. (clumens)
- Change the README to explain which branch we're talking about here. (clumens)
- Add a document describing how to adapt your code to pykickstart-3. (clumens)
- There is no F7_Key class - use RHEL5_Key instead. (clumens)
- The RHEL6 branch supported the key command. (clumens)
- Try harder to test translations. (dshea)
2016-02-05 11:55:06 -05:00
Fedora Release Engineering
9b62955600 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:44:30 +00:00
Chris Lumens
52e87a0d3e Add build requires on python-coverage and python3-mypy. (clumens) 2016-01-11 11:37:22 -05:00
Chris Lumens
2a7e19dfd4 - Add type information to parser.py and sections.py. (clumens)
- Fix some of the types in base.py. (clumens)
- Don't set currentCmd on the handler object. (clumens)
- Remove logs and coverage files from the "clean" target. (clumens)
- Fix the if block in the Makefile to be much more clear. (clumens)
- Get rid of the BuildRequires: transifex. (clumens)
- Get rid of the "test" makefile target.  Use "coverage" for everything. (clumens)
- Use python3 by default in the spec file and Makefile. (clumens)
- Remove the #! line from setup.py. (clumens)
- Remove spec file history from before version 1.99. (clumens)
- Add some initial static typing information to pykickstart. (dshea)
- Fix a bug in how arguments were being passed to zanata. (clumens)
2016-01-11 10:46:08 -05:00
Chris Lumens
1a6493d9f4 - Use six.assertRaisesRegex to keep the tests working in python2. (dshea)
- Rename deprecated assert methods to whatever we're supposed to be using. (clumens)
- Fix class inheritance in RHEL6_VolGroup (ccoyle)
- Run the translation-canary tests during make archive (dshea)
- Run translation-canary tests from make check (dshea)
- Ignore translation-canary when running pylint. (dshea)
- Correct problems in translatable format strings. (dshea)
- Use the xgettext_werror to generate pykickstart.pot (dshea)
- Use setup.py's sdist to create the release tarball. (dshea)
- Squashed 'translation-canary/' content from commit 5a45c19 (dshea)
2016-01-05 10:34:16 -05:00
Chris Lumens
7e7186f734 - Add tests for all the preprocess functions. (clumens)
- Reimplement the existing preprocess functions. (clumens)
- Add new preprocess functions that return a string. (clumens)
- _preprocessStateMachine shouldn't do any writing to disk. (clumens)
- Import tempfile when it's needed, not globally. (clumens)
2015-11-30 10:47:12 -05:00
Peter Robinson
73f0dbadf7 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-12 12:16:48 +00:00
Chris Lumens
c85e33ce85 - Only decode as utf-8 when using py3 (bcl)
- Add --sshkey to sshpw command (#1274104) (bcl)
- Fix an xconfig test case. (clumens)
- The xconfig --server option was apparently removed by FC6. (clumens)
- Add a test for the xconfig command. (clumens)
- Read kickstart files in binary, decode to utf-8 (bcl)
2015-11-09 14:37:31 -05:00
Robert Kuska
f618b80d98 Rebuilt for Python3.5 rebuild 2015-11-04 08:41:33 +01:00
Chris Lumens
8c9369dd1d - We don't actually need to BuildRequires python-pocketlint. (clumens)
- docs/kickstart-docs.rst: iscrypted has no argument (sol)
2015-11-03 12:01:39 -05:00
Chris Lumens
669d847057 - More tests for driverdisk, iscsi, ostreesetup, partition, raid and repo commands (atodorov)
- Add more unit tests (atodorov)
- pykickstart: don't set bootProto if --noipv4 (jbacik)
- Produce coverage-report.log for CI (atodorov)
2015-10-22 10:48:58 -04:00
Chris Lumens
4abe177141 - Add Fedora 24 support. (clumens)
- Update the RHEL7 version constant. (clumens)
- ostree repos can only be HTTP or HTTPS. (clumens)
- Allow GIDs to be specified in the user --groups list. (dshea)
- docs: Add `--activate` as an explicit network option to the list (walters)
2015-10-07 15:41:27 -04:00
Chris Lumens
8fbf76738b - Add reqpart to docs (pbokoc)
- link to github docs instead of fedora wiki (mmckinst)
- Differentiate between empty and missing instLangs (dshea)
- Add tests for empty and missing --instLangs values. (dshea)
2015-09-25 10:36:46 -04:00
Chris Lumens
3e8ae34e93 - Fix a typo in the README. (clumens)
- Check whether requests actually fetched the URL (dshea)
- Return URL loads as str instead of bytes (dshea)
- Add test cases for including kickstart data via URL. (dshea)
2015-09-08 15:49:50 -04:00
Chris Lumens
4b954edd42 - Fix writing out an empty %packages section when using ksflatten. (clumens)
- Fix a typo in output from the RHEL6 logvol command. (clumens)
- Increase test coverage by a couple percent. (clumens)
- Fix zfcp equality testing for F12 and later. (clumens)
- Fix warning on adding a second user with the same name. (clumens)
- Directories have to be the same in harddrive equality testing. (clumens)
2015-08-27 13:10:25 -04:00
Chris Lumens
2a824efc60 - Fix liveimg equality check (bcl)
- improve test coverage for version.py (atodorov)
2015-08-05 17:09:19 -04:00
Chris Lumens
16fbfde14b - Avoid polluting generated kickstarts by unexpected reqpart commands (#1164660) (mkolman)
- Don't always assume the mock chroot is on x86_64. (clumens)
- Remove documentation compilation warnings (jkonecny)
- Use sys.exit instead of os._exit. (clumens)
- Add a new makefile target that does everything needed for jenkins. (clumens)
2015-07-30 10:39:39 -04:00
Chris Lumens
5e3a6f0e12 Require python3-nose to build now. 2015-07-09 11:04:23 -04:00
Chris Lumens
c73841d386 - Run nosetests with the same python as was passed to make. (clumens)
- Looks like Group still needs to define __hash__ to be hashable. (clumens)
2015-07-09 10:45:38 -04:00
Chris Lumens
7664628b8e - Don't forget to call the superclass's __init__ in Group now. (clumens)
- Group objects need to be hashable. (clumens)
- Ignore some more files. (clumens)
- Don't allow using --fsprofile and --mkfsopts at the same time. (clumens)
2015-07-06 15:20:57 -04:00
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
Dennis Gilmore
52d91750e4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 18:11:12 +00: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
2c7022d05b And do the right BuildRequires, too. 2015-02-20 14:39:32 -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
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