<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oasis.git/core/iproute2/src, 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>iproute2: Update to 4.8.0</title>
<updated>2016-10-13T00:31:48+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-10-13T00:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=4c47091251d4afa7fa46c65601b4e00b89850b74'/>
<id>4c47091251d4afa7fa46c65601b4e00b89850b74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iproute2: Update to 4.7.0</title>
<updated>2016-08-26T22:20:22+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-08-26T22:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=2c0f21d42ea4adbcc2be085c80add00c48541e5f'/>
<id>2c0f21d42ea4adbcc2be085c80add00c48541e5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add iproute2 4.5.0</title>
<updated>2016-04-23T23:51:19+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-04-20T04:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=53af3b3bfc4f38b75556f2fe715ac0e5b340e0a1'/>
<id>53af3b3bfc4f38b75556f2fe715ac0e5b340e0a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
