<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oasis.git/core/bc, 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>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>bc: Fix .gitignore</title>
<updated>2016-06-24T06:52:35+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-24T06:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=272913c1d5895e53cf2c0cbee9dc863930c6e9e6'/>
<id>272913c1d5895e53cf2c0cbee9dc863930c6e9e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add bc 1.06.95</title>
<updated>2016-06-13T03:14:56+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-13T02:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=0512a75e89b0a61cc065021834ed22e90c98c937'/>
<id>0512a75e89b0a61cc065021834ed22e90c98c937</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
