<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oasis.git/extra/libevent, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/'/>
<entry>
<title>Move to flat package hierarchy</title>
<updated>2016-12-14T07:10:30+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-12-12T00:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=293f5a93b77d92fd65db7f3d0df654f102e46cfb'/>
<id>293f5a93b77d92fd65db7f3d0df654f102e46cfb</id>
<content type='text'>
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" &gt; "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config &gt; .git/config.tmp
	mv .git/config.tmp .git/config
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" &gt; "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config &gt; .git/config.tmp
	mv .git/config.tmp .git/config
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some missing dependencies specifications</title>
<updated>2016-11-21T05:19:17+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-11-20T05:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=76b5a26ba8d7ad242c4ea1ba2550587eb6022ba4'/>
<id>76b5a26ba8d7ad242c4ea1ba2550587eb6022ba4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop phony/ prefix from phony targets</title>
<updated>2016-11-21T00:14:20+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-11-20T02:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=de4e4c63378c6fd0dc2504ddce5a13ee1e62504a'/>
<id>de4e4c63378c6fd0dc2504ddce5a13ee1e62504a</id>
<content type='text'>
There is little chance of collision between phony target names and actual
sources checked in $dir. Additionally, it was a bit magical when processing
phony sources because paths starting with $ or phony/ were left alone, while
others were prepended with $outdir/.

Also, where appropriate, use phony targets for dependencies instead of
specifying all of them for every compile action. This makes the resulting ninja
files easier to read, and might be more efficient too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is little chance of collision between phony target names and actual
sources checked in $dir. Additionally, it was a bit magical when processing
phony sources because paths starting with $ or phony/ were left alone, while
others were prepended with $outdir/.

Also, where appropriate, use phony targets for dependencies instead of
specifying all of them for every compile action. This makes the resulting ninja
files easier to read, and might be more efficient too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename .rev to rev</title>
<updated>2016-10-12T16:42:27+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-10-12T16:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=81e80d78f9e911810ce690d35dae47d29f4e1b82'/>
<id>81e80d78f9e911810ce690d35dae47d29f4e1b82</id>
<content type='text'>
Even though it is not generally useful, it is easy to forget to update if it is
hidden.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though it is not generally useful, it is easy to forget to update if it is
hidden.
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrate source fetching into ninja files</title>
<updated>2016-06-28T03:30:15+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-28T03:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=f732e53f58b8f92132dece66b05f32576f830cc4'/>
<id>f732e53f58b8f92132dece66b05f32576f830cc4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformulate "let" helper into "with"</title>
<updated>2016-06-27T08:23:03+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-27T08:23:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=076e97aee176afce9c51eef9c5cd39bbf0609b92'/>
<id>076e97aee176afce9c51eef9c5cd39bbf0609b92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add libevent 2.0.22</title>
<updated>2016-06-06T04:33:45+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-06T04:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=00957581da1e0705c2d5d6be8b0d3f44aa31743c'/>
<id>00957581da1e0705c2d5d6be8b0d3f44aa31743c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
