Changelog

3.11.1 (2021-05-31)

Bugfixes

  • Fixed sync for the case when SRPMs are asked to be skipped. (backported from #8812) #8813
  • Allow static_context to be absent. (backported from #8814) #8815

3.11.0 (2021-05-18)

Features

  • Taught sync/copy/publish to recognize the new static_context attribute of modules. #8638

Bugfixes

  • Fixed syncing XZ-compressed modulemd metadata, e.g. CentOS Stream “AppStream” (backported from #8700) #8751
  • Fixed a bug where publication used the default metadata checksum type of SHA-256 rather than the one requested by the user. (backported from #8644) #8752
  • Reduce memory consumption when syncing extremely large repositories. (backported from #8467) #8753

3.10.0 (2021-03-25)

Features

  • Added the ALLOW_AUTOMATIC_UNSAFE_ADVISORY_CONFLICT_RESOLUTION configuration option.

    When set to True, overrides Pulp’s advisory-merge logic regarding ‘suspect’ advisory collisions at sync and upload time and simply processes the advisory. #8250

Bugfixes

  • Taught pulp_rpm how to handle remotes whose URLs do not end in ‘/’.

    Specifically, some mirrors (e.g. Amazon2) return remotes like this. #7995

  • Caught remaining places that needed to know that ‘sha’ is an alias for ‘sha1’.

    Very old versions of createrepo used ‘sha’ as a checksum-type for ‘sha-1’. The recent ALLOWED_CHECKSUMS work prevented repositories created this way from being synchronized or published. #8052

  • Fixed DistributionTree parsing for boolean fields which could cause a failure at sync or migration time. #8245

  • Taught advisory-conflict-resolution how to deal with another edge-case. #8249

  • Fixed regression in advisory-upload when pkglist included in advisory JSON. #8380

  • Fixed the case when no package checksum type cofiguration is provided for publications created outside, not by RPM plugin endpoints. E.g. in pulp-2to3-migration plugin. #8422


3.9.1 (2021-03-11)

Bugfixes

  • Fixed DistributionTree parsing for boolean fields which could cause a failure at sync or migration time. #8374

3.9.0 (2021-02-04)

Features

  • Make creation of sqlite metadata at Publication time an option, and default to false. #7852
  • Check allowed checksum types when publish repository. #7855

Bugfixes

  • Fixed content serialization so it displays content checksums. #8002
  • Fixing OpenAPI schema for on demand Distribution Trees #8050
  • Fix a mistake in RPM copy that could lead to modules being copied when they should not be. #8091
  • Fixed a mistake in dependency calculation code which could result in incorrect copy results and errors. #8114
  • Fixed a bug that occurs when publishing advisories without an “updated” date set, which includes SUSE advisories. #8162

Improved Documentation

  • Fixed a mistake in the RPM copy workflow documentation. #7978
  • Fixed a mistake in the copy API documentation - dependency solving was described as defaulting to OFF when in fact it defaults to ON. #8009

Misc


3.8.0 (2020-11-12)

Features

  • Added new fields allowing users to customize gpgcheck signature options in a publication. #6926

Bugfixes

  • Fixed re-syncing of custom repository metadata when it was the only change in a repository. #7030
  • User should not be able to remove distribution trees, custom repository metadata and comps if they are used in repository. #7431
  • Raise ValidationError when other type than JSON is provided during Advisory upload. #7468
  • Added handling of HTTP 403 Forbidden during DistributionTree detection. #7691
  • Fixed the case when downloads were happening outside of the task working directory during sync. #7698

Improved Documentation

  • Fixed broken documentation links. #6981
  • Added documentation clarification around how checksum_types work during the Publication. #7203
  • Added examples how to copy all content. #7494
  • Clarified the advanced-copy section. #7705

3.7.0 (2020-09-23)

Bugfixes

  • Remove distribution tree subrepositories when a distribution tree is removed. #7440
  • Avoid intensive queries taking place during the handling of the “copy” API web request. #7483
  • Fixed “Value too long” error for the distribution tree sync. #7498

3.6.3 (2020-11-19)

Bugfixes

  • Fixed duplicate key error after incomplete sync task. #7844

3.6.2 (2020-09-04)

Bugfixes

  • Fixed a bug where dependency solving did not work correctly with packages that depend on files, e.g. depending on /usr/bin/bash. #7202
  • Fixed crashes while copying SRPMs with depsolving enabled. #7290
  • Fix sync using proxy server. #7321
  • Fix sync from mirrorlist with comments (like fedora’s mirrorlist). #7354
  • Copying advisories/errata no longer fails if one of the packages is not present in the repository. #7369
  • Fixing OpenAPI schema for Variant #7394

3.6.1 (2020-08-20)

Bugfixes

  • Updated Rest API docs to contain only rpm endpoints. #7332
  • Fix sync from local (on-disk) repository. #7342

Improved Documentation

  • Fix copy script example typos. #7176

3.6.0 (2020-08-17)

Features

  • Taught advisory-merge to proactively avoid package-collection-name collisions. #5740
  • Added the ability for users to import and export distribution trees. #6739
  • Added import/export support for remaining advisory-related entities. #6815
  • Allow a Remote to be associated with a Repository and automatically use it when syncing the Repository. #7159
  • Improved publishing performance by around 40%. #7289

Bugfixes

  • Prevented advisory-merge from ‘reusing’ UpdateCollections from the merging advisories. #7291

3.5.1 (2020-08-11)

Bugfixes

  • Handle optimize=True and mirror=True on sync correctly. #7228
  • Fix copy with depsolving for packageenvironments. #7248
  • Taught copy that empty-content means ‘copy nothing’. #7284

3.5.0 (2020-07-24)

Features

  • Add a retention policy feature - when specified, the latest N versions of each package will be kept and older versions will be purged. #5367
  • Add support for comparing Packages by EVR (epoch, version, release). #5402
  • Added support for syncing from a mirror list feed #6225
  • Comps types (PackageCategory, PackageEnvironment, PackageGroup) can copy its children. #6316
  • Added support for syncing Suse enterprise repositories with authentication token. #6729

Bugfixes

  • Fixed the sync issue for repositories with the same metadata files but different filenames. E.g. productid in RHEL8 BaseOS and Appstream. #5847
  • Fixed an issue with an incorrect copy of a distribution tree. #7046
  • Fixed a repository deletion when a distribution tree is a part of it. #7096
  • Corrected several viewset-filters to be django-filter-2.3.0-compliant. #7103
  • Allow only one distribution tree in a repo version at a time. #7115
  • API is able to show modular data on advisory collection. #7116

Deprecations and Removals

  • Remove PackageGroup, PackageCategory and PackageEnvironment relations to packages and to each other. #6410
  • Removed the query parameter relative_path from the API which was used when uploading an advisory #6554

3.4.2 (2020-07-16)

Bugfixes

  • Fixed CentOS 8 kickstart repository publications. #6568
  • Updating API to not return publications that aren’t complete. #6974

Improved Documentation

  • Change fixtures URL in the docs scripts. #6656

Misc


3.4.1 (2020-06-03)

Bugfixes

  • Including requirements.txt on MANIFEST.in #6892

3.4.0 (2020-06-01)

Features

  • Distributions now serves a config.repo, and when signing is enabled also a public.key, in the base_path. #5356

Bugfixes

  • Fixed the duplicated advisory case when only auxiliary fields were updated but not any timestamp or version. #6604
  • Fixed dependency solving issue where not all RPM dependencies were coped. #6820
  • Make ‘last_sync_revision_number’ nullable in all migrations. #6861
  • Fixed a bug where the behavior of RPM advanced copy with dependency solving differed depending on the order of the source-destination repository pairs provided by the user. #6868

Improved Documentation

  • Added documentation for the RPM copy API. #6332
  • Updated the required roles names #6759

3.3.2 (2020-05-18)

Bugfixes

  • Fix edge case where specifying ‘dest_base_version’ for an RPM copy did not work properly in all circumstances. #6693
  • Add a new migration to ensure that ‘last_sync_revision_number’ is nullable. #6743

3.3.1 (2020-05-07)

Bugfixes

  • Taught copy to always include specified packages. #6519
  • Fixed the upgrade issue, revision number can be empty now. #6662

Misc


3.3.0 (2020-04-21)

Features

  • Add dependency solving for modules and module-defaults. #4162
  • Add dependency solving for RPMs. #4761
  • Add incremental update – copying an advisory also copies the RPMs that it references. #4768
  • Enable users to publish a signed Yum repository #4812
  • Add a criteria parameter to the copy api that can be used to filter content to by copied. #6009
  • Added REST API for copying content between repositories. #6018
  • Add a content parameter to the copy api that accepts a list of hrefs to be copied. #6019
  • Functional test using bindings. #6061
  • Added the field ‘sha256’ to the public API and enabled users to filter content by this field #6187
  • Added a config param to copy api which maps multiple sources to destinations. #6268
  • Default publish type is alphabetical directory structure under ‘Packages’ folder. #4445
  • Enabled checksum selection when publishing metadata #4458
  • Advisory version is considered at conflict resolution time. #5739
  • Added support for opensuse advisories. #5829
  • Optimize sync to only happen when there have been changes. #6055
  • Store the checksum type (sum_type) for advisory packages as an integer, but continue displaying it to the user as a string. This brings the internal representation closer to createrepo_c which uses integers. #6442
  • Add support for import/export processing #6473

Bugfixes

  • Fix sync for repositories with modular content. #6229
  • Properly compare modular content between the versions. #6303
  • Deserialize treeinfo files in a scpecific order #6322
  • Fixed the repo revision comparison and sync optimization for sub-repos #6367
  • Fixed repository metadata that was pointing to wrong file locations. #6399
  • Fixed modular advisory publication. #6440
  • Fixed advisory publication, missing auxiliary fields were added. #6441
  • Fixed publishing of module repodata. #6530

Improved Documentation

  • Documented bindings installation for a dev environment #6395

3.2.0 (2020-03-02)

Features

  • Add mirror mode for sync endpoint. #5738
  • Add some additional not equal filters. #5854
  • SRPM can be skipped during the sync. #6033

Bugfixes

  • Fix absolute path error when parsing packages stored in S3 #5904
  • Fix advisory conflict resolution to check current version first. #5924
  • Handling float timestamp on treeinfo file #5989
  • Raise error when content has overlapping relative_path on the same version #6152
  • Fixed an issue causing module and module-default metadata to be stored incorrectly, and added a data migration to fix existing installations. #6191
  • Fix REST API for Modulemd “Package” list - instead of returning PKs, return Package HREFs as intended. #6196
  • Replace RepositorySyncURL with RpmRepositorySyncURL #6204
  • Modulemd dependencies are now stored corectly in DB. #6214

Improved Documentation

  • Remove the pulp_use_system_wide_pkgs installer variable from the docs. We now set it in the pulp_rpm_prerequisites role. Users can safely leave it in their installer variables for the foreseeable future though. #5992

Misc


3.1.0 (2020-02-03)

Features

  • Advisory now support reboot_suggested info. #5737
  • Skip unsupported repodata. #6034

Misc


3.0.0 (2019-12-12)

Bugfixes

  • Providing a descriptive error message for RPM repos with invalid metadata #4424
  • Improve memory performance on syncing. #5688
  • Improve memory performance on publishing. #5689
  • Resolve the issue which disallowed users to publish uploaded content #5699
  • Provide a descriptive error for invalid treeinfo files #5709
  • Properly handling syncing when there is no treeinfo file #5732
  • Fix comps.xml publish: missing group attributes desc_by_lang, name_by_lang, and default now appear properly. #5741
  • Fix error when adding/removing modules to/from a repository. #5746
  • Splitting content between repo and sub-repo #5761
  • Allow empty string for optional fields for comps.xml content. #5856
  • Adds fields from the inherited serializer to comps.xml content types’ displayed fields #5857
  • Assuring uniqueness on publishing. #5861

Improved Documentation

  • Document that sync must complete before kicking off a publish #5006
  • Add requirements to docs. #5228
  • Update installation docs to use system-wide-packages. #5564
  • Remove one shot uploader references and info. #5747
  • Add ‘Rest API’ to menu. #5749
  • Refactor workflow commands to small scripts. #5750
  • Rename ‘Errata’ to ‘Advisory’ for consistency. #5751
  • Update docs to include modularity and comps support to features. Include core-provided browseable distributions in features. #5752
  • Update docs to include Tech Preview section #5753
  • Update Quickstart page #5754
  • Rearrange installation page and add missing information #5755
  • Rearrange workflows section to have individual menu items for each content type. #5758
  • Add content type descriptions and their specifics. #5759
  • Document python build dependencies that must be installed on CentOS / RHEL. #5841

3.0.0rc1 (2019-11-19)

Features

  • Support for advisory upload. #4012

  • Ensure there are no advisories with the same id in a repo version.

    In case where there are two advisories with the same id, either one of them is chosen, or they are merged, or there is an error raised if there is no way to resolve advisory conflict. #4295

  • No duplicated content can be present in a repository version. #4898

  • Added sync and publish support for comps.xml types. #5495

  • Add/remove RPMs when a repo’s modulemd gets added/removed #5526

  • Make repositories “typed”. Repositories now live at a detail endpoint. Sync is performed by POSTing to {repo_href}/sync/ remote={remote_href}. #5625

  • Adding sub_repo field to RpmRepository #5627

Bugfixes

  • Fix publication for sub repos #5630
  • Fix ruby bindings for UpdateRecord. #5650
  • Fix sync of a repo which contains modules and advisories. #5652
  • Fix 404 when repo remote URL is without trailing slash. #5655
  • Check that sections exist before parsing them. #5669
  • Stopping to save JSONFields as String. #5671
  • Handling missing trailing slashes on kickstart tree fetching #5677
  • Not require ref_id and title for UpdateReference #5692
  • Refactor treeinfo handling and fix publication for kickstarts #5729

Deprecations and Removals

  • Sync is no longer available at the {remote_href}/sync/ repository={repo_href} endpoint. Instead, use POST {repo_href}/sync/ remote={remote_href}.

    Creating / listing / editing / deleting RPM repositories is now performed on /pulp/api/v3/rpm/rpm/ instead of /pulp/api/v3/repositories/. Only RPM content can be present in a RPM repository, and only a RPM repository can hold RPM content. #5625

  • Remove plugin managed repos #5627

  • Rename endpoints for content to be in plural form consistently

    Endpoints removed -> added:

    /pulp/api/v3/content/rpm/modulemd/ -> /pulp/api/v3/content/rpm/modulemds/ /pulp/api/v3/content/rpm/packagecategory/ -> /pulp/api/v3/content/rpm/packagecategories/ /pulp/api/v3/content/rpm/packageenvironment/ -> /pulp/api/v3/content/rpm/packageenvironments/ /pulp/api/v3/content/rpm/packagegroup/ -> /pulp/api/v3/content/rpm/packagegroups/ #5679

  • Rename module-defaults content endpoint for consistency

    Endpoints removed -> added:

    /pulp/api/v3/content/rpm/modulemd-defaults/ -> /pulp/api/v3/content/rpm/modulemd_defaults/ #5680

  • Remove /pulp/api/v3/rpm/copy/ endpoint

    Removed the /pulp/api/v3/rpm/copy/ endpoint. To copy all content now with typed repos, use the modify endpoint on a repository. #5681


3.0.0b7 (2019-10-16)

Features

  • Convert all the TextFields which store JSON content into Django JSONFields. #5215

Improved Documentation

  • Change the prefix of Pulp services from pulp-* to pulpcore-* #4554
  • Docs update to use pulp_use_system_wide_pkgs. #5488

Deprecations and Removals

  • Change _id, _created, _last_updated, _href to pulp_id, pulp_created, pulp_last_updated, pulp_href #5457
  • Removing repository from Addon/Variant serializers. #5516
  • Moved endpoints for distribution trees and repo metadata files to /pulp/api/v3/content/rpm/distribution_trees/ and /pulp/api/v3/content/rpm/repo_metadata_files/ respectively. #5535
  • Remove “_” from _versions_href, _latest_version_href #5548

3.0.0b6 (2019-09-30)

Features

  • Add upload functionality to the rpm contents endpoints. #5453
  • Synchronize and publish modular content. #5493

Bugfixes

  • Add url prefix to plugin custom urls. #5330

Deprecations and Removals

  • Removing pulp/api/v3/rpm/upload/ #5453

3.0.0b5 (2019-09-17)

Features

  • Setting code on ProgressBar. #5184
  • Sync and Publish kickstart trees. #5206
  • Sync and Publish custom/unknown repository metadata. #5432

Bugfixes

  • Use the field relative_path instead of filename in the API calls while creating a content from an artifact #4987
  • Fixing sync task failure. #5285

3.0.0b4 (2019-07-03)

Features

  • Add total counts to the sync progress report. #4503
  • Greatly speed up publishing of a repository. #4591
  • Add ability to copy content between repositories, content type(s) can be specified. #4716
  • Renamed Errata/Update content to Advisory to better match the terminology of the RPM/DNF ecosystem. #4902
  • Python bindings are now published nightly and with each release as pulp-rpm-client. Also Ruby bindings are published similarly to rubygems.org as pulp_rpm_client. #4960
  • Override the Remote’s serializer to allow policy=’on_demand’ and policy=’streamed’. #5065

Bugfixes

  • Require relative_path at the content unit creation time. #4835
  • Fix migraitons failure by making models compatible with MariaDB. #4909
  • Fix unique index length issue for MariaDB. #4916

Improved Documentation

  • Switch to using towncrier for better release notes. #4875
  • Add a docs page about the Python and Ruby bindings. #4960

3.0.0b3

Comprehensive list of changes and bugfixes for beta 3.

3.0.0b2

  • Add support for on_demand sync
  • Add one-shot upload
  • Performance improvements and bug fixes
  • Compatibility with pulpcore-plugin-0.1.0rc1

Comprehensive list of changes and bugfixes for beta 2.

3.0.0b1

  • Add support for basic sync/copy/publish of RPM packages and Errata content.

    Check our documentation for the basic workflows.