Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move internal OpenPGP parser into a subdirectory #2704

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

pmatilai
Copy link
Member

@pmatilai pmatilai commented Oct 6, 2023

This will let us split it out of the main rpm repository in the next steps.

Ie, first we declared it's trash, and now we're swiping it under the carpet.

@pmatilai pmatilai added cleanup crypto Signatures, keys, hashes and their verification labels Oct 6, 2023
@pmatilai
Copy link
Member Author

pmatilai commented Oct 6, 2023

To elaborate, the idea here is to split the new rpmpgp subdirectory into a separate repository that can be pulled into the build for the "internal pgp" support, but to eliminate it from the rpm repo and release tarballs. This resolves #2414 as far as I'm concerned.

@mlschroe , you indicated interest in maintaining the parser in #2414 - do you still think that way, and does this split look like you could work with? @nwalfield - just fyi.

@nwalfield
Copy link
Contributor

If we add new functions to the API, as suggested recently in this issue, then the internal implementation will need to be updated. This will require a versioning scheme for the API, I think, which would complicate maintenance. Alternatively, we say we don't support the internal API at all. What do you think?

@pmatilai
Copy link
Member Author

pmatilai commented Oct 6, 2023

Having more modules does indeed complicate things, but then we're already in a situation where we need to coordinate any API additions between rpm and rpm-sequoia. It just hasn't really come up yet because ATM we're just bumping the required rpm-sequoia version as we go, but at some point we'll probably need to allow for more freedom (for older versions and such).

I basically see this as another step on our way to drop support for the internal parser entirely, I have a hard time seeing the development on it "taking off" due to the split. And if I'm proven wrong on that, then I guess it shouldn't have trouble keeping up with the new APIs either.

@pmatilai pmatilai added the DONT DO NOT merge, for whatever reason label Oct 11, 2023
@pmatilai pmatilai removed the DONT DO NOT merge, for whatever reason label Oct 12, 2023
This will let us split it out of the main rpm repository with minimal
effects to the outside. Make sure the name implies its status too.

Ie, first we declared it's trash, and now we're swiping it under the carpet.
@pmatilai pmatilai force-pushed the pgpdir branch 2 times, most recently from 77c7139 to c289eba Compare October 12, 2023 08:06
@pmatilai
Copy link
Member Author

Tweaked a little bit to make the legacy status more prominent in the naming.
Just another small step towards sawing this unwanted limb off 😄

@pmatilai pmatilai merged commit d2be477 into rpm-software-management:master Oct 12, 2023
1 check passed
@pmatilai pmatilai deleted the pgpdir branch October 12, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup crypto Signatures, keys, hashes and their verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants