-
Notifications
You must be signed in to change notification settings - Fork 6
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
rpm creation enhancements #44
Comments
Also removing |
I think we should skip number 2, we could but don't need to build an RPM and push to GitHub release. We want that RPM to live with the other CSM-RPMs, that repo is public. |
Translating number 1 to "we should build within the spec file." Number 3 means marking generated files as |
This removes the `.version` files and uses git-tags. `canu` now versions itself within `setup.py` based on `git describe --tags`. This also builds canu inside of the RPM `specfile` using `pyinstaller` and no longer uses a special `pyinstaller` image. The spec file will create a `canu` user. All of the `requirements` files were converted into `setup.py`, this tidies up the repository by using less files. All references to the `.version` files were replaced by leveraging the `pkg_resources` module to fetch the version from the module `PKG_INFO`. This also breaks apart the GitHub actions for lint, docs, and tests into their own workflows allowing for more parallelization.
This removes the `.version` files and uses git-tags. `canu` now versions itself within `setup.py` based on `git describe --tags`. This also builds canu inside of the RPM `specfile` using `pyinstaller` and no longer uses a special `pyinstaller` image. The spec file will create a `canu` user. All of the `requirements` files were converted into `setup.py`, this tidies up the repository by using less files. All references to the `.version` files were replaced by leveraging the `pkg_resources` module to fetch the version from the module `PKG_INFO`. This also breaks apart the GitHub actions for lint, docs, and tests into their own workflows allowing for more parallelization.
This removes the `.version` files and uses git-tags. `canu` now versions itself within `setup.py` based on `git describe --tags`. This also builds canu inside of the RPM `specfile` using `pyinstaller` and no longer uses a special `pyinstaller` image. The spec file will create a `canu` user. All of the `requirements` files were converted into `setup.py`, this tidies up the repository by using less files. All references to the `.version` files were replaced by leveraging the `pkg_resources` module to fetch the version from the module `PKG_INFO`. This also breaks apart the GitHub actions for lint, docs, and tests into their own workflows allowing for more parallelization.
This removes the `.version` files and uses git-tags. `canu` now versions itself within `setup.py` based on `git describe --tags`. This also builds canu inside of the RPM `specfile` using `pyinstaller` and no longer uses a special `pyinstaller` image. The spec file will create a `canu` user. All of the `requirements` files were converted into `setup.py`, this tidies up the repository by using less files. All references to the `.version` files were replaced by leveraging the `pkg_resources` module to fetch the version from the module `PKG_INFO`. This also breaks apart the GitHub actions for lint, docs, and tests into their own workflows allowing for more parallelization. Lastly this adds an automated, weekly dependabot scan for making PRs to update dependencies.
Stable builds of `canu` are reporting a version string with `dev1` appended to the end, this implies the build was done with a dirty repo (uncommitted changes). This occurs because the CSM metadata we add to the spec file causes the repo to become dirty. This change tells Git to assume that the `.spec` file is clean, thus preventing git from identifying the repo as dirty during the build.
Stable Docker images (ones built from git-tags, previously from `main`) were failing due to the Zypper GPG checks. The GPG checks do not have the public key from our repository necessary for accepting signed RPMs. This bypasses those checks, allowing stable Docker builds to work.
This removes the `.version` files and uses git-tags. `canu` now versions itself within `setup.py` based on `git describe --tags`. This also builds canu inside of the RPM `specfile` using `pyinstaller` and no longer uses a special `pyinstaller` image. The spec file will create a `canu` user. All of the `requirements` files were converted into `setup.py`, this tidies up the repository by using less files. All references to the `.version` files were replaced by leveraging the `pkg_resources` module to fetch the version from the module `PKG_INFO`. This also breaks apart the GitHub actions for lint, docs, and tests into their own workflows allowing for more parallelization. Lastly this adds an automated, weekly dependabot scan for making PRs to update dependencies.
Stable builds of `canu` are reporting a version string with `dev1` appended to the end, this implies the build was done with a dirty repo (uncommitted changes). This occurs because the CSM metadata we add to the spec file causes the repo to become dirty. This change tells Git to assume that the `.spec` file is clean, thus preventing git from identifying the repo as dirty during the build.
Stable Docker images (ones built from git-tags, previously from `main`) were failing due to the Zypper GPG checks. The GPG checks do not have the public key from our repository necessary for accepting signed RPMs. This bypasses those checks, allowing stable Docker builds to work.
The rpm built from this repo should:
The text was updated successfully, but these errors were encountered: