Simpler vcsh_trusted_checkout?

2014-04-24 Thread Lorenzo Cappelletti
Hi everyone, I'm new to the list. I discovered myrepos, along with vcsh, by listening to episode #13 [1] of gitminutes.com. I started playing with it the other day and I immediately found it really useful, especially the bootstrap function. One thing I don't understand. I find

Patch early_help

2014-04-28 Thread Lorenzo Cappelletti
Hi everyone, I noticed that an error in your .mrconfig file prevents mr from displaying the help message (mr help). This is because loadconfig() is called before help(). I wrote a patch on github: https://github.com/lorcap/myrepos/tree/early_help Cheers, -- Lorenzo

[PATCH 1/5] bootstrap: add support to local files

2014-05-01 Thread Lorenzo Cappelletti
Signed-off-by: Lorenzo Cappelletti lorenzo.cappelle...@gmail.com --- mr | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/mr b/mr index ddc0738..8601aeb 100755 --- a/mr +++ b/mr @@ -1669,30 +1669,43 @@ sub register { } sub bootstrap

[PATCH 2/5] bootstrap: fix documentation to reflect new capability

2014-05-01 Thread Lorenzo Cappelletti
Signed-off-by: Lorenzo Cappelletti lorenzo.cappelle...@gmail.com --- mr | 31 --- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/mr b/mr index 8601aeb..b606736 100755 --- a/mr +++ b/mr @@ -28,7 +28,7 @@ Bmr [options] grep pattern Bmr [options] run

[PATCH 5/5] bootstrap: document stdin

2014-05-01 Thread Lorenzo Cappelletti
Signed-off-by: Lorenzo Cappelletti lorenzo.cappelle...@gmail.com --- mr | 5 + 1 file changed, 5 insertions(+) diff --git a/mr b/mr index d59dc39..dba54cc 100755 --- a/mr +++ b/mr @@ -152,6 +152,11 @@ Cssh://[user@]host:file. You can retrieve the config file by other means and pass its

[PATCH 3/5] bootstrap: rename url to src for consistency with documentation

2014-05-01 Thread Lorenzo Cappelletti
Signed-off-by: Lorenzo Cappelletti lorenzo.cappelle...@gmail.com --- mr | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/mr b/mr index b606736..be2bac6 100755 --- a/mr +++ b/mr @@ -1240,7 +1240,7 @@ my %loaded; sub loadconfig { my $f

Re: Patch local_bootstrap

2014-05-25 Thread Lorenzo Cappelletti
On Mon, Apr 28, 2014 at 11:31 AM, Lorenzo Cappelletti lorenzo.cappelle...@gmail.com wrote: I wrote a patch set that allows to bootstrap from a local file or stdin. I thought it'd be useful for someone else, too, and decided to share on github: https://github.com/lorcap/myrepos/tree

Re: [PATCH 1/5] bootstrap: add support to local files

2014-05-27 Thread Lorenzo Cappelletti
On Tue, May 27, 2014 at 9:42 PM, Joey Hess j...@kitenet.net wrote: What is the use case for using mr bootstrap with a local file or with stdin? Current boostrap relays on curl which may not be available on the hosting system. If other alternatives are available (wget, ftp, scp), I can retrieve

Re: [PATCH] Fix vcsh_trusted_checkout

2014-05-27 Thread Lorenzo Cappelletti
On Tue, May 27, 2014 at 9:45 PM, Joey Hess j...@kitenet.net wrote: I don't really use vcsh, so my guess is that the former syntax was needed by an old version and it has been simplified to the new syntax? I think you're right. vcsh 1.20140313 supports both syntaxes: run repo \

Re: To use vcsh or not to use vcsh, that is the question

2017-01-11 Thread Lorenzo Cappelletti
My usage of vcsh is when I need to "merge" the content of two or more repositories into one directory. myrepos is handy when I issue bulk commands. When there is no such needs, plain git is the default option. -- Lorenzo ___ vcs-home mailing list

Re: best : one repo or multiple repo ?

2017-03-04 Thread Lorenzo Cappelletti
The beauty of vcsh is that it supports both because it depends on your needs. For example, I have: * a repo for my config stuff (bash, inputrc, etc.) that I share between home and work * a repo for scripts I use at work only * a repo for my home NAS (e.g., scripts for MythTV). If you start one