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

Generate RPM repo for releases and under dev builds #3605

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

HebaruSan
Copy link
Member

Motivation

Currently we provide .rpm packages, but somewhat ironically (given what CKAN is for), the user must download a new .rpm file and install it manually when a new version is released.

See #3197 for when we did this for APT/deb, and #2757 for when we started making RPMs.

Changes

Now a new ./build rpm-repo command creates a _build/rpm/repo folder containing the .rpm file (signed with our GPG key) and the additional metadata files needed to host an RPM repo. Just like we did with APT, the test builds (odd build number in version) go into a nightly repo, and the releases go into a stable repo.

I followed these instructions:

User instructions will be in doc/rpm-repo.md.

Using this (with some hacks to work around the servers and GPG keys being different), I was able to use the GNOME Software app to upgrade my 3-year-old Fedora VM from CKAN v1.26.3 to v1.31.0.

@HebaruSan HebaruSan added Enhancement New features or functionality Pull request Build Issues affecting the build system Linux Issues specific for Linux Package: rpm Issues affecting RPM packaging labels Jul 17, 2022
@HebaruSan
Copy link
Member Author

Let's see whether this works. We should get the nightly repo built after merge, and the stable repo after the next release.

@HebaruSan HebaruSan merged commit c92bad2 into KSP-CKAN:master Jul 21, 2022
@HebaruSan HebaruSan deleted the feature/rpm-repo branch July 21, 2022 17:26
@HebaruSan
Copy link
Member Author

HebaruSan commented Jul 21, 2022

image

createrepo-c definitely exists on Ubuntu and Debian. Need to see what's up with mono:latest...

Note to self:

docker run -it --entrypoint sh mono:latest

@HebaruSan
Copy link
Member Author

OK, I guess...

# apt-cache search createrepo
createrepo - tool to generate the metadata for a yum repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Issues affecting the build system Enhancement New features or functionality Linux Issues specific for Linux Package: rpm Issues affecting RPM packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant