-
Notifications
You must be signed in to change notification settings - Fork 49
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
Suggestion: Add support for third-party PPA #74
Comments
Eventually, I added a step to my workflow, just before the apt-cache action :-)
|
This is an interesting case. It would be relatively simple to add and may be more intuitive. WDYT? |
Well, if the action provides for the extra parameter/commands, sure, it's easier on the user's side :-) I closed the issue because I though that adding the extra step in the workflow was the «expected» way to do it, considering it's pretty simple to do, once you figure it out, but we can re-open if you think the feature is worth adding. |
@fambon I started work on this and was curious what you thought about this. I could support just PPA or other repos in general; it is just more verbose. For example: apt-add-repository 'deb http://myserver/path/to/repo stable myrepo'
apt-add-repository 'http://myserver/path/to/repo myrepo'
apt-add-repository 'https://packages.medibuntu.org free non-free'
apt-add-repository http://extras.ubuntu.com/ubuntu
apt-add-repository ppa:user/repository
apt-add-repository ppa:user/distro/repository
apt-add-repository multiverse Would it make sense to support more than just PPA? |
seems to call for the general form 👍 |
Do you need support finishing this feature? Would love to use this 👍 |
Support is always welcome. 💯 Happy to look at any PRs. Make sure to PR from dev branch and add a corresponding test in https://github.com/awalsh128/cache-apt-pkgs-action-ci. We can then add the staging and prod tests as we graduate through those branches. Master is broken right now too, so that will need to get fixed before we pull from staging. |
It would be cool to be able to specify third-party PPAs as package sources in addition to the default sources.
Use case: installing (and caching) the chromium package (not the official snap one, some plain .deb)
This use-case requires:
<some ramdom ppa repo>
I guess that simply providing an additional "with" parameter
add-repository: <repository>
would be enoughand the action would then issue the relevant pre-flight commands cf above prior to the apt install
The text was updated successfully, but these errors were encountered: