<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/scripts/update_version_stamp.lua, branch 20220114-mix</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>build: gracefully handle error in git-version #19289</title>
<updated>2022-07-14T07:12:27+00:00</updated>
<author>
<name>kylo252</name>
<email>59826753+kylo252@users.noreply.github.com</email>
</author>
<published>2022-07-14T07:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=912dbbdd77f382d90e4d8ef8ffa483037248b83a'/>
<id>912dbbdd77f382d90e4d8ef8ffa483037248b83a</id>
<content type='text'>
- only update git-version if both of these conditions are met:
    - `git` command succeeds
    - `versiondef_git.h` would change (SHA1-diff)
- else print a status/warning message

also move version generation out of Lua into cmake.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- only update git-version if both of these conditions are met:
    - `git` command succeeds
    - `versiondef_git.h` would change (SHA1-diff)
- else print a status/warning message

also move version generation out of Lua into cmake.</pre>
</div>
</content>
</entry>
<entry>
<title>Use vX.Y.Z-dev+{git-describe} for development versions</title>
<updated>2020-12-07T02:01:11+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-12-06T20:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2b594b9c81fea02598e0f6b6dff7972677f2c150'/>
<id>2b594b9c81fea02598e0f6b6dff7972677f2c150</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update_version_stamp.lua: Use NUL on Windows #11323</title>
<updated>2019-11-01T19:54:59+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2019-11-01T19:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=90981f5861e4c23c6a23a0082261b074ba48ea47'/>
<id>90981f5861e4c23c6a23a0082261b074ba48ea47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update_version_stamp: redirect stderr on first try, --first-parent #11186</title>
<updated>2019-10-10T08:38:15+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-10-10T08:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6768c43e2129af85923ed0b4ed9f6f47be42b4fb'/>
<id>6768c43e2129af85923ed0b4ed9f6f47be42b4fb</id>
<content type='text'>
Avoid noise during builds:

&gt; fatal: No annotated tags can describe '417449f468c4ba186954f6295b3338fb55ee7b4a'.
&gt; However, there were unannotated tags: try --tags.

This might be useful in general, but is expected to not happen - and
falling back is OK then.  The fallback command would still display
errors then.

It also uses `--first-parent`, which is important for when a release
branch gets merged back.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid noise during builds:

&gt; fatal: No annotated tags can describe '417449f468c4ba186954f6295b3338fb55ee7b4a'.
&gt; However, there were unannotated tags: try --tags.

This might be useful in general, but is expected to not happen - and
falling back is OK then.  The fallback command would still display
errors then.

It also uses `--first-parent`, which is important for when a release
branch gets merged back.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix/revisit git-describe enhancement (#11124)</title>
<updated>2019-10-02T01:45:59+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-10-02T01:45:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=30ae60e7cac7e77005aa429bc13f8ffa3ce64eb1'/>
<id>30ae60e7cac7e77005aa429bc13f8ffa3ce64eb1</id>
<content type='text'>
* Fix/keep massaging git-describe result

Ref: https://github.com/neovim/neovim/pull/11117#issuecomment-536416223

* build: revisit generation of version from Git

Fixes "make clean &amp;&amp; make", where "auto/versiondef.h" would be missing
since b18b84d - because BYPRODUCTS are apparently removed when cleaning.

This includes the following improvements/changes:

- do not run git-describe during CMake's configure phase just for
  reporting
- do not print with changed Git version (too noisy, simplifies code)

* Move to src/nvim (included before config) for easier flow

* fallback to describe always, write empty include file

* update_version_stamp.lua: use prefix always</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix/keep massaging git-describe result

Ref: https://github.com/neovim/neovim/pull/11117#issuecomment-536416223

* build: revisit generation of version from Git

Fixes "make clean &amp;&amp; make", where "auto/versiondef.h" would be missing
since b18b84d - because BYPRODUCTS are apparently removed when cleaning.

This includes the following improvements/changes:

- do not run git-describe during CMake's configure phase just for
  reporting
- do not print with changed Git version (too noisy, simplifies code)

* Move to src/nvim (included before config) for easier flow

* fallback to describe always, write empty include file

* update_version_stamp.lua: use prefix always</pre>
</div>
</content>
</entry>
<entry>
<title>build: run git-describe for dev version during build (#11117)</title>
<updated>2019-09-29T22:10:29+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-09-29T22:10:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b18b84df5eab9829ecbef644ef0af226becf881d'/>
<id>b18b84df5eab9829ecbef644ef0af226becf881d</id>
<content type='text'>
This avoids invoking CMake after a new commit, which might take 15s on
some systems.

Skipped on CMake &lt; 3.2.0 (missing BYPRODUCTS support).

Co-Authored-By: Justin M. Keyes &lt;justinkz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids invoking CMake after a new commit, which might take 15s on
some systems.

Skipped on CMake &lt; 3.2.0 (missing BYPRODUCTS support).

Co-Authored-By: Justin M. Keyes &lt;justinkz@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
