chiark / gitweb /
wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Aug 2014 23:56:11 +0000 (00:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Aug 2014 23:56:11 +0000 (00:56 +0100)
.gitignore
Makefile
access-table.lout
libavg.fig
notes

index 75f6127e606e296b6ef51cb7e38e0cf34c57f412..1d06b3219c1d16f878a27417481924496baa4623 100644 (file)
@@ -1,10 +1,12 @@
 *~
 lout.li
 *.lout.ld
-libavg.ps
+*.ps
 ps
 t
 t.*
 *.bak
 *.1
 libavg-gitk-cut.ppm
+slides.pdf
+slides.ps
index e323e1463d3b5198fe64f747bd21cd96ecab5988..e33bb68195e0eb00e20d7553b0e4b657596aacff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
 
+SLIDES=libavg access-table
+
+SLIDEFILES=$(addsuffix .ps, $(SLIDES))
+
 o= >$@.new && mv -f $@.new $@
 
 all:   slides.pdf
@@ -12,3 +16,12 @@ libavg.ps: libavg-gitk-cut.ppm libavg-clone.ppm
        iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
        # wtf!
        LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
+
+%.ps:  %.lout
+       lout $< $o
+
+slides.ps: $(SLIDEFILES) Makefile
+       cat $(SLIDEFILES) $o
+
+slides.pdf:     slides.ps Makefile
+       ps2pdf $< $@
index c31d949b7a58c1aa1f26f76023764711e9b54c07..15ebbeef01f8d878c127e58b55b6ab2be3b44657 100644 (file)
@@ -4,7 +4,7 @@
 @SysInclude{docf}
 @SysInclude{tbl}
 @Use { @BasicSetup
-  @InitialFont { Times Base 20p }
+  @InitialFont { Times Base 18p }
 }
 @Use { @DocumentSetup
   @PageOrientation { Landscape }
      @Cell                D }
   bformat { @StartHSpan @Cell A | @HSpan | @HSpan | @HSpan }
 {
-@Rowb A { dgit access to Debian for various classes of user //2vx }
-@Rowa A { } B { DD } C { DM } D { anonymous }
+@Rowb A { dgit access to Debian for various classes of user //1vx }
+@Rowa A { } B { DD |10m } C { DM } D { anonymous }
 @Rowa
    ruleabove { yes }
    A { "fetch/" //1vx "clone" }
-   B { {@Ding a19} @Sup 1 }
+   B { {@Ding a19} @Sup @Dagger,@DaggerDbl }
    C { red @Colour { Needs projectb data service } //1vx
-                     "#727702", "#720590" }
+                     "#727702", "#720590", @Dagger  }
    D { red @Colour { Needs projectb data service } //1vx
       "#727702", "#720590"  //1vx
       red @Colour { Needs move to new git server } //1vx
 @Rowa
    ruleabove { yes }
    A { "push" }
-   B { {@Ding a19} @Sup 1 }
+   B { {@Ding a19} @Sup @Dagger,@DaggerDbl }
    C { red @Colour { Needs move to new git server } //1vx
       "#720173", DSA RT
    }
-   D { Not desired }
+   D { grey @Colour { Not desirable } }
 }
 @LP
 @LP
 Notes
 @LP
-1. User must have alioth account; requirement will be abolished
+@Dagger. User must have alioth account; requirement will be abolished
 after move to new git server.
+//1vx
+@DaggerDbl.
+
+{Courier Base 12p} @Font {
+"| ssh 'iwj@mirror.ftp-master.debian.org' 'export LANG=C; psql -A service=projectb -c '\\''" //1vx
+"        SELECT source.version, component.name, files.filename, files.sha256sum" //1vx
+"          FROM source" //1vx
+"          JOIN src_associations ON source.id = src_associations.source" //1vx
+"          JOIN suite ON suite.id = src_associations.suite" //1vx
+"          JOIN dsc_files ON dsc_files.source = source.id" //1vx 
+"          ..."
+}
+
 @End @Text
index b67fb438699d0c800c1c60f569a82f1172eb24ab..4f974f4134d60d3af41a835ee5165fec1d9e5b6c 100644 (file)
@@ -7,9 +7,9 @@ A4
 Single
 -2
 1200 2
-2 5 0 1 0 -1 50 -1 -1 0.000 0 0 -1 0 0 5
-       0 libavg-clone.ppm
-        495 270 7624 270 7624 5713 495 5713 495 270
 2 5 0 1 0 -1 50 -1 -1 0.000 0 0 -1 0 0 5
        0 libavg-gitk-cut.ppm
         810 5940 12691 5940 12691 9098 810 9098 810 5940
+2 5 0 1 0 -1 50 -1 -1 0.000 0 0 -1 0 0 5
+       0 libavg-clone.ppm
+        495 270 6625 270 6625 4950 495 4950 495 270
diff --git a/notes b/notes
index 48b1759331c596374e13f5c3750d996f6617dbe9..cb873b5f6f23e67d81b0f21331bdf8f16781e03a 100644 (file)
--- a/notes
+++ b/notes
@@ -86,6 +86,8 @@ commit to tie the invented commit into the previous dgit history.
 
 (QUILTY WORKFLOW)
 
+[ synthetic patch example ]
+
 At the moment, dgit doesn't attempt to do anything clever with `3.0
 (quilt)' source packages.
 
@@ -98,8 +100,10 @@ git log.
 
 Overall this means that currently when you work on a quilty package in
 dgit, you don't interact with the quilt patch stack.  This is less
-than ideal and I intend to improve this, perhaps by having dgit use
-git-dpm as a bidirectional gateway between `3.0 (quilt)' and git.
+than ideal.
+
+I intend to improve this, perhaps by having dgit use git-dpm as a
+bidirectional gateway between `3.0 (quilt)' and git.
 
 This will generate a rebasing-style git branch.  After a patch series
 has been edited with rebase, dgit push will have to generate a `fake
@@ -110,23 +114,28 @@ a well-understood git manipulation.)
 
 [table]
 
+Probably the biggest problem with dgit right now is that it is only
+useable for DDs.  This is particularly galling for a tool which is
+especially useful for users, downstreams, mentees, and so forth.
+
+There are two obstacles to widening the access, relating to the
+archive and to the git server.
+
+Firstly, dgit needs to query the archive to find the current version
+of the package and obtain a copy of the .dsc.  At the moment there is
+no official interface which provides this data.  There is the rmadison
+server but it sometimes serves stale or wrong data and there is no
+authentication - that is, there is no way for the client to tell that
+the data is accurate.  So what dgit does right now is ssh to coccia
+and run SQL commands against its mirror of the ftpmaster database.
+This is obviously mad.  ftpmaster have promised me a proper query
+service API (via HTTP and TLS).
+
+Secondly, dgit is currently using alioth as its git server, and the
+collab-maint group there for authentication.  This is not ideal for a
+number of reasons.  Alioth does a lot of other things and is therefore
+less secure and reliable than would be ideal.  dgit's required
+authentication model is not a very good fit for alioth's
+infrastructure.  We intend to move this to a VM of its own - I've
+spoken to DSA (in the person of Tollef) about this.
 
-
-  works well for DDs
-  works badly for everyone else :-/
-    serious problem, needs escalating
-
-  access limitations
-
-    ssh cocca psql -c SELECT BLAH
-
-      ftpmaster have a plan to help with this but has not been implemented
-
-    alioth collab-maint
-
-      push by signed tag
-
-      need to abandon alioth because of collab-maint security issues
-
-
-xxx adoption