Hi,

This is all good with me.  And if there is an easier way to "basize"
the way we store the mirror urls then so much the better.  I'd probably
just python on and store them as a set, but ymmv!

Chris


On Tue, 31 May
2011 13:07:26 -0600 Adam Mckenzie <[email protected]> wrote:

> Hi Chris,
> 
> A couple of thoughts about the format. ":" is a terrible delimter
> since almost every URL has one :) I think <> are illegal in URLs so
> perhaps something more like:
> 
> <LIB_NAME_VERSION>
> http://offical.library.download
> http://mirror1.usask.ca
> http://mirror2.osna.de
> 
> <LIB2_NAME_VERSION>
> http://offical.library.download
> http://mirror1.usask.ca
> http://mirror2.osna.de
> 
> I recommend that we keep the list in SVN, but separate from our other
> branches. This way we can update the list based on the version (1.1,
> 1.2, 1.3 etc.) if the URLs disappear but not be bound to install
> legacy third party tools in case we no longer need them but a
> previous version of Matterhorn does. Something like:
> 
> http://opencast.jira.com/svn/MH/3rd_party/1.1/3rd_party.list
> http://opencast.jira.com/svn/MH/3rd_party/1.2/3rd_party.list
> http://opencast.jira.com/svn/MH/3rd_party/1.3/3rd_party.list
> 
> etc.
> 
> Cheers,
> Adam
> 
> On Tue, May 31, 2011 at 9:24 AM, Christopher Brooks
> <[email protected]>wrote:
> 
> > Hi,
> >
> > Couple of thoughts on mirroring third party tools to increase the
> > build experience.  I like the "put all of the urls in a list"
> > approach, where urls are in a giant properties file.  I propose we
> > do that and include a set of mirrors for that list too, so it would
> > look something like this:
> >
> > LIB_NAME_VERSION:
> > http://offical.library.download
> > http://mirror1.usask.ca
> > http://mirror2.osna.de
> >
> > LIB2_NAME_VERSION:
> > http://offical.library.download
> > http://mirror1.usask.ca
> > http://mirror2.osna.de
> >
> > etc.
> >
> > This file could be put up somewhere public on our website or in svn
> > or whatever.  Then we could cron up every night a job that goes
> > through and throws an error if wget doesn't return a file for each
> > of these.
> >
> > It also requires matjaz to write a routine to get resources,
> > something like:
> >
> > fun getResource(LIB_NAME_VERSION):
> >  //get a list of the mirrors for this version
> >  //randomly try one
> >  //if that one doesn't work remove it from list and repeat
> >  //when list is empty then throw an error and stop trying
> >
> > This lets us distribute load "fairly", yet lets anyone shut off
> > their mirror at any time.  Perhaps we should have the first value
> > the "principle" location that is always tried first just to keep
> > things reasonable on our machines.
> >
> > The issue of copyright and patents deserves a different message so
> > I'd like to separate this out.  The benefit of doing it this way
> > though is that we can have multiple mirrors for each library and
> > institutions can put up or down the mirrors whenever they want.
> >
> > Chris
> >
> > --
> > Christopher Brooks, BSc, MSc
> > ARIES Laboratory, University of Saskatchewan
> >
> > Web: http://www.cs.usask.ca/~cab938
> > Phone: 1.306.966.1442
> > Mail: Advanced Research in Intelligent Educational Systems
> > Laboratory Department of Computer Science
> >     University of Saskatchewan
> >     176 Thorvaldson Building
> >     110 Science Place
> >     Saskatoon, SK
> >     S7N 5C9
> > _______________________________________________
> > Matterhorn mailing list
> > [email protected]
> > http://lists.opencastproject.org/mailman/listinfo/matterhorn
> >
> >
> > To unsubscribe please email
> > [email protected]
> > _______________________________________________
> >
> 
> 
> 



-- 
Christopher Brooks, BSc, MSc
ARIES Laboratory, University of Saskatchewan

Web: http://www.cs.usask.ca/~cab938
Phone: 1.306.966.1442
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to