[aur-general] AUR package with prebuilt packages
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi folks, As kodi-devel-bin take almost forever to build I've created github https://github.com/asm0dey/arch-kodi-devel-builder/ with pre-built packages. Now I want to create AUR packages which will be able to install these binary packages. As you can see I have some knowledge on how to maintain packages: https://aur.archlinux.org/packages/?SeB=m&K=asm0dey but in this concrete situation I have no any idea on how to create packages. Of course I can't just use these packages in source field because they have their own dependencies. Also I think I can't just install them inside build or package phase… So question is: is there any recommended way to do what I want? Paul -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEErP6J0y7ivdLXSlrfhwddvf7TUbUFAl1RpEMACgkQhwddvf7T UbV8/A//Sl7FQrZEpCCmXsV9rvrUjZ63FQ949AHSdS6cYMN3ijNYNCLPryGGnHIY gH1EwV7u8RSnrEmWXaWF/Xz/QzUpkYO4Eg9CjkibvuU06N1F5YeI43rKeuYu+QJQ vykfdCaXfnCbfe+YzbNCUUYb5D1M+uVRPh3kkUzuICsUdBbjk2Ez4xGKdTmAHqo2 D3gZQPbb/+ajPe/fBjzRvsune3j7g8de/7/MIM8BjGmu6JnScn3zg4dxauRsSUXP wrVoUUB1tYJwGLpAfszwKySgXmz16+ZINaCrj45sn89zw4MMjEb3MuLxeP8JrqS6 qSzHg47PRS+26cWhN2jpnY939F+rH7kj445NsiPnOLGllUk1vJj29YlN8zCHQCn3 BAqzQdxMgEsi7v6mlcsFn9FG9Ugol/LL7tdgq5KtbAU9/3JDzu5EywwTYIx6Rn3U gllXfNd0hih/tESM7qbSSE1R1+hxq5uZ8EP0+hc1ZsY6vhe76DPlOQjUnJwmTFfO 4a5ahUbkzAfW4hHR8NQ6R18u68LK4UoLfI6PlYW2aKg4Vh2y7YfWxxGAoBMEjca1 /kJApJde7eJxwaSJZAQ9KKwmIHh0qBt9cLaKHRRqKKb3iWqUVRTNmhI50+9mo7y4 LyyIJENhOFw5wWyqSoefVJhfvZiBlHq5X2AMmZIGCR5e6kXV79c= =nUG3 -----END PGP SIGNATURE-----
Hi folks,
As kodi-devel-bin take almost forever to build I've created github https://github.com/asm0dey/arch-kodi-devel-builder/ with pre-built packages.
Now I want to create AUR packages which will be able to install these binary packages.
No.
As you can see I have some knowledge on how to maintain packages: https://aur.archlinux.org/packages/?SeB=m&K=asm0dey but in this concrete situation I have no any idea on how to create packages. Of course I can't just use these packages in source field because they have their own dependencies. Also I think I can't just install them inside build or package phase…
So question is: is there any recommended way to do what I want?
If you replace the word "recommended" with the word "allowed", then the answer is "you are allowed to advertise your repository on https://wiki.archlinux.org/index.php/Unofficial_user_repositories and on the package details for the AUR package". In fact, you're actually encouraged to do so. That's why we have the wiki listing in the first place. :) -- Eli Schwartz Bug Wrangler and Trusted User
On Mon, 12 Aug 2019 14:03:55 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
Hi folks,
As kodi-devel-bin take almost forever to build I've created github https://github.com/asm0dey/arch-kodi-devel-builder/ with pre-built packages.
Now I want to create AUR packages which will be able to install these binary packages.
No.
Basically it's why I'm writing here
As you can see I have some knowledge on how to maintain packages: https://aur.archlinux.org/packages/?SeB=m&K=asm0dey but in this concrete situation I have no any idea on how to create packages. Of course I can't just use these packages in source field because they have their own dependencies. Also I think I can't just install them inside build or package phase…
So question is: is there any recommended way to do what I want?
If you replace the word "recommended" with the word "allowed", then the answer is "you are allowed to advertise your repository on https://wiki.archlinux.org/index.php/Unofficial_user_repositories and on the package details for the AUR package".
In fact, you're actually encouraged to do so. That's why we have the wiki listing in the first place. :)
But truth is I don't have repository (cause repository should have some predefined layout and so on). And I'm not sure if it's possible to create something repository-like on github. And I currently I have no idea on where should I have to host repository for it to be more or less reliable. Paul
On 8/12/19 2:12 PM, Paul Finkelshteyn wrote:
On Mon, 12 Aug 2019 14:03:55 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
Hi folks,
As kodi-devel-bin take almost forever to build I've created github https://github.com/asm0dey/arch-kodi-devel-builder/ with pre-built packages.
Now I want to create AUR packages which will be able to install these binary packages.
No.
Basically it's why I'm writing here
And thank you for asking first! :)
As you can see I have some knowledge on how to maintain packages: https://aur.archlinux.org/packages/?SeB=m&K=asm0dey but in this concrete situation I have no any idea on how to create packages. Of course I can't just use these packages in source field because they have their own dependencies. Also I think I can't just install them inside build or package phase…
So question is: is there any recommended way to do what I want?
If you replace the word "recommended" with the word "allowed", then the answer is "you are allowed to advertise your repository on https://wiki.archlinux.org/index.php/Unofficial_user_repositories and on the package details for the AUR package".
In fact, you're actually encouraged to do so. That's why we have the wiki listing in the first place. :)
But truth is I don't have repository (cause repository should have some predefined layout and so on). And I'm not sure if it's possible to create something repository-like on github. And I currently I have no idea on where should I have to host repository for it to be more or less reliable.
I think you can probably use github pages for this. Github already allows release assets, and there are definitely people putting release assets in github pages, so I don't think this is against the terms of service, and github pages lets you provide a simple html index and file structure however you like. Just make sure to rebuild and force overwrite the gh-pages branch rather than appending new commits, to make sure the size doesn't get too big due to bloaty binary blobs in git history. -- Eli Schwartz Bug Wrangler and Trusted User
On Mon, 12 Aug 2019 14:23:51 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
On 8/12/19 2:12 PM, Paul Finkelshteyn wrote:
On Mon, 12 Aug 2019 14:03:55 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
Hi folks,
As kodi-devel-bin take almost forever to build I've created github https://github.com/asm0dey/arch-kodi-devel-builder/ with pre-built packages.
Now I want to create AUR packages which will be able to install these binary packages.
No.
Basically it's why I'm writing here
And thank you for asking first! :)
As you can see I have some knowledge on how to maintain packages: https://aur.archlinux.org/packages/?SeB=m&K=asm0dey but in this concrete situation I have no any idea on how to create packages. Of course I can't just use these packages in source field because they have their own dependencies. Also I think I can't just install them inside build or package phase…
So question is: is there any recommended way to do what I want?
If you replace the word "recommended" with the word "allowed", then the answer is "you are allowed to advertise your repository on https://wiki.archlinux.org/index.php/Unofficial_user_repositories and on the package details for the AUR package".
In fact, you're actually encouraged to do so. That's why we have the wiki listing in the first place. :)
But truth is I don't have repository (cause repository should have some predefined layout and so on). And I'm not sure if it's possible to create something repository-like on github. And I currently I have no idea on where should I have to host repository for it to be more or less reliable.
I think you can probably use github pages for this. Github already allows release assets, and there are definitely people putting release assets in github pages, so I don't think this is against the terms of service, and github pages lets you provide a simple html index and file structure however you like.
Just make sure to rebuild and force overwrite the gh-pages branch rather than appending new commits, to make sure the size doesn't get too big due to bloaty binary blobs in git history.
Sounds awful cause it will bloat repo size to insane sizes (built packages are tens of MB) and it's devel version so it may obtain updates several times a week… OK it looks like there is no sane way to do what I want so maybe I should just leave it as repo-for-myself. Paul
On Mon, 12 Aug 2019 21:33:52 +0300 Paul Finkelshteyn <pavel.finkelshtein@gmail.com> wrote:
On Mon, 12 Aug 2019 14:23:51 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
On 8/12/19 2:12 PM, Paul Finkelshteyn wrote:
On Mon, 12 Aug 2019 14:03:55 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
Hi folks,
As kodi-devel-bin take almost forever to build I've created github https://github.com/asm0dey/arch-kodi-devel-builder/ with pre-built packages.
Now I want to create AUR packages which will be able to install these binary packages.
No.
Basically it's why I'm writing here
And thank you for asking first! :)
As you can see I have some knowledge on how to maintain packages: https://aur.archlinux.org/packages/?SeB=m&K=asm0dey but in this concrete situation I have no any idea on how to create packages. Of course I can't just use these packages in source field because they have their own dependencies. Also I think I can't just install them inside build or package phase…
So question is: is there any recommended way to do what I want?
If you replace the word "recommended" with the word "allowed", then the answer is "you are allowed to advertise your repository on https://wiki.archlinux.org/index.php/Unofficial_user_repositories and on the package details for the AUR package".
In fact, you're actually encouraged to do so. That's why we have the wiki listing in the first place. :)
But truth is I don't have repository (cause repository should have some predefined layout and so on). And I'm not sure if it's possible to create something repository-like on github. And I currently I have no idea on where should I have to host repository for it to be more or less reliable.
I think you can probably use github pages for this. Github already allows release assets, and there are definitely people putting release assets in github pages, so I don't think this is against the terms of service, and github pages lets you provide a simple html index and file structure however you like.
Just make sure to rebuild and force overwrite the gh-pages branch rather than appending new commits, to make sure the size doesn't get too big due to bloaty binary blobs in git history.
Sounds awful cause it will bloat repo size to insane sizes (built packages are tens of MB) and it's devel version so it may obtain updates several times a week…
OK it looks like there is no sane way to do what I want so maybe I should just leave it as repo-for-myself.
Paul
Oh I see, you're telling about rewriting commits. It may make sense, but will take wome time to implement. Should think about it, thanks Paul
On 8/12/19 2:33 PM, Paul Finkelshteyn wrote:
On Mon, 12 Aug 2019 14:23:51 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
I think you can probably use github pages for this. Github already allows release assets, and there are definitely people putting release assets in github pages, so I don't think this is against the terms of service, and github pages lets you provide a simple html index and file structure however you like.
Just make sure to rebuild and force overwrite the gh-pages branch rather than appending new commits, to make sure the size doesn't get too big due to bloaty binary blobs in git history.
Sounds awful cause it will bloat repo size to insane sizes (built packages are tens of MB) and it's devel version so it may obtain updates several times a week…
OK it looks like there is no sane way to do what I want so maybe I should just leave it as repo-for-myself.
That's exactly why I said you should force-overwrite the gh-pages branch -- that way the total size of the repository is only the size of master (the history of a shellscript and dockerfile) + the tens of MB for the latest packages on gh-pages and *only* the latest packages. git branch -D gh-pages git checkout --orphan gh-pages git reset HEAD -- . git add *.pkg.tar.xz git commit -m "nuke gh-pages and restart branch from scratch with new packages" git push -f origin gh-pages git clone will never be too big. Your existing clone might grow quite big, but git gc --auto should prune the dangling blobs in the background after a while. -- Eli Schwartz Bug Wrangler and Trusted User
On Mon, 12 Aug 2019 14:49:17 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
On 8/12/19 2:33 PM, Paul Finkelshteyn wrote:
On Mon, 12 Aug 2019 14:23:51 -0400 Eli Schwartz via aur-general <aur-general@archlinux.org> wrote:
I think you can probably use github pages for this. Github already allows release assets, and there are definitely people putting release assets in github pages, so I don't think this is against the terms of service, and github pages lets you provide a simple html index and file structure however you like.
Just make sure to rebuild and force overwrite the gh-pages branch rather than appending new commits, to make sure the size doesn't get too big due to bloaty binary blobs in git history.
Sounds awful cause it will bloat repo size to insane sizes (built packages are tens of MB) and it's devel version so it may obtain updates several times a week…
OK it looks like there is no sane way to do what I want so maybe I should just leave it as repo-for-myself.
That's exactly why I said you should force-overwrite the gh-pages branch -- that way the total size of the repository is only the size of master (the history of a shellscript and dockerfile) + the tens of MB for the latest packages on gh-pages and *only* the latest packages.
git branch -D gh-pages git checkout --orphan gh-pages git reset HEAD -- . git add *.pkg.tar.xz git commit -m "nuke gh-pages and restart branch from scratch with new packages" git push -f origin gh-pages
git clone will never be too big. Your existing clone might grow quite big, but git gc --auto should prune the dangling blobs in the background after a while.
Absolutely! I like how fast you've written it. Actually I'm absolutely amazed. It would take like 10 minutes and couple of tries for me. Thanks!
participants (2)
-
Eli Schwartz
-
Paul Finkelshteyn