view readme @ 20:b59912649fc4

rewrite local hg scanner
author drewp@bigasterisk.com
date Sun, 09 Jan 2022 20:47:57 -0800
parents 7f479502a8ab
children
line wrap: on
line source

Mirrors a directory of darcs repos onto github.

Config description:
{
  "user"          : "<username on github>",
  "SSH_AUTH_SOCK" : "path to ssh-agent socket file, like /tmp/ssh-abcde12345/agent.12345",
  "gitHubToken"   : "<from https://github.com/account/admin>",
  "gitsyncDir"    : "<dir to dump the local git mirrors>",
  "darcsDir"      : "<dir whose subdirs are the darcs repos you want to mirror>",
  "darcsToGitCmd" : "/usr/bin/darcs-to-git" 
}

See also:
http://www.silverwareconsulting.com/index.cfm/2009/10/30/Placing-Config-Files-Under-Version-Control-with-Git-and-GitHub

-----

  hg bookmark -r default main
  hg push git+ssh://git@github.com/drewp/${repo}.git --quiet