]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add TODO
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Oct 2007 19:45:42 +0000 (15:45 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Oct 2007 19:45:42 +0000 (15:45 -0400)
TODO [new file with mode: 0644]

diff --git a/TODO b/TODO
new file mode 100644 (file)
index 0000000..62df27e
--- /dev/null
+++ b/TODO
@@ -0,0 +1,38 @@
+* more revision control systems
+* support for tracking repo renames
+
+  It should be possible to tell mr that there used to be a repo at
+  src/foo/bar, and it's been moved to src/bar. mr would then detect if the
+  move needs to be done, and handle it. This is mostly useful when mrconfig
+  files are shared accross several systems.
+
+  [src/bar]
+  renamedfrom = src/foo/bar
+
+  (Support multple renames of a single repo?)
+
+* repo deletions
+
+  Handling repo deletions might also be possible, but is tricky, since
+  there's no good way to tell if a local checkout of a given repo is clean
+  and really should be deleted. Probably better for mr to just warn that a
+  repo still exists on disk that it is no longer managed.
+
+  [src/foo/baz]
+  deleted = yes
+
+* mr register
+
+  Idea is you check out a repo and then use mr register to add it to the
+  closest mrconfig file.
+
+  mr register would be implemented as a shell command that then calls
+  mr config with flags that make it actually edit the mrconfig file:
+
+  if [ -d "$MR_REPO/.svn" ]; then
+       url=$(svn info "$MR_REPO" | grep -i ^URL: | cut -d ' ' -f 2)
+       if [ -z "$url" ]; then
+               error "cannot determine svn url"
+       fi
+       mr -c "$MR_CONFIG" config --add "$MR_REPO" --checkout="svn co $URL"
+  fi