You are here: Foswiki>Tasks Web>Item13887 (07 May 2017, GeorgeClark)Edit Attach

Item13887: Create utility script to list branches and descriptions

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches: master Release02x01
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Found this response on StackOverflow about listing branch descriptions. http://stackoverflow.com/a/10261571/3087690

Augmented it with code to fetch the Item Summary and State for Item branches. If the branch name doesn't have an Item number, the local description is also checked for a task.

In order to add local descriptions to a branch, use git branch Item12345 --edit-description Example:
/var/www/foswiki/distro/core (master)$ git branch Item13135 --edit-description
/var/www/foswiki/distro/core (master)$ tools/branches 
    HTMLTemplates
      Experimental HTML template work for Item13331
      Wrong encoding in "View WikiText"  when utf8 - Closed

    Item13135
      JulianLevens work on gitignore processing
      .gitignore management is unclear - Being Worked On

    Item13405
      UNICODE Round 2 - Normalization, sorting, and other minor fixes
      Unicode Normalisation - Confirmed
...
-- GeorgeClark - 05 Dec 2015

Latest version shows status of each branch - behind/ahead of, or no upstream. Task status and summary, and lists remotes that don't have local branches.
    Item13897 ( behind 7)
      Being Worked On - Implement ImproveOOModel proposal. 
   Item13909    
     Needs Merge - Support expansion of standard macros during topic creation from template.
   Item13948 (merged) (no remote)
      Being Worked On - Implement UseRelativeLinksByDefault
    Item14225 (no remote)
      New - EXPORTEDPREFERENCES has not kept up with changes to FOSWIKI.pm
    Release01x00
    Release01x01
    Release02x00
  * Release02x01
    master
    remotes/origin/Item13905
      Waiting for Feedback - I'd like a way to make FW-level comments in topics.
    remotes/origin/Item14003
      Being Worked On - Back out Foswiki::Address incomplete and needs review

-- GeorgeClark - 20 Nov 2016
 
Topic revision: r8 - 07 May 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy