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 vcsh_trusted_che
On Fri, Apr 25, 2014 at 7:52 AM, Lorenzo Cappelletti
wrote:
> One thing I don't understand. I find vcsh_trusted_checkout a bit
> cumbersome. Would a 'vcsh clone $url $repo' be easier?
I reply to myself. I studied mr's code and vcsh's manual page and I'm
c
On Mon, Apr 28, 2014 at 11:17 AM, Lorenzo Cappelletti
wrote:
> I forked myrepo on github. Here it is my 2 cents:
Oops! I forgot to add the link...
https://github.com/lorcap/myrepos/tree/fix_vcsh_trusted_checkout
--
Lorenzo
___
vcs-home mail
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
__
Hi everyone,
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/local_bootstrap
Cheers,
--
Lorenzo
___
vcs-h
On Apr 28, 2014 4:09 PM, "Adam Spiers" wrote:
>
> Perhaps you should submit pull requests for these?
Done already while I was posting here. Check out pull requests on Joey's
repo.
The thing is I don't know how Joey prefers receiving patches.
___
vcs-ho
On Tue, Apr 29, 2014 at 8:00 PM, Joey Hess wrote:
> Anything that I can handle while offline.
I'll assume formatted patch sets fall into
anything-that-I-can-handle-while-offline category and send them to you
only as not to flow this mailing-list.
Cheers,
--
Lorenzo
___
Signed-off-by: Lorenzo Cappelletti
---
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 {
+ eval q{use File::Copy
Signed-off-by: Lorenzo Cappelletti
---
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 @@ B [options] grep pattern
B [options] run command [param ...]
-B [options
Signed-off-by: Lorenzo Cappelletti
---
mr | 4
1 file changed, 4 insertions(+)
diff --git a/mr b/mr
index be2bac6..d59dc39 100755
--- a/mr
+++ b/mr
@@ -1715,6 +1715,10 @@ sub bootstrap {
if $downloader[0] eq 'curl' && $status >> 8 == 60;
Signed-off-by: Lorenzo Cappelletti
---
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 @@ C.
You can retrieve the config file by other means and pass its B as C.
+=item standard input
+
+If source C
Signed-off-by: Lorenzo Cappelletti
---
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=shift;
my $dir=shift
This avoids annoying error messages from config files being debugged
when running 'mr help'.
Signed-off-by: Lorenzo Cappelletti
---
mr | 47 +++
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/mr b/mr
index ddc0738..4cd3
Signed-off-by: Lorenzo Cappelletti
---
mr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mr b/mr
index ddc0738..ecd1c02 100755
--- a/mr
+++ b/mr
@@ -2076,7 +2076,7 @@ bzr_trusted_checkout = bzr checkout|clone|branch|get $url
$repo
hg_trusted_checkout = hg clone $url $repo
On Mon, Apr 28, 2014 at 11:31 AM, Lorenzo Cappelletti
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/local_boot
On Tue, May 27, 2014 at 9:42 PM, Joey Hess 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 the file and s
On Tue, May 27, 2014 at 9:45 PM, Joey Hess 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 \
Use this reposi
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
vcs-ho
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 wa
19 matches
Mail list logo