1 |
Ulrich Mueller wrote: |
2 |
> Hyphens within PV are a Bad Thing, and we should really think about |
3 |
> replacing the separator for "scm" by something else, like a period or |
4 |
> an underscore. For example, the following two would be unique: |
5 |
> |
6 |
> ${PORTDIR}/app-misc/foo/foo-1a_live.ebuild |
7 |
> ${PORTDIR}/app-misc/foo-1a/foo-1a-live.ebuild |
8 |
> |
9 |
> With our current versioning scheme the rule is very simple: ${P} is |
10 |
> split into ${PN} and ${PV} at the last hyphen. This can be done in a |
11 |
> straight forward way by regexp matching, and I would really hate to |
12 |
> lose this nice property. |
13 |
|
14 |
Underscore probably makes most sense, since it is similar to the |
15 |
underscore used in _rc3, etc. Of course, don't use an "_" when it's |
16 |
just "live" alone. I agree, especially if we consider "live" |
17 |
essentially part of the version (as "9999" is now), and especially since |
18 |
it's possible to have simply a version of "live" with no numeric |
19 |
portion, that it should avoid the "-". Not sure I like "."... |
20 |
|
21 |
-Joe |