On Sun, 24 Nov 2019 at 15:30, Sam Ruby <ru...@intertwingly.net> wrote:

> On Sun, Nov 24, 2019 at 7:22 AM sebb <seb...@gmail.com> wrote:
> >
> > On Sun, 24 Nov 2019 at 01:53, Sam Ruby <ru...@intertwingly.net> wrote:
> >
> > > On Sat, Nov 23, 2019 at 8:30 PM Dave Fisher <wave4d...@comcast.net>
> wrote:
> > > >
> > > > It would be great to have a mapping between whimsy sections and svn
> > > paths, and allow whimsy developers to choose which svn paths are used
> for
> > > their current efforts.
> > >
> > > https://github.com/apache/whimsy/blob/master/repository.yml
> > > https://whimsy.apache.org/test/dataflow
> > >
> > > The latter is a work in progress.  Any efforts to fill in the blanks
> > > would be appreciated
> > >
> > > > I’ve felt uncomfortable with all the information I have to download
> to
> > > work on whimsy.
> > >
> > > I'm envisioning adding a configuration option where one can list which
> > > of these paths to either include or exclude (at your choice) from
> > > updates.
> > >
> > > My thoughts are that things that are small don't cause much concern.
> > > Here is the current sizes of the svn checkouts, in megabytes:
> > >
> > > 19331    iclas
> > > 1313    cclas
> > > 823    grants
> > > 699    Bills
> > > 673    member_apps
> > >
> >
> > I don't think any of the above are actually needed, except to check for
> > existence.
>
> So these could be replaced by calls to svn info?  We would just have
> to handle svn being down.
>
>
I was thinking of using svn ls to create a listing file which would be
cached locally.
svn info could be used to determine whether the local cache is up to date.

When creating a new file, Whimsy could use:
svnmucc -r 0 put <local> <remote>

This will fail if the remote is not at version 0, i.e. if it exists.

Similarly for files that are to be updated, except use what Whimsy thinks
is the current version number.



> - Sam Ruby
>
> > > 59    foundation_board
> > > 53    Meetings
> > > 51    minutes
> > > 10    site-img
> > > 6    steve
> > > 6    comdev-foundation
> > > 5    officers
> > > 4    foundation
> > > 3    board
> > > 3    apmail_bin
> > > 3    apachecon
> > > 2    officers_historic
> > > 2    incubator-content
> > > 2    brandlist
> > > 1    templates
> > > 1    site-root
> > > 1    site-board
> > > 1    qmail_control
> > > 1    personnel-duties
> > > 1    officers_surveys
> > > 1    ldap-map
> > > 1    incubator-podlings
> > > 1    foundation_mentors
> > > 1    comdevtalks
> > > 1    attic-xdocs
> > >
> > > > Sent from my iPhone
> > >
> > > - Sam Ruby
> > >
> > > > > On Nov 23, 2019, at 5:07 PM, Sam Ruby <ru...@intertwingly.net>
> wrote:
> > > > >
> > > > > On Sat, Nov 23, 2019 at 11:18 AM sebb <seb...@gmail.com> wrote:
> > > > >>
> > > > >> AFAICT Whimsy does not use its local checkout of Bills, so the
> > > directory
> > > > >> could be dropped.
> > > > >
> > > > > Agreed.
> > > > >
> > > > > - Sam Ruby
> > > >
> > >
>

Reply via email to