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 (6 years, 9 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by mspo

# pkgsrc-wip migration to git TODO

## convert repository

- get list of committers

	sourceforge user name => Full Name (possible mostly from commit emails)
	and email address (ask on pkgsrc-users).

	asked in [[http://mail-index.netbsd.org/pkgsrc-users/2015/08/11/msg021991.html]]

	[[authors list started here|http://wiki.netbsd.org/users/wiz/authorslist/]]

	how to use authors list: see e.g. reposurgeon(1) "ARTIFACT REMOVAL" section, "authors" keyword

- convert

- close down CVS

	add a new script with an error message (indicating the new repository
	location) and exit 1, and use it as verifymsg script for the wip
	tree. See e.g. [[here|http://stackoverflow.com/questions/1857101/use-the-commit-message-in-a-cvs-pre-commit-hook]]

## git setup

- set up git server (SSH) -- done

- set up HTTP server for repository

	but which?
	- git serve(r)
	- cgit
	- gitolite

- add user accounts

	ask for SSH keys on pkgsrc-user

	done in [[http://mail-index.netbsd.org/pkgsrc-users/2015/08/21/msg022059.html]]

- add script that generates commit emails

- add script that checks no new branches are created (done)

- add script that complains about pulling without -r?

	like libreoffice does if you have local commits

## sourceforge shutdown

- shut down remaining mailing lists

- clean up htdocs-wip

	make htdocs-wip a redirect to [[wip-users]]
	and link the new location

## documentation

- how users should set up their global git config -- done

- how to pull -- done

- how to push -- done

- how to rebase

- what else?

## various

- snapshots
    should the snapshots include .git?  Doesn't seem worth it.

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