Skip to content

Conversation

@rohanpm
Copy link
Contributor

@rohanpm rohanpm commented Jun 4, 2021

Integrate support for get_ftp_paths API into errata backend.

This can now result in the 'dest' for one RPM push item having
a mixture of rhsm-pulp repo IDs and FTP paths. This will allow
alt-src pushes to work on top of errata backend.

Other tweaks include:

  • drop the 'target' argument to errata backend (which was not used).
    It seems we ought not to need this.

    For now the design now is that the source will give you back all
    kinds of destinations (and if you only want to deal with certain
    types, e.g. you don't want the ftp paths, you need to filter them
    yourself). It's possible some optional filtering arguments will be
    added here later.

  • separate the low-level code which calls ET methods into a new
    errata_client module

Note: the backend remains marked as a technical preview with
no stability guarantee.

@rohanpm rohanpm force-pushed the rohan/errata-ftp-paths branch from 48f7a8b to 766c423 Compare June 4, 2021 05:08
@rohanpm rohanpm marked this pull request as ready for review June 4, 2021 05:17
@rohanpm rohanpm force-pushed the rohan/set-module-nsvca branch from 82a2a1f to 758b74a Compare June 9, 2021 05:57
@rohanpm rohanpm changed the base branch from rohan/set-module-nsvca to master June 9, 2021 06:05
Integrate support for get_ftp_paths API into errata backend.

This can now result in the 'dest' for one RPM push item having
a mixture of rhsm-pulp repo IDs and FTP paths. This will allow
alt-src pushes to work on top of errata backend.

Other tweaks include:

- drop the 'target' argument to errata backend (which was not used).
  It seems we ought not to need this.

  For now the design now is that the source will give you back all
  kinds of destinations (and if you only want to deal with certain
  types, e.g. you don't want the ftp paths, you need to filter them
  yourself). It's possible some optional filtering arguments will be
  added here later.

- separate the low-level code which calls ET methods into a new
  errata_client module

Note: the backend remains marked as a technical preview with
no stability guarantee.
@rohanpm rohanpm force-pushed the rohan/errata-ftp-paths branch from 766c423 to 552c53e Compare June 9, 2021 06:06
@rohanpm rohanpm merged commit 38b2e87 into master Jun 9, 2021
@rohanpm rohanpm deleted the rohan/errata-ftp-paths branch June 9, 2021 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants