List for cgit developers and users
 help / color / mirror / Atom feed
* Different page default for a repository
@ 2024-01-29 22:43 Matěj Cepl
  2024-01-30  8:05 ` Christian Hesse
  0 siblings, 1 reply; 7+ messages in thread
From: Matěj Cepl @ 2024-01-29 22:43 UTC (permalink / raw)
  To: cgit

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Hi,

I would like basically what was already asked before on the
cgit-pink list, but I haven’t found any actionable reply to it,
https://causal.agency/list/thread/20220629162034.1235e11ad8fd08b47e8fcf07%40posteo.net.html

The summary page for example on https://git.cepl.eu/cgit/nntplib/
seems to me much less useful as a default than the about page
(https://git.cepl.eu/cgit/nntplib/about/), tree
(https://git.cepl.eu/cgit/nntplib/tree/), or log
(https://git.cepl.eu/cgit/nntplib/log/) tabs. Is there a way how
to configure this default page? Or would it be possible to write
some kind of filter, which would change the tab displayed?

Thank you for any reply,

Matěj

-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
A day without sunshine is like night.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 216 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Different page default for a repository
  2024-01-29 22:43 Different page default for a repository Matěj Cepl
@ 2024-01-30  8:05 ` Christian Hesse
  2024-01-30 10:43   ` Matěj Cepl
  2024-01-30 10:43   ` Matěj Cepl
  0 siblings, 2 replies; 7+ messages in thread
From: Christian Hesse @ 2024-01-30  8:05 UTC (permalink / raw)
  To: Matěj Cepl; +Cc: cgit

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

