<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oasis.git/core/sbase/patch, 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>sbase: Add some patches fixing various issues</title>
<updated>2016-12-08T08:11:30+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-12-03T07:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=44d5c39af8bfdf18deac1139dcc15a03a2c98f68'/>
<id>44d5c39af8bfdf18deac1139dcc15a03a2c98f68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase: Update to latest scm</title>
<updated>2016-11-18T18:43:51+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-11-18T18:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=bd71fc0cf23bd4f8246c88160e16ff914ef60851'/>
<id>bd71fc0cf23bd4f8246c88160e16ff914ef60851</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase: Add patch to fix tr bug</title>
<updated>2016-10-22T09:45:05+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-10-22T09:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=7727d8fe8ab175c740b9593bf265257eeed28995'/>
<id>7727d8fe8ab175c740b9593bf265257eeed28995</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase: Patches were applied upstream</title>
<updated>2016-07-09T16:24:10+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-07-09T16:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=89246ef0df580ef992a2726e8873105cfe7d775b'/>
<id>89246ef0df580ef992a2726e8873105cfe7d775b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase: Fix ln -f option</title>
<updated>2016-07-03T10:06:19+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-07-03T10:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=52b76cb615034dc8db23f3f76edcef8a150dd510'/>
<id>52b76cb615034dc8db23f3f76edcef8a150dd510</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase/install: Handle -c flag</title>
<updated>2016-06-05T06:43:22+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-05T06:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=51c44b5e4d26cb969822af002faaf21d497d41a6'/>
<id>51c44b5e4d26cb969822af002faaf21d497d41a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase: Fix some od bugs</title>
<updated>2016-06-05T06:37:03+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-05T06:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=3c035f1cb1bb3d2d0527c496754690d7414d113d'/>
<id>3c035f1cb1bb3d2d0527c496754690d7414d113d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sbase: Various bug fixes</title>
<updated>2016-05-19T06:34:21+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-05-19T06:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=addcd3fe22424b1803bf04b4ddc170192a0a0fc8'/>
<id>addcd3fe22424b1803bf04b4ddc170192a0a0fc8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
