| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This patch also make PERL_GIT_UNCOMMITTED_CHANGES useful and thus avoids
always adding the "*" to the 'perl -v' output.
|
| |
|
| |
|
| |
|
|
|
|
| |
hardcoded
|
|
|
|
| |
hardcoded
|
|
|
|
|
|
| |
(and revert a89d24b9fe54d44395806c16ac1c19f3c678cbbb)
It's getting too complex to work around some versions of awk which don't want
to implement the regular expressions that they are documented to implement.
|
|
|
|
|
| |
with PERL_VERSION_STRING, which can be determined at compile time, as a
constant string.
|
| |
|
| |
|
|
|
|
|
|
|
| |
miniperl builds with canned data equivalent to stock_git_version.h.
git_version.h becomes an explicit dependency for perl.o, make_patchnum.pl is
explicitly run to create it, and no sub-makes are spawned with their inherent
race conditions and consequent strange build failures.
|
|
|
|
| |
instead
|
|
|
|
| |
Rename the old "unpushed.h" to "git_version.h" and make it hold the defines that used to come from cflags magic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The net result of this patch is to make available via Config.pm and -v/-V the
details about the git version info we have available for the build. When built within
a git repository git is queried directly. When built from a snapshot or bundle
it is assumed that the source is unchanged, and that the required details are
avaialble in a file called .patch, whose format current is a four field string
in the following format: "$branchname $date.$time $sha1 $describe". The
generator of these files currently resides on camel.booking.com.
* git-describe is now used more directly with -v.
When the prefix of git-describe matches the version number
as determined by the defines in patchlevel.h then we use ONLY
the git-describe output, otherwise we include
the git describe in parenthesis after the version number. Either way
the describe text is optionally followed by a star should there be
uncommitted changes.
eg: This is perl, v5.11.0 (GitLive-blead-136-g58ca560) built for i686-linux
or: This is perl, v5.11.0-1-g58ca560 built for i686-linux
or: This is perl, v5.11.0 built for i686-linux
* include the SHA1 in perl -V summary, and automatically include unpushed
commits in the registered patches list
* include various git/version/.patch details in %Config, as follows:
git_commit_id # sha1 of HEAD
git_ancestor # ancestor in $remote/$branch (presumably canonical)
git_describe # git describe
git_branch # current branch
git_uncommitted_changes # "true" if there are any, empty otherwise
git_unpushed_commits # List of sha1's of unpushed commits
git_commit_id_title # Used to make the perl -V summary output
Additionally one more value is added depending on build process used: when
building from an rsynced snapshot (or any dist including a file called
.patch) then the second field will be used to populate the
"git_snapshot_date" field. Otherwise if built in a git directory (as is hopefully
recommended these day) then the field will be "git_commit_date" which will be the
commit date of HEAD.
This patch introduces two new files (on top of .patchnum) that will be generated by
make_patchnum.sh: "lib/Config_git.pl" and "unpushed.h", the former is used to make
git data available to Config.pm/%Config without rebuilding everything else, and the
second is used to expose unpushed commits (if any) via the registered patch facility
of patchlevel.h
|
|
|
| |
p4raw-id: //depot/perl@32646
|
|
|
|
|
|
| |
(Now that the patch number isn't in DEVEL, probably don't need to
do it in one, as in change 17642)
p4raw-id: //depot/perl@32644
|
|
|
| |
p4raw-id: //depot/perl@32637
|
|
|
| |
p4raw-id: //depot/perl@32485
|
|
|
| |
p4raw-id: //depot/perl@32334
|
|
|
| |
p4raw-id: //depot/perl@32237
|
|
|
| |
p4raw-id: //depot/perl@31799
|
|
|
| |
p4raw-id: //depot/perl@31564
|
|
|
| |
p4raw-id: //depot/perl@31557
|
|
|
| |
p4raw-id: //depot/perl@28969
|
|
|
|
|
| |
Message-ID: <20060424232038.7550f9b6@r2d2>
p4raw-id: //depot/perl@27962
|
|
|
|
|
| |
Regenerate template config in Porting
p4raw-id: //depot/perl@27007
|
|
|
| |
p4raw-id: //depot/perl@26966
|
|
|
|
|
|
| |
This is actually needed for the current Configure logic
to pick up the real patchnum from the .patch file.
p4raw-id: //depot/perl@26753
|
|
|
|
|
| |
did not update)
p4raw-id: //depot/perl@26732
|
|
|
|
|
|
| |
This avoids problem with using STRINGIFY in patchlevel.h
(ref msg <43BE4BAC.6010701@uk.radan.com> posted to p5p).
p4raw-id: //depot/perl@26672
|
|
|
|
|
| |
Message-ID: <9b18b3110512171052h2052d598rdf038f1d38560317@mail.gmail.com>
p4raw-id: //depot/perl@26397
|
|
|
|
|
| |
(a sure way to accelerate any change to subversion)
p4raw-id: //depot/perl@25374
|
|
|
|
|
| |
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24271
|