Hello,

Just a heads up everybody, today I improved our git hook a bit so moving
packages is now a bit less PITA.

Old behaviour:

You had to remove all the untracked files (Changelog, source tarball,
build logs) manually using repoman del, then git mv; git commit; git
push, finally wait for syncpkgd till it puts the files you deleted back
in a few.

New behaviour:

git mv; git commit; git push, and then the git hook will notice that you
moved a FrugalBuild and it will see where was it originally, move
tracked files from the old dir to the new one, finally remove the old
directory.

Example:

----
    netkit-rsh-0.17-3-i686

    - move to extra

Do you want to push these patches? [ynq] y
Counting objects: 11, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.16 KiB, done.
Total 7 (delta 4), reused 0 (delta 0)
Moving untracked file: network/netkit-rsh/Changelog -> 
network-extra/netkit-rsh/Changelog
Moving untracked file: network/netkit-rsh/netkit-rsh-0.17-2-ppc.log.bz2 -> 
network-extra/netkit-rsh/netkit-rsh-0.17-2-ppc.log.bz2
Moving untracked file: network/netkit-rsh/netkit-rsh-0.17.tar.gz -> 
network-extra/netkit-rsh/netkit-rsh-0.17.tar.gz
Removing empty dir network/netkit-rsh
To [email protected]:/home/ftp/pub/frugalware/frugalware-current
   391bf1e..103d36d  master -> master
----

I also added a section titled 'Moving packages between categories' to
the repoman manpage.

Attachment: pgpj3btI6jkyJ.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to