<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oasis.git/core/kbd, 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>Run gen.rc from $dir, not $srcdir</title>
<updated>2016-06-28T05:14:07+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-28T05:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=07363d93857cddfba7179aaef4bc8bb5e7467c29'/>
<id>07363d93857cddfba7179aaef4bc8bb5e7467c29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kbd: Avoid globs</title>
<updated>2016-06-28T04:37:23+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-28T04:37:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=b9c641e62e676a7b7c7f0454c8e085206549b326'/>
<id>b9c641e62e676a7b7c7f0454c8e085206549b326</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>kbd: Style</title>
<updated>2016-06-18T05:10:22+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-18T05:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=033e5c4d8a7ce641a895a0327726bee0ac1cf2dc'/>
<id>033e5c4d8a7ce641a895a0327726bee0ac1cf2dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kbd: Fix DATADIR path</title>
<updated>2016-06-07T07:51:17+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-06-07T07:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=5ecc3a6d338b0874500c910a0b07ee86125b2265'/>
<id>5ecc3a6d338b0874500c910a0b07ee86125b2265</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kbd: Import lexer and parser from distributed archive</title>
<updated>2016-05-17T06:01:54+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-05-17T06:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=6a36d6aeb5ae04538340a43adaee8c3169df2196'/>
<id>6a36d6aeb5ae04538340a43adaee8c3169df2196</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use head -c -1; it's not portable</title>
<updated>2016-04-23T23:51:19+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2016-04-22T06:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/oasis.git/commit/?id=66ed83a51f7752464befbb48c08759293da32b4c'/>
<id>66ed83a51f7752464befbb48c08759293da32b4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
