Commit Graph

348 Commits

Author SHA1 Message Date
Python Maint
47c78d3fac Rebuilt for Python 3.11 2022-06-16 19:22:42 +02:00
Brian C. Lane
e0c1e9f767 - Write commands in alphabetical order (bcl)
Resolves: rhbz#2096871
2022-06-16 09:16:34 -07:00
Python Maint
e3c0e18c48 Rebuilt for Python 3.11 2022-06-14 17:03:58 +02:00
Brian C. Lane
3ec2a91656 - Add support for automatic LUN Scan (vponcova)
Related: rhbz#1432883
2022-06-13 15:15:31 -07:00
Python Maint
7426286be3 Rebuilt for Python 3.11 2022-06-13 17:47:35 +02:00
Brian C. Lane
6f60b44847 - tests: Fix unused out variable warnings (bcl)
- rootpw: Add an --allow-ssh argument (bcl)
  Resolves: rhbz#2083269
- github: Fix workflow to only send coverage for python 3.9 (bcl)
2022-06-02 10:01:27 -07:00
Brian C. Lane
d7cab95a21 - Add test for missing closing quote (bcl)
- i18n: Pass gettext domain on every translation call (bcl)
2022-04-07 11:04:09 -07:00
Brian C. Lane
9e88df9f50 - Remove the --ignorebroken option from RHEL handlers (vponcova)
- Add the isRHEL function (vponcova)
2022-02-28 14:52:15 -08:00
Brian C. Lane
6c4fe96dc7 - github: Add rhel9-branch to the list of branches (bcl)
- github: Use python 3.10 instead of a rc release (bcl)
- Fix validation of packages arguments (bcl)
- Add Fedora 37 support (vslavik)
- Add Fedora 36 support (vslavik)
2022-02-15 16:28:47 -08:00
Fedora Release Engineering
a038870bda - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:49:05 +00:00
Brian C. Lane
90483a464f - bootloader: Fix --md5pass documentation (bcl)
- Update ksvalidator manpage for multiple input files (vslavik)
- Test new code paths in ksvalidator (vslavik)
- ksvalidator: Add file globbing (vslavik)
- Rename _is_url() to is_url() to make it public (vslavik)
- ksvalidator: Add support for multiple files (vslavik)
- ksvalidator: Handle empty files (bcl)
- ksflatten: Add test coverage for unknown version (bcl)
- tests: Add python 3.10 to the test matrix (bcl)
- ksflatten: Fix pylint complaint about msg reuse (bcl)
- Remove more python2 compatability (bcl)
- tests: Ignore new pylint warnings (bcl)
- Fix typo "installaton" (amahdal)
- Be more consistent when referring to `%pre` (amahdal)
2021-10-12 11:22:44 -07:00
Fedora Release Engineering
cf7bb5eec6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 04:26:20 +00:00
Brian C. Lane
0daa55f384 - Remove the auth and authconfig commands (pbrezina)
- The parse method is expected to return a value (vponcova)
- tests: unittest isn't used in handle_unicode anymore (bcl)
- Add RHEL 9 handler (mkolman)
  Resolves: rhbz#1966730
- Add RHEL 9 version for commands that had a RHEL version in the past (mkolman)
  Related: rhbz#1966730
- Add RHEL 9 version for BTRFS related commands (mkolman)
  Related: rhbz#1966730
2021-07-13 14:12:34 -07:00
Brian C. Lane
9794ff0ea3 - tests: Use pykickstart/commands relative to the import (bcl)
Related: rhbz#1968762
- Document missing feature '|' for ignoredisk and clearpart (jkonecny)
- Remove python six library (bcl)
- Add Fedora 35 support (bcl)
2021-06-09 14:19:30 -07:00
Python Maint
a3f916a7e0 Rebuilt for Python 3.10 2021-06-03 10:56:14 +02:00
Fedora Release Engineering
463989fcdb - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:53:41 +00:00
Brian C. Lane
66e138ab8d - New release: 3.32 (bcl)
- Conditionally BuildRequire coverage and sphinx for runtests (bcl)
  Resolves: rhbz#1916735
