File:  [NetBSD Developer Wiki] / wikisrc / users / wiz / wip-migration.mdwn
Revision 1.7: download - view: text, annotated - select for diffs
Sun Aug 23 18:32:29 2015 UTC (8 years, 3 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by mspo

    1: # pkgsrc-wip migration to git TODO
    2: 
    3: ## convert repository
    4: 
    5: - get list of committers
    6: 
    7: 	sourceforge user name => Full Name (possible mostly from commit emails)
    8: 	and email address (ask on pkgsrc-users).
    9: 
   10: 	asked in [[http://mail-index.netbsd.org/pkgsrc-users/2015/08/11/msg021991.html]]
   11: 
   12: 	[[authors list started here|http://wiki.netbsd.org/users/wiz/authorslist/]]
   13: 
   14: 	how to use authors list: see e.g. reposurgeon(1) "ARTIFACT REMOVAL" section, "authors" keyword
   15: 
   16: - convert
   17: 
   18: - close down CVS
   19: 
   20: 	add a new script with an error message (indicating the new repository
   21: 	location) and exit 1, and use it as verifymsg script for the wip
   22: 	tree. See e.g. [[here|http://stackoverflow.com/questions/1857101/use-the-commit-message-in-a-cvs-pre-commit-hook]]
   23: 
   24: ## git setup
   25: 
   26: - set up git server (SSH) -- done
   27: 
   28: - set up HTTP server for repository
   29: 
   30: 	but which?
   31: 	- git serve(r)
   32: 	- cgit
   33: 	- gitolite
   34: 
   35: - add user accounts
   36: 
   37: 	ask for SSH keys on pkgsrc-user
   38: 
   39: 	done in [[http://mail-index.netbsd.org/pkgsrc-users/2015/08/21/msg022059.html]]
   40: 
   41: - add script that generates commit emails
   42: 
   43: - add script that checks no new branches are created (done)
   44: 
   45: - add script that complains about pulling without -r?
   46: 
   47: 	like libreoffice does if you have local commits
   48: 
   49: ## sourceforge shutdown
   50: 
   51: - shut down remaining mailing lists
   52: 
   53: - clean up htdocs-wip
   54: 
   55: 	make htdocs-wip a redirect to [[wip-users]]
   56: 	and link the new location
   57: 
   58: ## documentation
   59: 
   60: - how users should set up their global git config -- done
   61: 
   62: - how to pull -- done
   63: 
   64: - how to push -- done
   65: 
   66: - how to rebase
   67: 
   68: - what else?
   69: 
   70: ## various
   71: 
   72: - snapshots
   73:     should the snapshots include .git?  Doesn't seem worth it.

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb