Update repository automatically with livecheck #4118

Open
opened 2024-11-19 15:04:15 +01:00 by inode64 · 4 comments
Contributor

To waste less time searching for updates and in the process of uploading changes to the repository, I find it interesting to use livecheck
I am using it in my gentoo overlay (https://github.com/inode64/inode64-overlay/) and I have to say that it has helped me simplify and optimize the ebuild update process
It could be interesting to use it here

https://github.com/Tatsh/livecheck

To waste less time searching for updates and in the process of uploading changes to the repository, I find it interesting to use livecheck I am using it in my gentoo overlay (https://github.com/inode64/inode64-overlay/) and I have to say that it has helped me simplify and optimize the ebuild update process It could be interesting to use it here https://github.com/Tatsh/livecheck

+1
I also think this repository should be mostly automated, I'm currently writing a script that can generate most of the ebuilds here automatically. My idea is to write a python script that imports HomeAssistant's script/gen_requirements_all.py and generates the ebuilds based on the dependencies listed there. I'll have a look at tatsh's livecheck, it probably can save me some time.

I'm curious, are there scripts that generates/maintain this repo at all or it's all manual work? I can't find any...

+1 I also think this repository should be mostly automated, I'm currently writing a script that can generate most of the ebuilds here automatically. My idea is to write a python script that imports HomeAssistant's script/gen_requirements_all.py and generates the ebuilds based on the dependencies listed there. I'll have a look at tatsh's livecheck, it probably can save me some time. I'm curious, are there scripts that generates/maintain this repo at all or it's all manual work? I can't find any...
Author
Contributor

I have made plugins to automate the creation of compressed files for nodejs and goland
Gitlab and bitbucket, among others, are missing to detect new versions, but in general terms it is capable of updating the ebuilds and creating the commit

I have made plugins to automate the creation of compressed files for nodejs and goland Gitlab and bitbucket, among others, are missing to detect new versions, but in general terms it is capable of updating the ebuilds and creating the commit
Owner

sorry for being busy otherwise, and yes, there are some scripts.
I will prepare a repo to show these soon.

sorry for being busy otherwise, and yes, there are some scripts. I will prepare a repo to show these soon.

Oh, ok...
In the meantime I created mine. It's able to generate the whole overlay with all dependencies fetched from pypi JSON API, recursively. It's a bit hackish/WIP but it starts to do what I want.

Script: https://github.com/bassdr/homeassistant-core/blob/gen_ebuild_tree/script/gen_ebuild_tree.py
Overlay: https://github.com/bassdr/gentoo-homeassistant

Take whatever you want from there, or I can contribute here if you prefer. I'll probably extract the script to let it create any package from pypi, not only HomeAssistant.

Oh, ok... In the meantime I created mine. It's able to generate the whole overlay with all dependencies fetched from pypi JSON API, recursively. It's a bit hackish/WIP but it starts to do what I want. Script: https://github.com/bassdr/homeassistant-core/blob/gen_ebuild_tree/script/gen_ebuild_tree.py Overlay: https://github.com/bassdr/gentoo-homeassistant Take whatever you want from there, or I can contribute here if you prefer. I'll probably extract the script to let it create any package from pypi, not only HomeAssistant.
Sign in to join this conversation.
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#4118
No description provided.