Project

General

Profile

Packaging Request #3333

[stagit][gopher] Package stagit-gopher

wael - over 1 year ago - . Updated over 1 year 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 over 1 year ago

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

i like it already

#2

Updated by wael over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year ago

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

#9

Updated by wael over 1 year ago

Is there any need for this still?

#10

Updated by wael over 1 year ago

There is another option: gemnigit, just got a reply from the author affirming that this is the license for the whole project:
https://git.sr.ht/~kornellapacz/gmnigit/tree/master/item/LICENSE

Also available in: Atom PDF