Matěj Cepl <mcepl@cepl.eu> on Mon, 2024/01/29 23:43:
> Hi,
> 
> I would like basically what was already asked before on the
> cgit-pink list, but I haven’t found any actionable reply to it,
> https://causal.agency/list/thread/20220629162034.1235e11ad8fd08b47e8fcf07%40posteo.net.html
> 
> The summary page for example on https://git.cepl.eu/cgit/nntplib/
> seems to me much less useful as a default than the about page
> (https://git.cepl.eu/cgit/nntplib/about/), tree
> (https://git.cepl.eu/cgit/nntplib/tree/), or log
> (https://git.cepl.eu/cgit/nntplib/log/) tabs. Is there a way how
> to configure this default page? Or would it be possible to write
> some kind of filter, which would change the tab displayed?

There's a patch available:
https://git.zx2c4.com/cgit/log/?h=ch/default-pages

But is has not been merged to the master branch.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Different page default for a repository
  2024-01-30  8:05 ` Christian Hesse
@ 2024-01-30 10:43   ` Matěj Cepl
  2024-01-30 11:11     ` Matěj Cepl
  2024-01-30 10:43   ` Matěj Cepl
  1 sibling, 1 reply; 7+ messages in thread
From: Matěj Cepl @ 2024-01-30 10:43 UTC (permalink / raw)
  To: Christian Hesse; +Cc: cgit

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

On Tue Jan 30, 2024 at 9:05 AM CET, Christian Hesse wrote:
> There's a patch available:
> https://git.zx2c4.com/cgit/log/?h=ch/default-pages
>
> But is has not been merged to the master branch.

Cgit however isn’t completely dead, is it (looking at the log,
there seems to be still some life in it)? So, what’s keeping this
patch from being merged? Is it so bad, dangerous?

Best,

Matěj

-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
I disapprove of what you say, but I will defend to the death
your right to say it.
  -- mistakenly attributed to Voltaire


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 216 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Different page default for a repository
  2024-01-30  8:05 ` Christian Hesse
  2024-01-30 10:43   ` Matěj Cepl
@ 2024-01-30 10:43   ` Matěj Cepl
  1 sibling, 0 replies; 7+ messages in thread
From: Matěj Cepl @ 2024-01-30 10:43 UTC (permalink / raw)
  To: Christian Hesse; +Cc: cgit

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

On Tue Jan 30, 2024 at 9:05 AM CET, Christian Hesse wrote:
> There's a patch available:
> https://git.zx2c4.com/cgit/log/?h=ch/default-pages
>
> But is has not been merged to the master branch.

And, of course, thank you very much for pointing me in the right
direction!

Best,

Matěj

-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Wise walks steady step, while fools around them dance contemporary
dances.
  -- Franz Kafka


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 216 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Different page default for a repository
  2024-01-30 10:43   ` Matěj Cepl
@ 2024-01-30 11:11     ` Matěj Cepl
  2024-01-30 11:47       ` Christian Hesse
  0 siblings, 1 reply; 7+ messages in thread
From: Matěj Cepl @ 2024-01-30 11:11 UTC (permalink / raw)
  To: Christian Hesse; +Cc: cgit

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

On Tue Jan 30, 2024 at 11:43 AM CET, Matěj Cepl wrote:
> On Tue Jan 30, 2024 at 9:05 AM CET, Christian Hesse wrote:
> > There's a patch available:
> > https://git.zx2c4.com/cgit/log/?h=ch/default-pages
> >
> > But is has not been merged to the master branch.
>
> Cgit however isn’t completely dead, is it (looking at the log,
> there seems to be still some life in it)? So, what’s keeping this
> patch from being merged? Is it so bad, dangerous?

Oh silly me, the patch is old, but you have just published
it. Sorry for being hasty!

Best,

Matěj

-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
How many Bavarian Illuminati does it take to screw in a light
bulb?
Three: one to screw it in, and one to confuse the issue.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 216 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Different page default for a repository
  2024-01-30 11:11     ` Matěj Cepl
@ 2024-01-30 11:47       ` Christian Hesse
  2024-01-30 15:13         ` Matěj Cepl
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Hesse @ 2024-01-30 11:47 UTC (permalink / raw)
  To: Matěj Cepl; +Cc: cgit

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]

Matěj Cepl <mcepl@cepl.eu> on Tue, 2024/01/30 12:11:
> On Tue Jan 30, 2024 at 11:43 AM CET, Matěj Cepl wrote:
> > On Tue Jan 30, 2024 at 9:05 AM CET, Christian Hesse wrote:  
> > > There's a patch available:
> > > https://git.zx2c4.com/cgit/log/?h=ch/default-pages
> > >
> > > But is has not been merged to the master branch.  
> >
> > Cgit however isn’t completely dead, is it (looking at the log,
> > there seems to be still some life in it)? So, what’s keeping this
> > patch from being merged? Is it so bad, dangerous?  
> 
> Oh silly me, the patch is old, but you have just published
> it. Sorry for being hasty!

Yes, it is old, and it has been there for a long time. I did just rebase it
right now.

These days Jason is not very active reviewing, merging & co...
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Different page default for a repository
  2024-01-30 11:47       ` Christian Hesse
@ 2024-01-30 15:13         ` Matěj Cepl
  0 siblings, 0 replies; 7+ messages in thread
From: Matěj Cepl @ 2024-01-30 15:13 UTC (permalink / raw)
  To: Christian Hesse; +Cc: cgit

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

On Tue Jan 30, 2024 at 12:47 PM CET, Christian Hesse wrote:
> Matěj Cepl <mcepl@cepl.eu> on Tue, 2024/01/30 12:11:
> > On Tue Jan 30, 2024 at 11:43 AM CET, Matěj Cepl wrote:
> > > On Tue Jan 30, 2024 at 9:05 AM CET, Christian Hesse wrote:  
> > > > There's a patch available:
> > > > https://git.zx2c4.com/cgit/log/?h=ch/default-pages
> > > >
> > > > But is has not been merged to the master branch.  
> > >
> > > Cgit however isn’t completely dead, is it (looking at the log,
> > > there seems to be still some life in it)? So, what’s keeping this
> > > patch from being merged? Is it so bad, dangerous?  
> > 
> > Oh silly me, the patch is old, but you have just published
> > it. Sorry for being hasty!
>
> Yes, it is old, and it has been there for a long time. I did just rebase it
> right now.
>
> These days Jason is not very active reviewing, merging & co...

Hmm, I don’t know, even with this /etc/cgitrc
(https://da.gd/CAU6W) when I go to https://git.cepl.eu/cgit/aerc/
I get the summary.

I don’t see anything in the /var/log/httpd/git*log.

Any thoughts? More debugging?

Best,

Matěj

-- 
http://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
If only there were evil people somewhere insidiously committing
evil deeds, and it were necessary only to separate them from the
rest of us and destroy them. But the line dividing good and evil
cuts through the heart of every human being. And who is willing
to destroy a piece of his own heart?
  -- Aleksandr Solzhenitsyn: The Gulag Archipelago


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 216 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-30 15:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 22:43 Different page default for a repository Matěj Cepl
2024-01-30  8:05 ` Christian Hesse
2024-01-30 10:43   ` Matěj Cepl
2024-01-30 11:11     ` Matěj Cepl
2024-01-30 11:47       ` Christian Hesse
2024-01-30 15:13         ` Matěj Cepl
2024-01-30 10:43   ` Matěj Cepl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).