| Summary: | evaluate the cost and time of whether a git sync mirror should have time spent on it. | ||
|---|---|---|---|
| Product: | Libre-SOC Website | Reporter: | Jacob Lifshay <programmerjake> |
| Component: | website | Assignee: | Jacob Lifshay <programmerjake> |
| Status: | IN_PROGRESS --- | ||
| Severity: | enhancement | CC: | libre-soc-bugs, lkcl, programmerjake |
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://bugs.libre-soc.org/show_bug.cgi?id=387 https://bugs.libre-soc.org/show_bug.cgi?id=374 https://bugs.libre-soc.org/show_bug.cgi?id=1194 https://bugs.libre-soc.org/show_bug.cgi?id=980 |
||
| NLnet milestone: | --- | total budget (EUR) for completion of task and all subtasks: | 0 |
| budget (EUR) for this task, excluding subtasks' budget: | 0 | parent task for budget allocation: | |
| child tasks for budget allocation: | The table of payments (in EUR) for this task; TOML format: | ||
|
Description
Jacob Lifshay
2023-09-18 20:03:37 BST
I have turned off the git mirror for now... i was deeply unimpressed that there is the stupid belief that i have set up libresoc on a stupid raspberry pi. this would be incredibly irresponsible and place the entire project at risk. if anyone is actually prepared to ask what the actual situation is then i will describe it and you can spend the time documenting it.A THEN the cost and effort of whether it is worthwhile creating mirrors can be evaluated. (In reply to Jacob Lifshay from comment #0) > can I set it to at least once per hour no you may not. (In reply to Luke Kenneth Casson Leighton from comment #2) > i was deeply unimpressed that there is the stupid belief that i > have set up libresoc on a stupid raspberry pi. this would be incredibly > irresponsible and place the entire project at risk. I did not assume that and I am not aware of anyone expressing that belief. > > if anyone is actually prepared to ask what the actual situation is > then i will describe it and you can spend the time documenting it. from what I understand, you have it hosted on a mythic beasts VPS, with manual backups to your laptop. feel free to elaborate, if you like. > > THEN the cost and effort of whether it is worthwhile creating mirrors can > be evaluated. I think having git mirrors is useful for 4 reasons: 1. it is what drives CI, eventually having CI on more repos is imho a good idea (the additional repos are just mirrors for now). 2. salsa.debian.org has a much nicer interface, so things like git blame actually can be used there rather than having to download the git repo and run blame locally (even then, local git blame has a worse UI imo). There are also other nice features, such as being able to easily compare two branches/tags/commits without having to manually type in the proper url as is needed for git.libre-soc.org. 3. it increases libre-soc.org's visibility somewhat. 4. if libre-soc.org goes down or is blocked, salsa.debian.org likely won't simultaneously be down/blocked I will note that the amount of work I have to do to change the period is trivial...just change 2 lines of code, commit it, and install the new commit to my server. Luke, I'm sorry for setting up the additional mirrors without consulting you. we'll talk about this more later I enabled the git-mirror service so CI works again. I set it to run once every 24hr as luke stipulated (though that is massively inconvenient), I also changed it to sleep 5s between each git fetch: https://salsa.debian.org/Kazan-team/git-mirror/-/commits/9573af655a7797a138b5bbd500fdd0b28332b51a commit 9573af655a7797a138b5bbd500fdd0b28332b51a Author: Jacob Lifshay <programmerjake@gmail.com> Date: Sun Nov 5 20:36:13 2023 -0800 change update period to 24hr commit 1c1371eebe7f440b5f323985e9bd0e6984f9bef9 Author: Jacob Lifshay <programmerjake@gmail.com> Date: Sun Nov 5 20:35:38 2023 -0800 sleep 5sec between updating each git repo |