Sam Ruby wrote on 4/27/17 9:44 AM:
> On Thu, Apr 27, 2017 at 9:13 AM, Shane Curcuru <[email protected]> wrote:
>> Sam Ruby wrote on 4/26/17 12:37 PM:
>>> On Wed, Apr 26, 2017 at 11:47 AM, Shane Curcuru <[email protected]> 
>>> wrote:
...snip...

> Unrelated, but since you have found irb, here is something I have
> added to my bash profile.  You might find it handy (obviously adapt
> the path):
> 
> alias wrb='irb -I $HOME/git/whimsy/lib -r whimsy/asf'
> 
> It not only saves you a line of data entry per invocation, it ensures
> that you pick up any changes you make to the library itself.

Nice.  Adjust -I path as needed, obviously.

...snip...
>> Question: Where, specifically, can the /content directory live?  I have
>> one, but it's not getting found.
>>
>> ~/.whimsy
>> :svn:
>> - /Users/curcuru/src/*
>>
>> Air-McShane:content curcuru$ pwd
>> /Users/curcuru/src/asf/incubator/public/trunk/content
>> Air-McShane:content curcuru$ ls -la podlings.xml
>> -rw-r--r--  1 curcuru  staff  171605 Apr 26 22:11 podlings.xml
>>
>> It *also* fails if I move this svn checkout to not have the /asf level
>> of directories.  What is your .whimsy and tree of actual checkouts?
> 
> My current whimsy file doesn't have any svn or git entries.  I have my
> /srv directory set up just like the whimsy-vm's, though some of the
> paths have symlinks to where the directories actually live.
> 
> What that means is the my svn configuration is effectively /srv/svn/*
> 
> Here's the svn info of the directory in question:
> 
> rubys@rubixb:/srv/svn/incubator-content$ svn info
> Path: .
> Working Copy Root Path: /srv/svn/incubator-content
> URL: https://svn.apache.org/repos/asf/incubator/public/trunk/content
> Relative URL: ^/incubator/public/trunk/content
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1792869
> Node Kind: directory
> Schedule: normal
> Depth: files
> Last Changed Author: johndament
> Last Changed Rev: 1792833
> Last Changed Date: 2017-04-26 20:50:35 -0400 (Wed, 26 Apr 2017)
> 
> 
> You should NOT have mirror the directory structure of svn.  A flat
> directory which contains the immediate checkouts required will do just
> fine.  You can check out the parent (or ancestor) of a given svn
> directory, but having empty directories mimicking the directory
> structure won't work.

Correct - that was my problem.  Solved by doing:

cd /Users/curcuru/src/
svn co https://svn.apache.org/repos/asf/incubator/public/trunk/content
incubator-content

Thus, the metaphor is that ~/.whimsy :svn: entries tie the name: of the
entry to the local path, immaterial of where that directory lives
vis-a-vis any other bits of that repo.  That is, whimsy tools just care
about specific dirs within various repos, not the rest of the structure
of those repos.

So just having mimic'ed the svn.a.o/repos/asf/* directory structure
locally, but not having full checkouts doesn't work (as you said).

Thanks,


-- 

- Shane
  https://www.apache.org/foundation/marks/resources

Reply via email to