Code Monkey home page Code Monkey logo

automated-aur's People

Contributors

brenekh avatar dependabot[bot] avatar github-actions[bot] avatar glebliutsko avatar

Watchers

 avatar

automated-aur's Issues

Link to release when auto-updating from GitHub

This reddit post brings up a good point. Updates from GitHub aren't vetted before building and pushing.

It isn't an automated solution, but if the Action that checked GitHub for updates also put a link to the release page, code could be more easily vetted to ensure that upstream isn't introducing any obvious, malicious code.

Add a header to the build results comment

I think it would be nice if the comment that gets posted after every build had a little header that resembled the following:

Build Results

If the PR looks good to merge, apply the lgtm label to the PR.

Manual tests don't run in a clean environment

Right now the manual tests (as defined by the .aurmanifest.json) run in the same environment that built the package in the first place. Any make-depends packages are still available when they aren't guaranteed to be on a fresh install.

A possible solution is to upload the .tar.zst file as an artifact that can be downloaded in a new docker step to have the manual test command run.

[Ngrok] Add custom license to installed package

Running namcap against the built Ngrok package produces an error referencing the fact that we aren't putting the license text in the package to be installed even though we declare that Ngrok has a custom license. example

This should be as simple as adding another file that gets copied to the licenses directory when building the package.

Sometimes difficult to spot where lines came from

When the bot comments the build results, its lines should different than the programs it is calling.

Prepending lines with [AutomatedAUR] should be enough to make it easy to figure out where a line comes from.

Another option is to use quote blocks or code blocks to show program output separately from the bot's output.

Quote

Code

Install non-repo dependencies

PR #69 is currently blocked because the python-av package is an AUR package and not available on the classic repositories.

Even though it's not the most automatic of ways to handle this, the .aurmanifest.json could have a list of AUR dependencies that Automated AUR could then install with a AUR manager like Yay or Paru(just to manage any further AUR deps).

The more automatic way I see right now is just to iterate through the dependency list and cross-check them with the Pacman database to see if they are available in the default repos. If they aren't then we would assume they were AUR packages and then install them with the AUR manager.

Add equinox update type

ngrok uses equinox.io to handle update distribution. In order to support auto updates for any app on Equinox the package updater will need the appID, which will be located somewhere in the binary.

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.