diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000188.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000188.html | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000188.html b/zarb-ml/mageia-sysadm/2010-November/000188.html new file mode 100644 index 000000000..d19b76b36 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000188.html @@ -0,0 +1,111 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] Packages SVN + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Packages%20SVN&In-Reply-To=%3C20101104064840.GB29113%40maude.comedia.it%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000184.html"> + <LINK REL="Next" HREF="000190.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] Packages SVN</H1> + <B>Luca Berra</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Packages%20SVN&In-Reply-To=%3C20101104064840.GB29113%40maude.comedia.it%3E" + TITLE="[Mageia-sysadm] Packages SVN">bluca at vodka.it + </A><BR> + <I>Thu Nov 4 07:48:40 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000184.html">[Mageia-sysadm] Packages SVN +</A></li> + <LI>Next message: <A HREF="000190.html">[Mageia-sysadm] Packages SVN +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#188">[ date ]</a> + <a href="thread.html#188">[ thread ]</a> + <a href="subject.html#188">[ subject ]</a> + <a href="author.html#188">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Wed, Nov 03, 2010 at 11:12:53PM +0100, Olivier Blin wrote: +><i>nicolas vigier <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>> writes: +</I>><i> +</I>>><i> We can also remove history on cauldron binary branch, although it will +</I>>><i> require to stop new commits for a few minutes/hours, doing something like +</I>>><i> this : +</I>>><i> <A HREF="http://robmayhew.com/delete-parts-of-subversion-history/">http://robmayhew.com/delete-parts-of-subversion-history/</A> +</I>><i> +</I>><i>Right, we could do in such a way. +</I>><i>Each N distro branch could contain binary history from N-1 to N. +</I>><i> +</I>><i>For example when we release 2011.1, we would have binary history in the +</I>><i>2011.1 distro branch from 2011.0 to 2011.1, and start cauldron from a +</I>><i>one-revision copy. +</I>><i> +</I>><i>Though, there is a disadvantage that could get problematic, when we do +</I>><i>backports, we would have to copy the binaries to all target distros, and +</I>><i>it would not be a cheap SVN copy anymore. +</I>><i>This could get pretty big with games and OOo... +</I> +I wonder why use svn at all in order to store blobs +IMHO it does not give any advantage +source tarballs in packages are usually compressed, so no delta is +possible, besides that sources are usually removed and the new one is +added, so it wont be even tried. +removing something from SVN is a PITA +creating a branch for each distro will waste enormous amounts of space, +and will create the issue pointed above by blino. + +why not just use flat files to store flat files? +iirc redhat is doing this to store files + +if i were to design this i would index flat files by sha +and modify repsys/mdvsys in order to commit a file containing the sha in +<A HREF="svn://specrepo/package/SOURCES/foo-0.0.1.tar.xz">svn://specrepo/package/SOURCES/foo-0.0.1.tar.xz</A> instead of the real blob +and checkout the real file from <A HREF="file://binrepo/hashed_dir/sha">file://binrepo/hashed_dir/sha</A> instead of +the dummy. + +Cleanup can be done programmatically by retrieving dummy files from the +specrepo, with a set criteria (eg stuff tagged with a distro release +number), and killing the unreferenced ones. + +This would also be useful spacewise, because we could safely kill blobs +that were never released: when in cauldron we upload a svn/git version +of foo to test, but in the release a real version is included. After a +while killing all the foo-0.0.1.svn203892 that never went into a release +would be nice and noone will miss them. + +It would also allow to share the same blob beetween two different +packages, maybe less useful, but it would come for free. + +L. + +-- +Luca Berra -- <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">bluca at vodka.it</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000184.html">[Mageia-sysadm] Packages SVN +</A></li> + <LI>Next message: <A HREF="000190.html">[Mageia-sysadm] Packages SVN +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#188">[ date ]</a> + <a href="thread.html#188">[ thread ]</a> + <a href="subject.html#188">[ subject ]</a> + <a href="author.html#188">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |