Commit Graph

77 Commits

Author SHA1 Message Date
David Cantrell fd1528e088 Upgrade to pyparted-3.11.7 (BZ#1890443)
Set PY_SSIZE_T_CLEAN for the build (bcl)
add nvme support
Update RELEASE file to make last step be "make pypi" (dcantrell)

Signed-off-by: David Cantrell <david.l.cantrell@gmail.com>
2020-10-23 15:56:10 -04:00
David Cantrell 7d25590c0f Require at least libparted 3.3 and python 3.7 (dcantrell)
pedmodule.c: Fix partition enum flag handling (bcl)
Add support for chromeos_kernel and bls_boot partition flags (bcl)
Move exception declarations to _pedmodule.c (dcantrell)

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2020-03-09 13:10:53 -04:00
David Cantrell e54c3fce0a Use Decimal for Device.getSize() operations, return a
float (#1801355)
Update the 'twine upload' line in the Makefile
Don't intentionally prohibit Python 2 usage (#67)
mips64 support
2020-02-11 10:58:02 -05:00
David Cantrell 2f159223e6 Fix deprecation warning in parted/cachedlist.py (#1772060) 2019-11-15 09:09:03 -05:00
David Cantrell 431cba9788 pyparted-3.11.2 (dcantrell)
Do not remove the generated tarballs. (dcantrell)
Update the RELEASE file. (dcantrell)
tests: Fix flag_get_name tests (bcl)
Avoid potential NULL dereferences in pydisk.c and pytimer.c
  (dcantrell)
New - example to query device capacity (jflorian)
correct spelling mistake (edward)
_ped's *_flag_get_name methods now throw a PartedException instead of
  ValueError on unsupported flags. (lukasz.zemczak)
Make the partition name a property on parted.Partition objects (#34)
  (dcantrell)
2019-02-01 13:55:01 -05:00
David Cantrell 023abd7282 Upgrade to pyparted-3.11.0 2017-06-22 17:26:14 -04:00
David Cantrell 01446019c7 test__ped_filesystem.py for for Python 2 vs 3. (dcantrell) 2015-08-27 16:01:54 -04:00
David Cantrell 3dc1bac295 Use sys.exit instead of os._exit with pocketlint. (clumens)
- Use addCleanup instead of tearDown for removing temp-device. (clumens)
- Add a new makefile target that does everything needed for jenkins.
  (clumens)
- Merge pull request #13 from atodorov/fix_imports (david.l.cantrell)
- Merge pull request #14 from vpodzime/master (david.l.cantrell)
- Do not support and use hashing on pyparted's objects (#1229186) (vpodzime)
- Fix pylint errors (atodorov)
- Merge pull request #12 from atodorov/remove_hardcoded_paths
  (david.l.cantrell)
- Merge pull request #8 from atodorov/tests_ped_filesystem (david.l.cantrell)
- Merge pull request #10 from atodorov/tests_ped_partition (david.l.cantrell)
- Merge pull request #6 from atodorov/add_coverage (david.l.cantrell)
- Remove hard-coded paths. You should have all tools in PATH when working on
  pyparted. (atodorov)
- run the test suite under python-coverage and report the results (atodorov)
- add test coverage for _ped.Partition (atodorov)
- Merge pull request #9 from atodorov/tests_dont_skip_if_root
  (david.l.cantrell)
- Merge pull request #11 from atodorov/fix_api_docs (david.l.cantrell)
- update pydoc descriptions based on actual behavior (atodorov)
- don't skip DeviceGetNextTestCase if running as root (atodorov)
- add test cases for _ped.FileSystem (atodorov)
- Merge pull request #7 from atodorov/tests_readme (david.l.cantrell)
- Remove old BUGS file. (david.l.cantrell)
- add simple test documentation (atodorov)
- Merge pull request #5 from vpodzime/master (david.l.cantrell)
- Beware of Python 3's version of the map() built-in function (vpodzime)
- Remove the MANIFEST file when doing 'make release' (dcantrell)
- Remove fedorahosted steps from the RELEASE file. (dcantrell)
- Update documentation and Makefile for github. (dcantrell)
- Stop using type() to do comparisons. (clumens)
- Merge pull request #4 from vpodzime/master-python3 (david.l.cantrell)
- Don't blindly expect that everything is hashable (vpodzime)
- Replace filter() call with list comprehension (vpodzime)
- Fix an incorrect reference to "type". (clumens)
- Merge pull request #3 from clumens/master (clumens)
- Only run pylint against a python3 build of pyparted. (clumens)
- Fix the fdisk example up to pass pylint. (clumens)
- Catch exact exceptions in a couple places. (clumens)
- Ignore some pylint warnings. (clumens)
- Don't use string formatting in calls to log.whatever. (clumens)
- Fix a couple unused variable warnings. (clumens)
- Define things in the setUp methods, not in runTest. (clumens)
- Don't redefine reserved or already used function names. (clumens)
- Fix import errors turned up by pylint. (clumens)
- Convert to using pocketlint to run pylint. (clumens)
- Don't run "git clean -fdx" in the "make clean" target. (clumens)
- Add extension whitelist for _ped to pylint call (bcl)
- Merge pull request #2 from jflorian/master (david.l.cantrell)
- New - example to create a single bootable partition (john_florian)
- Remember to pass the arguments to the exception handler. (clumens)
- Put new _ped constants and functions into the parted module. (clumens)
- PyInt_FromLong doesn't exist in python3, so always use PyLong_FromLong.
  (clumens)
- Add new functions to extend exception handling. (clumens)
- Add function for resetting partition's number. (vpodzime)
- Fix localeC imports in a handful of src/parted/*.py files. (dcantrell)
- Disable false positive E0611 errors on src/parted/__init__.py (dcantrell)
- ped_unit_get_size() returns a long long, not just a long. (dcantrell)
- Adjust test cases to deal with run-time support. (dcantrell)
- Only import partition types that exist. (dcantrell)
- Note x.y.z version number. (dcantrell)
- Remove .travis.yml and tox.ini (dcantrell)
- Skip 'aix' diskType in FreshDiskTestCase (dcantrell)
- Handle running the test suite on armv7l hosts. (dcantrell)
- Fix getPartitionByPath for disks that are just plain files. (dlehman)
- ext2 may be smaller than the end of the device (#1095904) (bcl)
- support ppc64le in pyparted (hamzy)
- Fix up the PYTHONPATH for "make check" and "make test". (clumens)
- Remove geom tests that don't fail (bcl)
- Add btrfs and ext4 for filesystem type test (bcl)
- Revert "Add support for hfs_esp flag" (bcl)
- Teach pyparted that aarch64 support GPT partitions. (dcantrell)
- And disable the length one, too. (clumens)
- Disable one test case that fails on ppc64, for the moment. (clumens)
- Update pylint options for the latest version of that program. (clumens)
- Fix 'make bumpver' to handle multiple decimal points. (dcantrell)
- Add support for hfs_esp flag (dcantrell)
- Add support for esp flag (dcantrell)
- Add support for irst flag (dcantrell)
- Add support for msftdata flag (dcantrell)
- Don't assume tools will be in the user's $PATH. (clumens)
- Fix a lot of problems pylint caught. (clumens)
- Move from pychecker to pylint. (clumens)
- Have pychecker ignore some fale positives on missing class attrs. (clumens)
- setattr doesn't return any value. (clumens)
- Fix up pychecker errors reported by Jenkins. (dcantrell)
- Subject: [PATCH] pyparted: export ped_disk_new functionality (rnsastry)
- Correct boilerplate modifications. (dcantrell)
- Tests also require the parted binary. (g2p.code)
- Work around Travis's broken defaults. (g2p.code)
2015-08-27 14:59:05 -04:00
David Cantrell 39e1ef8ff9 Upgrade to pyparted-3.10.5 2015-05-07 15:07:18 -04:00
David Cantrell 46d6468726 Upgrade to pyparted-3.10.4 2015-05-05 08:20:00 -04:00
David Cantrell 3bd288d3b5 Upgrade to pyparted-3.10.3 2015-01-16 16:13:30 -05:00
David Cantrell 20d2c16e9a Upgrade to pyparted-3.10.2 2014-11-26 09:23:57 -05:00
David Cantrell c528d98de6 Upgrade to pyparted-3.10.1 2014-11-10 13:48:59 -05:00
David Cantrell 43eff19178 Upgrade to pyparted-3.10.0
- Add python3 subpackage (#985308)
2014-09-24 16:41:14 -04:00
David Cantrell b5ec7b71fe Upgrade to pyparted-3.9.5 2014-06-24 13:36:54 -04:00
David Cantrell 04fb2099c4 Support gpt and msdos disk labels on aarch64 (#1095904) 2014-06-24 11:27:18 -04:00
Chris Lumens 2808e18095 Upgrade to pyparted-3.9.3
- Revert "Add support for hfs_esp flag" (bcl)
- Add btrfs and ext4 for filesystem type test (bcl)
- Remove geom tests that don't fail (bcl)
2014-05-07 15:31:10 -04:00
David Cantrell 0a5f392ac9 Upgrade to pyparted-3.9.2
- Enable 'make check' in the spec file, patch for koji use
- Add armv7l to the list of acceptable arches for gpt and msdos disklabels
2013-09-09 14:02:47 -04:00
David Cantrell d762da2316 Fix 'make bumpver' to handle multiple decimal points. (dcantrell)
- Add support for hfs_esp flag (dcantrell)
- Add support for esp flag (bcl)
- Add support for irst flag (bcl)
- Add support for msftdata flag (bcl)
- Subject: [PATCH] pyparted: export ped_disk_new functionality (rnsastry)
- Convert Constraint to __ped.Constraint in partition.getMaxGeometry()
  (chris)
- Do not traceback when calling setlocale (#875354). (clumens)
- Enable 'make check' in the spec file, patch for koji use
- Add armv7l to the list of acceptable arches for gpt and msdos disklabels
2013-09-09 13:45:32 -04:00
David Cantrell 6427527f2b Revert to pyparted-3.9 plus critical patches due to issues with the 3.10
release which are actively being worked on.  The 3.10 release does not
  work with the installer right now.
2013-07-03 11:22:22 -04:00
David Cantrell d5c14f4a1e Upgrade to pyparted-3.10 2013-05-23 11:15:27 -04:00
David Cantrell 8bc18a6342 Upgrade to pyparted-3.9 2012-12-05 08:17:54 -05:00
David Cantrell b125d0431a Upgraded to pyparted-3.8 2011-06-29 15:46:10 -04:00
David Cantrell 8347e81b61 Upgraded to pyparted-3.7 2011-06-29 13:03:10 -04:00
David Cantrell 9a798e2b89 Upgraded to pyparted-3.6 2011-03-23 07:32:07 -10:00
David Cantrell 091d8f1f8f - Drop dependency on python-decorator module. (dcantrell)
- Differentiate the "Could not commit" messages. (jgranado)
- Import _ped.DiskLabelException into parted namespace (cjwatson)
- Return PED_EXCEPTION_NO for yes/no interactive exceptions. (dcantrell)
2011-01-17 13:16:36 -10:00
David Cantrell f5f30f3701 - Handle PED_EXCEPTION_WARNING with PED_EXCEPTION_YES_NO (#575749)
(dcantrell)
- Add support for the PARTITION_DIAG parted flag (#583628). (clumens)
- Restore locales even when an exception is thrown (#571940). (akozumpl)
2010-04-29 19:34:07 +00:00
Christopher Edward Lumens 1d2f5e2e82 - Upgrade to pyparted-3.3 (#583628). 2010-04-21 17:37:17 +00:00
Christopher Edward Lumens b4c543c1c8 - Upgrade to pyparted-3.2 (#571940). 2010-03-25 19:11:24 +00:00
David Cantrell ae8bf0eb07 - Upgrade to pyparted-3.1 (#567576). 2010-03-01 22:38:04 +00:00
David Cantrell 0ccfc555be - Upgrade to pyparted-3.0. 2010-01-12 22:34:43 +00:00
David Cantrell 2a313552ac - Exclude pyparted-2.4.tar.gz from source RPM (oops) 2009-12-19 22:49:30 +00:00
David Cantrell a4b71dfdec - Update release instructions. (dcantrell)
- Remove old cylinder alignment test cases for _ped. (dcantrell)
- Add tests for max partition length / start sector (hdegoede)
- Add _pedmodule and parted functions for max partition length / start
    sector (hdegoede)
- Remove align_to_cylinders function bindings (hdegoede)
- Add tests for disk flag methods (hdegoede)
- Add _pedmodule and parted functions for per disk flags (hdegoede)
- Every tuple member requires a comma after it. (dcantrell)
- Fill out a lot of simple _ped.Disk test cases. (dcantrell)
- Disable DeviceDestroyTestCase for now. (dcantrell)
- Add RequiresLabeledDevice to tests/_ped/baseclass.py. (dcantrell)
- Attempt at fixing _ped.Device.destroy(), no dice. (dcantrell)
- Fix UnitFormatCustomTestCase and UnitFormatTestCase. (dcantrell)
- Fix UnitFormatCustomByteTestCase and UnitFormatByteTestCase. (dcantrell)
- Add DeviceStrTestCase, disable DeviceDestroyTestCase. (dcantrell)
- Add DeviceDestroyTestCase and DeviceCacheRemoveTestCase. (dcantrell)
- Implemented ConstraintIsSolutionTestCase(). (dcantrell)
- Implement ConstraintSolveMaxTestCase(). (dcantrell)
- Implement ConstraintSolveNearestTestCase(). (dcantrell)
- Correct py_ped_file_system_probe_specific() for NULL returns. (dcantrell)
- Implement FileSystemProbeSpecificTestCase(). (dcantrell)
- Implement FileSystemProbeTestCase(). (dcantrell)
- Add RequiresFileSystem to tests/_ped/baseclass.py. (dcantrell)
- Add disk alignment test cases in test_ped.py. (dcantrell)
- Fix CHSGeometryStrTestCase(). (dcantrell)
- Fix ConstraintDuplicateTestCase...finally. (dcantrell)
- Put a deprecation warning in py_ped_constraint_duplicate(). (dcantrell)
- Note that we need parted from Fedora for pyparted. (dcantrell)
- Fix UnitGetSizeTestCase in _ped test cases for _ped.UNIT_PERCENT.
    (dcantrell)
- Add testcase for new _ped disk get_partition_alignment method (hdegoede)
2009-12-19 22:37:23 +00:00
David Cantrell b1c17eebb0 - Upgrade to pyparted-2.4: Use PedDevice length instead of DIY (#532023)
(hdegoede) Use sectorSize not physicalSectorSize for size calculations
    (hdegoede)
2009-11-07 02:13:05 +00:00
David Cantrell 9b8402c509 - Upgrade to pyparted-2.3: Remove root user requirement in _ped Add
testcases for new _ped device methods Add python wrapper for new
    PedDisk partition alignment info function Add support for new PedDisk
    parition alignment info function Add python wrappers for new PedDevice
    alignment info functions Add support for new PedDevice alignment info
    functions Fix a whole pile of test cases. Remove
    ped_disk_commit_to_dev() call from py_ped_disk_new_fresh() Fix error in
    Constraint __str__ method Make _ped_Device2PedDevice properly set /
    throw exceptions Fixup various errorhandling issues in pydisk.c Add
    missing _ped_Device2PedDevice() retval checks Use libparted commit()
    for parted.disk.Disk.commit() (hdegoede).
- BR parted-devel >= 1.9.0-20
2009-11-04 00:09:50 +00:00
David Cantrell a005b3660f - Upgrade to pyparted-2.2: Fixes PedDisk2_ped_Disk() and avoids losing disk
label data in the conversion process (#526999)
2009-10-03 02:57:04 +00:00
Christopher Edward Lumens 2dea6a327e New version. 2009-08-17 17:50:50 +00:00
David Cantrell e10901d0d3 - Upgrade to pyparted-2.1.1 2009-08-04 22:50:04 +00:00
David Cantrell 9fff8b1d68 - Upgrade to pyparted-2.1.0, requires parted-1.9.0-1 or higher 2009-07-17 00:55:14 +00:00
David Cantrell 0db2fe8a11 - Upgrade to pyparted-2.0.12 2009-04-15 03:18:53 +00:00
David Cantrell 0fd663d46d - Upgrade to pyparted-2.0.11 2009-04-13 19:52:59 +00:00
David Cantrell 25601b6bf6 - Upgrade to pyparted-2.0.10 Fix LVM problems around parted.Disk.commit()
(#491746)
2009-04-04 02:23:40 +00:00
David Cantrell ab58df1c75 - Upgrade to pyparted-2.0.9 2009-03-24 03:56:43 +00:00
David Cantrell fcbdfa62cc - Upgrade to pyparted-2.0.8 2009-03-21 03:32:51 +00:00
David Cantrell 2a2658fda1 - Upgrade to pyparted-2.0.7 2009-03-20 04:37:02 +00:00
David Cantrell 916b3d1cbe - Upgrade to pyparted-2.0.6 2009-03-12 21:15:26 +00:00
David Cantrell df84bef137 - Upgrade to pyparted-2.0.5 2009-03-06 01:08:32 +00:00
David Cantrell fd17eda776 - Upgrade to pyparted-2.0.4 2009-03-01 04:52:04 +00:00
David Cantrell 7317a4acd0 - Upgrade to pyparted-2.0.3 2009-02-28 00:57:27 +00:00
David Cantrell 1c4bcb79f9 - Upgrade to pyparted-2.0.2 2009-02-26 00:52:12 +00:00