#9450 closed enhancement (fixed)
Git mirror: Replace svn info for revision detection by git log+perl
Reported by: | simon04 | Owned by: | Don-vip |
---|---|---|---|
Priority: | minor | Milestone: | 14.01 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
From https://github.com/openstreetmap/josm/pull/5 by https://github.com/AlfonZ42:
I didn't like that revision detection (hacked long ago in https://github.com/openstreetmap/josm/commit/bcbc70ea2e5c51b5d27222fe69c7e963645ca263) was trying to access josm.openstreetmap.de (it made building impossible when offline) and revision number was not always correct (when working with older revisions).
I replaced svn info
by git log
+ perl
.
git log
looks at the most recent commit message with git-svn-id
, which is then processed by perl script that produces revision number and date, which are needed in build.xml.
In case perl
is not found, the build doesn't fail, values fallback to UNKNOWN
, as specified in build.xml.
Attachments (0)
Change History (7)
comment:1 by , 11 years ago
Milestone: | → 14.01 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 by , 4 years ago
I was wondering what 0c6e7542-c601-0410-84e7-c038aed88b3b means, and if the stability of that string can be relied on?
In 6540/josm: