Hi all,

During the review meeting we found an interesting problem with referencing the 
located in another GitHub repositories.

I wanted to link the list of remote URL schemes defined in libzypp therefore I 
this link to the code:


However, the disadvantage is that after adding or removing some code the line 
won't match any more.

Another approach is to link to a specific commit:


The advantage is that the line won't move as we point to a fixed point in the
history. Obviously the disadvantage is that if libzypp adds a new schema you 
will not
see it there.

So both approaches have advantages and disadvantages. Unfortunately neither of 
handles code changes well.

The question is which way we should prefer? Point to a moving "master" or pin to
a specific commit which might get obsolete? Your opinions?

Ladislav Slezák
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8
To unsubscribe, e-mail: yast-devel+unsubscr...@opensuse.org
To contact the owner, e-mail: yast-devel+ow...@opensuse.org

Reply via email to