Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 07:13:11 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   Merging several branches with ports tree
Message-ID:  <1406297591500-5931719.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
I have several ports branches that get merged to the ports tree. The
structure is such that a pristine (un-merged) copy of each branch is located
under: /asp/git/ports, /asp/git/marcuscom, /asp/git/linux-c6, /asp/git/my-pc

I then want to copy all files under each branch to /usr/ports using a
combination of rsync and the marcusmerge script. The steps I wish to run:
1. rsync -uav --exclude=.git /asp/git/ports/ /usr/ports/
2. marcusmerge (works, no problem)
3. rsync -av --exclude=.git/ /asp/git/linux-c6/ /usr/ports/ (works, no
problem)
4. rsync -av /asp/git/my-pc/ /usr/ports/

Steps #1 and #4 are the problem.
* a simple "rsync -a OR -ua" in step 1 does not seem to work when rsyncing
onto a merged structure and causes problems. What can I use here, so as to
ensure updates to the primary port tree get written to the combined folder
(/usr/ports)?
* my-pc is a self maintained my ports collection. It has one folder with my
collection in it, but the problem is that the top-level Makefile and
Mk/bsd.port.mk "VALID_CATEGORIES" must be modified to include the myports
collection. How can I merge this set to /usr/ports?




-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/Merging-several-branches-with-ports-tree-tp5931719.html
Sent from the freebsd-ports mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1406297591500-5931719.post>