Skip to content

Conversation

@sharkwouter
Copy link

This will make it so releases are also hosted as a pacman repository using GitHub Pages.

I did one build using it. To test this, add the following to your /etc/pacman.conf:

[linux-chimeraos]
SigLevel = Optional TrustAll
Server = https://sharkwouter.github.io/linux-chimeraos/

Then you can download the packages using the following command:

pacman -Sy linux-chimeraos linux-chimeraos-headers

I've added instructions specific for the ChimeraOS group to the README.

Before merging this PR, make sure to set the GitHub Pages source to GitHub Actions in the settings of the GitHub repo like in the image below:
image

It would be possible to add signing later, but since right now packages are just downloaded using wget, I don't think that will be needed. Especially since we're using https here, so a man in the middle attack would be very hard to do anyway.

@pastaq
Copy link

pastaq commented Oct 24, 2024

This is very cool

@sharkwouter
Copy link
Author

Is there a timeline on when this will get reviewed?

@NeroReflex
Copy link
Contributor

Is there a timeline on when this will get reviewed?

It could be fine for me, but I don't know if this either:

  • violates github ToS
  • depletes quickly the free space

@sharkwouter
Copy link
Author

@NeroReflex here is some info on limits on github pages: https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#usage-limits

If we start exceeding 100 GB of bandwidth per month, we might be asked to tone it down and we are not allowed to use pages for commercial purposes. There is also a soft limit of 1 GB for a pages site. The TOS doesn't really talk about pages. I think we should comply with all of that even if we host a repo through pages. The users should be limited to contributors and maybe our build system.

@NeroReflex
Copy link
Contributor

@NeroReflex here is some info on limits on github pages: https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#usage-limits

If we start exceeding 100 GB of bandwidth per month, we might be asked to tone it down and we are not allowed to use pages for commercial purposes. There is also a soft limit of 1 GB for a pages site. The TOS doesn't really talk about pages. I think we should comply with all of that even if we host a repo through pages. The users should be limited to contributors and maybe our build system.

1GB limit means basically only 2 kernels... Have I understood it correctly?

@sharkwouter
Copy link
Author

sharkwouter commented Dec 25, 2024

I think we could probably fit at least 5, since the packages are compressed. We only host one at a time, though. Each commit causes a new build to replace the previous one.

@NeroReflex
Copy link
Contributor

I think we could probably fit at least 5, since the packages are compressed. We only host one at a time, though. Each commit causes a new build to replace the previous one.

Do you think it is possible to host the latest stable and the latest pre-release version? It would help debugging problems...

@sharkwouter
Copy link
Author

Do you think it is possible to host the latest stable and the latest pre-release version? It would help debugging problems...

With this we can only host one version at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants