#2020 SCM commits need shortlinks - NEEDS SCRIPT

v1.0.0
closed
sf-4 (350)
General
nobody
2015-08-20
2011-04-26
No

Right now commits cannot be short linked to. Git and Hg commits are globally unique, but SVN ones are only unique within a project (unless we name them more uniquely than "r1"). Once this is fixed, commits should show related artifacts like [#1981].

Related

Tickets: #1540
Tickets: #1981
Tickets: #2165
Tickets: #2585
Tickets: #3059

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-04-27

    I think [r123] for SVN, and short hashes like [2e89c3] for git and hg should be fine. SVN ids don't have to be globally unique, just unique for the tool (just like ticket numbers are only unique within their tool).

    It might be nice if git & hg supported both long and short hashes, but I'm not sure if that's possible with our current architecture.

     
  • Mark Ramm

    Mark Ramm - 2011-05-03
    • milestone: may-12 --> may-05
     
  • Rick Copeland - 2011-05-03
    • status: open --> in-progress
    • assigned_to: Rick Copéland
     
  • Rick Copeland - 2011-05-05
    • size: --> 4
     
  • Rick Copeland - 2011-05-16

    On rc/2020

    To backfill shortlinks, need to run

    allurapaste script ../scripts/refresh-all-repos.py --all
    
     
  • Rick Copeland - 2011-05-16
    • assigned_to: Rick Copéland --> Dave Brondsema
     
  • Rick Copeland - 2011-05-17
    • status: in-progress --> code-review
     
  • Rick Copeland - 2011-05-17

    This actually needs the latest code on Ming: rc/functional-level as well.

     
  • Dave Brondsema

    Dave Brondsema - 2011-05-18

    Code review is complete; need to do functional testing:

    • SVN
    • repos with shared commits (forks)
    • note that --all is not needed
     
  • Dave Brondsema

    Dave Brondsema - 2011-05-25
    • status: code-review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-25
    • summary: SCM commits need shortlinks --> SCM commits need shortlinks - NEEDS SCRIPT
    • milestone: may-19 --> limbo
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-25

    SCRIPT: allurapaste script production.ini ../scripts/refresh-all-repos.py -- --all

     

Log in to post a comment.