brenekh / automated-aur-docker Goto Github PK
View Code? Open in Web Editor NEWAutomatic builds of the Docker images required for my Automated AUR system.
Automatic builds of the Docker images required for my Automated AUR system.
The current commit messages that show up on the AUR are either of the form Update to <pkg version>
, or they use the PR title, depending on whether or not the PKGBUILD got updated with a new version.
This is fine when the only thing that happened is a simple update to the next version (say, by the bot doing its thing). However, if the package has more complicated changes but still upgrades the version, the commit message on the AUR only reflects the version change and none of the other changes.
Since non-update changes will likely only increment pkgrel
, that can be used as a better indicator for whether or not the AUR commit title should be the PR title or a standard update message.
We could also include both in the AUR commit message by supplying multiple -m
arguments. The only issue with this approach is that update PRs will cause stutter in the AUR commit (i.e. Title-Update to version
Body-Update to version...
). Of course, by checking the PR title, we can eliminate this issue (if pr_title.contains("Update") and pr_title.contains(new_pkg_ver): don't include PR title
).
Relevant Arch Linux bug report
Even though the problem has been acknowledged by Arch maintainers, the fix is not yet in the official repos. However, this is affecting the ngrok
package because all of the sources are architecture dependent, which leads to no source
array.
Probably the best way to fix this would be to change the build
and test
Dockerfiles to download the updated version from somewhere or to put the updated script directly in this repo and embed it until the problem has been resolved.
All AUR commit msg's currently have the line Automatically committed from https://github.com/BrenekH/automated-aur.
in their expanded commit message. I would ideally like this to be a bit more specific in where the changes are being introduced.
To accomplish this, a link to the PR could be provided instead of just the GitHub repository. This should be fairly simple to accomplish by parsing the file at GITHUB_EVENT_PATH
for the URL or the relevant info to create the URL.
The new line would be as follows: Automatically committed from https://github.com/BrenekH/automated-aur/pull/<pr_number>.
Whether or not this is a good idea is up for debate, but I would prefer if it were clear that the AUR commits are by the Automated AUR system and not myself directly.
The only thing that should need to be changed is the Git config setup in publish-packages
to the following values:
Name: BrenekH Automated AUR
Email: [email protected]
Everything else, including SSH, should work as normal.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.