Project

General

Profile

Packaging Request #3333

[stagit][gopher] Package stagit-gopher

wael - about 1 month ago - . Updated 3 days ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

80%


Description

Currently there is only cgit as a lightweight online git repository browser and frontend packaged in Parabola.
Packaging stagit-gopher (intentionally not regular web stagit, because cgit does a better job there) will allow users to host git repos and present them over gopher and gemini using this program.
This can be potentially extended to any text-based protocol rather easily as stagit generates static output files which can be fed into other programs to turn them into the desired result.

I've checked the source, it is licensed under X/MIT license.
I've also checked the attached PKGBUILD (based off of the AUR one with minor modifications to bump version and enable i686 and armv7h builds), and it compiles fine using libremakepkg.


Files

PKGBUILD (1.03 KB) PKGBUILD wael, 2022-08-27 08:13 PM

History

#1

Updated by bill-auger about 1 month ago

users to host git repos and present them over gopher and gemini using this program.

i like it already

#2

Updated by wael about 1 month ago

I forgot to add though that I only managed to test it on x86_64, as the i686 package for libgit2 is seemingly stuck at 1:1.4.3-1 when the repos indicate somehow that 1:1.4.4-1 is the latest version and thus the download 404s and the build fails.

#3

Updated by bill-auger about 1 month ago

according to the web interface, libgit2 for i686 is 1:1.4.3-1.0, and that package is in the repos - libgit2 1:1.4.4-1 for i686 is also available; but it is in staging - i can only guess that you edited the pacman.conf in the i686 chroot to enable/disable the staging repo, and forgot to run pacman -Syyuu in the chroot - librechroot/libremakepkg will not do that automatically

#4

Updated by wael about 1 month ago

No matter what I do, the i686 build still fails when trying to fetch 'libgit2-1:1.3.0-1.0-i686.pkg.tar.zst' (it just 404s).

#5

Updated by bill-auger about 1 month ago

i dont have any such problem - the chroots do get borked occasionally

you can try to clean it properly

# librechroot -n <CHROOT_NAME> clean-repo
# librechroot -n <CHROOT_NAME> update
# librechroot -n <CHROOT_NAME> clean-pkgs

if that does not work, just nuke the chroot and make a new one

# rm -rf /var/lib/archbuild/<CHROOT_NAME>
# librechroot -A i686 -n <CHROOT_NAME> make
#6

Updated by wael about 1 month ago

  • % Done changed from 0 to 80

Thanks for the info on resolving the chroot issues, I can now confirm that the PKGBUILD works fine for x86_64 and i686.

#7

Updated by bill-auger about 1 month ago

(intentionally not regular web stagit, because cgit does a better job there)

why not package the web server also? - cgit is not doing a great
job for parabola - it is extremely slow and CPU intensive for
some reason - i could probably find what that reason is, and
correct it; but maybe this one is more light-weight than cgit

is the web server built from the same sources?
is there a demo of it somewhere?

#8

Updated by wael about 1 month ago

Here's an example of web stagit, https://codemadness.org/git/

#9

Updated by wael 3 days ago

Is there any need for this still?

Also available in: Atom PDF