helpSavannah Administration - Support: sr #109305, for nano, please order branches in...

 
 

sr #109305: for nano, please order branches in cgit by age

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 01 May 2017 11:56:10 AM UTC  
 
Category: Source code repositories - web browsingPriority: 5 - Normal
Severity: 2 - MinorStatus: None
Assigned to: NoneOperating System: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Aug 2017 09:37:39 AM UTC, comment #3:

Hi Bob. Maybe cgit needs to be prodded or restarted for it to reread the cgitrc file? Or maybe the version on Savannah is too old? (Because upstream seems to be at 1.1 plus nine months, not at 1.0 plus something.)

I've tried sorting the branches by age with a repository-specific cgitrc file, but that has no effect either. (It requires a scan-path variable to be set, but I think that most likely it is set on Savannah.)

Benno Schulenberg <bens>
Fri 25 Aug 2017 11:58:38 PM UTC, comment #2:

Hello Benno. Savannah is using a standard cgit installation.

http://git.zx2c4.com/cgit/

The configuration doc is here.

https://git.zx2c4.com/cgit/tree/cgitrc.5.txt

The upstream cgit seems to be using the sorting you desire. I look and find this setting in the manual.

branch-sort::
Flag which, when set to "age", enables date ordering in the branch ref list, and when set to "name" enables ordering by branch name. Default value: "name".

That seems perfect. I have set it in the cgitrc file. However it seems to have no effect. There may be some caching involved. I am going to let things site like this for a bit and see if after a cache invalidation the ordering changes.

If you have other suggestions that would be great.

Bob Proulx <rwp>
Site Administrator
Mon 01 May 2017 12:05:41 PM UTC, comment #1:

Should have included a link to the page I'm referring to:

http://git.savannah.gnu.org/cgit/nano.git/

Benno Schulenberg <bens>
Mon 01 May 2017 11:56:10 AM UTC, original submission:

Hi,

Just about everything in cgit is ordered by age: most recent first. But on the main page the branches are ordered by name. I think it makes more sense to order also the branches by age, most recent first.

If this cannot be set per repo but has to be done cgit-wide... I still would like to request it, as I really think it makes the most sense.

Benno

Benno Schulenberg <bens>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rwp (Posted a comment)
  • -unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1