guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GCD] Migrating repositories, issues, and patches to Codeberg


From: Attila Lendvai
Subject: Re: [GCD] Migrating repositories, issues, and patches to Codeberg
Date: Fri, 31 Jan 2025 18:43:49 +0000

> > and as for the efficiency of the new workflow: i think it strictly depends 
> > on
> > how easy it is to script the new infrastructure. and if the new infra has 
> > more
> > structured/formal ways to store/access the data than debbugs and mailing 
> > lists,
> > then i'm pretty sure it can only make scripting easier. then scripts and 
> > emacs
> > based tools could serve the power users, while the web UI could serve the
> > occasional contributors.
> 
> 
> Could you share some examples of the types of "scripting" you mean
> above? Specifically, if there are examples of scripting that you
> believe would allow for an Emacs-based review workflow, please share.


i didn't think of anything specific, but here are a few things that pop to my 
mind:

- list view of PR search result in eamcs
- shortcut to checkout, or create a git workspace with a PR applied (optionally 
on top of a selected git head)
- writing comments on a PR or issue in emacs
- opening a PR from a given git state
- a script that closes an issue when a commit contains the magic words

IOW, the usual stuff just not from the browser, but from the shell or from 
emacs.

what i wanted to point out is that it's not a lot of effort to automate on the 
client side -- either using guile scripts, or with some code in emacs --, *if* 
the infra has a sane API. and i assume that that is the case with codeberg in 
2025.

it shouldn't take a lot of effort to write some thin emacs code that displays 
the codeberg data in an emacs buffer.

making it work offline and sync later is probably substantially more work, but 
it should still not be an insurmountable task.

and nothing of that would be guix specific! these are probably already being 
worked on somewhere (i.e. division of labor):

https://codeberg.org/forgejo-contrib/delightful-forgejo#clients
(A curated list of delightful Forgejo-related projects and resources.)

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Foolishness is rarely a matter of lack of intelligence or even lack of 
information.”
        — John McCarthy (1927–2011), father of Lisp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]