pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Getting the latest pkgsrc.tar.gz
On Oct 17, 9:56am, "Rakhesh Sasidharan" wrote:
}
} > That's what -P (prune) is for. In CVS, directories are not removed, only
} > files are. So if e.g. this www/mono package is removed, this means the
} > files in that directory are removed (with "cvs rm") from te repository.
} > The directory itself however keeps existing. The -P flag tells the cvs
} > client to look for empty directories and remove them for your local tree.
}
} So removed package => empty directory in repository => directory
} removed from my local tree coz of the "-P" flag. Cool.
That is the theory... The idea is that if there are empty
directories on the local drive after the update, the directory will be
removed. However, the README.html file isn't in the repository. These
are generated and added when the tarball is created. Since they aren't
in the repository, cvs won't remove them from the local system. This
means that the directory of packages that have been removed won't be
completely empty, which in turn means that cvs won't remove the
directory. I don't know of any automated way of cleaning out these
directories. However, if you come across a directory that has nothing
but a README.html file (and possibly a work directory), you can assume
that the package was deleted and delete the directory. BTW, you can
create the README.html files yourself by typing 'cd /usr/pkgsrc && make
readme'.
}-- End of excerpt from "Rakhesh Sasidharan"
Home |
Main Index |
Thread Index |
Old Index