- Change the lilo command removal to use RemovedCommand (vslavik)
- Change the lilocheck command removal to use RemovedCommand (vslavik)
- Fix test for the removed "interactive" command (vslavik)
- Change the langsupport command removal to use RemovedCommand (vslavik)
- Change the monitor command removal to use RemovedCommand (vslavik)
- Change the mouse command removal to use RemovedCommand (vslavik)
- Change the upgrade command removal to use RemovedCommand (vslavik)
- Fix ksverdiff detection of removed commands (vslavik)
- Check warnings of the deprecated kickstart commands (vponcova)
- Remove the install command (vslavik)
- Remove the deviceprobe command (vslavik)
- Remove the device command (vslavik)
- Remove the dmraid command (vslavik)
- Remove the multipath command (vslavik)
- Fix deprecation test for removed commands (vslavik)
- Switch interactive removal to use RemovedCommand (bcl)
- Add RemovedCommand for removing commands and documenting them (bcl)
- Remove support for the updates command without an URL (vponcova)
- Document how to deprecate commands and options (bcl)
- Remove the ignoredisk --interactive option (vslavik)
- Remove the partition --active option (vslavik)
- Deprecate the %traceback section (vslavik)
- Add missing .coveragerc file (bcl)
- Switch to using GitHub Actions instead of Travis CI (bcl)
- Add support for running via tox (bcl)
- Deprecate the method command (vslavik)
- Remove the bootloader option --upgrade (vslavik)
2021-01-18 11:40:13 -08:00
Brian C. Lane
119b633434 Conditionally BuildRequire coverage and sphinx for runtests
They aren't needed for the build unless runtests has been selected (it
is disabled by default).

Resolves: rhbz#1916735
2021-01-15 12:02:01 -08:00
Brian C. Lane
dd6f3364fc - Add make to BuildRequires, buildroot is removing it.
- Deprecate the autostep command (vslavik)
- Add missing spaces into the message (yurchor)
- ksshell: Fix indentation in _init_matches (bcl)
- Mark the level option of the logging command as deprecated (vponcova)
2020-11-05 14:07:06 -08:00
Brian C. Lane
42d1265986 - New release: 3.30 (bcl)
- ksshell: Fix traceback and add tests (bcl)
- fs: Make tmp file creation cross-platform in ksvalidator to support Windows
  (6096029+ciarancourtney)
