GithubHelp home page GithubHelp logo

brenekh / automated-aur-docker Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 531 KB

Automatic builds of the Docker images required for my Automated AUR system.

Dockerfile 6.55% Python 36.09% Shell 4.28% TypeScript 50.36% JavaScript 2.70%

automated-aur-docker's People

Contributors

brenekh avatar dependabot[bot] avatar

Watchers

 avatar

automated-aur-docker's Issues

AUR commit messages are not always relevant to the changes they introduce

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).

namcap doesn't like PKGBUILDs with no source array

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.

Link to AutomatedAUR PR in AUR commit message

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>.

Use a bot user for committing to the AUR

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.