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


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

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 01 May 2017 11:56:10 AM UTC
Category:  Source code repositories - web browsing Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Assigned to:  None Operating System:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)

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.

The configuration doc is here.

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

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:

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


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 Schulenberg <bens>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12