2020-09-29 16:01:58 -07:00
Brian C. Lane
361fdfce50 - New release: 3.29 (bcl)
- setup.py: Fix script installation without filename extension (bcl)
2020-08-31 13:47:48 -07:00
Brian C. Lane
2566802e4f - New release: 3.28 (bcl)
- Makefile: Add __init__.py with new version to bumpver commit (bcl)
- tests: Ignore W0707 raise-missing-from warnings (bcl)
- Add Fedora 34 support (bcl)
- Add new tests for the harddrive biospart parameter removal (jkonecny)
- Remove biospart from harddrive command (jkonecny)
- move dependencies into setup.py and use setuptools (carlos)
- remove reference to py3 as a requirement (carlos)
- remove references to nose test framework (carlos)
- update dist to 18.04 (carlos)
- add ci test for future py ver (carlos)
- use new travis-ci syntax (carlos)
- parser: Remove OrderedSet (bcl)
- tests: Add a slightly different test for Package.add (bcl)
- Add pykickstart.__version__ string (bcl)
2020-08-31 10:22:16 -07:00
Fedora Release Engineering
4d8bcb7102 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 23:19:37 +00:00
Brian C. Lane
63ad65405c - New release: 3.27 (bcl)
- tests: Fix pylint warnings in timezone tests (bcl)
- Mark --ntpservers and --nontp options of timezone command as deprecated (mkolman)
- Add the timesource command (mkolman)
2020-07-07 11:43:07 -07:00
Brian C. Lane
3fa83edb32 - Makefile: Fix gpg signature (bcl)
- Add RHEL8_Repo, RHEL8_RepoData, and RHEL8_Url classes (bcl)
- pylint: Fix warnings and errors from pylint 2.5.x (bcl)
- i18n: Use gettext instead of lgettext (bcl)
- Use W9902 in pylint disable to avoid warnings about _ (bcl)
- Add python 3.8 to travis.yml (bcl)
- docs: Fix network.py documentation markup (bcl)
- docs: versionadded directive needs a blank line after it (bcl)
- docs: Maintain programmers-guide in the repo (bcl)
- Makefile: Add creating the detached signature to the release make target (bcl)
2020-06-01 15:43:31 -07:00
Miro Hrončok
4a4fee6bcf Rebuilt for Python 3.9 2020-05-23 06:32:03 +02:00
Brian C. Lane
f0bdc668ba - New release: 3.25 (bcl)
- Deprecate `repo --ignoregroups` (jkonecny)
- Add Fedora 33 support (jkonecny)
2020-04-07 11:34:09 -07:00
Brian C. Lane
a5a849c186 - New release: 3.24 (bcl)
- Make --url doctext more understandable (jkonecny)
- Remove url command doc that it's replaced (jkonecny)
- Add missing information for driverdisk KS command (jkonecny)
- tests: close the HTTP Server in tests/include.py (bcl)
- tests: Replace nose with unittest (bcl)
2020-04-06 11:11:23 -07:00
Fedora Release Engineering
62085104a6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 10:11:00 +00:00
Brian C. Lane
29af1cbae9 - New release: 3.22 (bcl)
- tests: pin coverage at the 4.x.x series (bcl)
- Switch to using Weblate for translations (bcl)
- po: Remove pykickstart.pot (bcl)
- gpg sign the git tag (bcl)
- Cleaning up empty help strings (bcl)
- tests: Fix the empty description, help, etc. test (bcl)
- tests: Turn off HTTP logging in Include_URL_TestCase (bcl)
- tests: Catch warning in Unknown_New_Section_2_TestCase (bcl)
- tests: Capture stderr output from ksflatten test (bcl)
- Prefer --utc to --isUtc in timezone for F32 and later (vslavik)
- Give output in str(F25_Timezone) even without timezone spec (vslavik)
- Prefer the non-camelCased options for %packages (vslavik)
- Add test for kickstart option names (vslavik)
- Add lowercase aliases for camelCased %packages options (vslavik)
- Commit the new pykickstart.pot when making a release (bcl)
- Add the rhsm command (mkolman)
- Fix travis and coverage runs (bcl)
- Fix pylint unnecessary-pass warnings (bcl)
- Drop python2 compatibility (jkonecny)
- Fix check for python zanata client in Makefile (jkonecny)
- Update versionremoved sphinx extension (bcl)
2020-01-14 11:57:30 -08:00
Brian C. Lane
a94f82447d - New release: 3.22 (bcl)
- Enable coveralls.io coverage tracking (bcl)
- Add tests for ignorebroken packages parameter (jkonecny)
- Add ignore broken parameter to packages section (#1642013) (jkonecny)
- Add support for the ZIPL Secure Boot for F32 and RHEL8 (vponcova)
- Add F32 support (jkonecny)
- Add note for the repo and url ssl options (jkonecny)
- Skip FailsToOpenOutputFile_TestCase if running as root (juliana.rodrigueiro)
- Change .spec Source to new pykickstart organization URL (bcl)
2019-11-06 15:41:14 -08:00
Miro Hrončok
949edd8fe2 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:59:38 +02:00
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
David Cantrell
a5a99e19ce gating.yml -> gating.yaml 2019-01-23 16:03:28 -05:00
David Cantrell
ba5324f83c Add Fedora CI tests and gating files for pykickstart. 2018-12-19 13:50:35 -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
16debff89b 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:53:26 -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