Group :: Development/Tools
RPM: mr
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mr-1.20170129-alt1.patch
Download
Download
.gear/rules | 2 +
.../tags/260758d9252ed1f643ce7eae7095fa07445ee331 | 22 +++++
.gear/tags/list | 1 +
debian/gbp.conf | 11 +++
mr | 8 +-
mr.spec | 96 ++++++++++++++++++++++
6 files changed, 138 insertions(+), 2 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..3fcaf79
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=@name@-@version@
+diff: @version@:. . name=@name@-@version@-@release@.patch
diff --git a/.gear/tags/260758d9252ed1f643ce7eae7095fa07445ee331 b/.gear/tags/260758d9252ed1f643ce7eae7095fa07445ee331
new file mode 100644
index 0000000..1cbec4f
--- /dev/null
+++ b/.gear/tags/260758d9252ed1f643ce7eae7095fa07445ee331
@@ -0,0 +1,22 @@
+object 60e9c44a2c2cc884988324aec452e11339d7b20b
+type commit
+tag 1.20170129
+tagger Joey Hess <joeyh@joeyh.name> 1485713726 -0400
+
+tagging package myrepos version 1.20170129
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCAAdFiEE6FpfY7MdJMHr8NgcyRDZIiUS48cFAliOMT4ACgkQyRDZIiUS
+48dVwQ/+Oj/pXWIKumWd24tZM0BAsy2IlX1ZiFeMA6izdqVW8NCb5/7TuBcs+ygX
+njG6hBhcrH3TAuRET7wLbVEXtYbRsVJTLHUuQv5IZ71p9hdRHhrqn2XPErJsAXft
+YUHK/aIlOEgvM3ovxXZOmRPORm/pxS3J3m2LwAMo0spFYPEdx3adTABk5p3C1Nek
+Nhe82ajehlbOWvPxhOAb5lf80dgBPz5qeNxfWH8olkSI++wIR+xm2CbxbSJyWGDg
++kmlSDPi7OhnEGTcQTG/XEEndK51/Gowcbt1Vc35insxYhZdbchYcSuK4KRDT5sO
+xSngdxKyHOOLeU9U+MK/Dm1wxVGDyKyTrJd1Dnc6VNscQG/vrdP9vDdifb3Xgglk
+PPRsbiLIVc6Y/3UyqO7IHHB9/CSI5+D0ZwU4L2d/X+8MdztCI7Ew+fFUAr209Ylf
+3/FWptKDG6QVVXj/eU2cJGRcg78BdGpCKqanXTvYnWX1/YtnqChbHh3fRdw122Dh
+6GNRhm5ikkYV82+gFqa+zGRXUD9yg/SmnKFZp+XR7DaJfbD1tt2qj2CynszDeBud
+5vK0jYr/Mx585NHFCadN3fGXcmkUY7Arb/shmx+LFDDxYlQxr59i9GMb5yHNOOAC
+Yuu2RxM4D1rWyFyLSL4XdryDwJg3f1ugPAkhoFjzme1+YeRaxAE=
+=fjoI
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..d6a81f6
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+260758d9252ed1f643ce7eae7095fa07445ee331 1.20170129
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3e4b72c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,11 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = master
+upstream-tag = %(version)s
+debian-tag = %(version)s
+
+postbuild = lintian -IE --pedantic $GBP_CHANGES_FILE
+color = on
+compression = xz
+compression-level = 9
+
diff --git a/mr b/mr
index 861c034..0f67159 100755
--- a/mr
+++ b/mr
@@ -1785,7 +1785,7 @@ sub bootstrap {
# Retrieve config file.
eval q{use File::Temp};
die $@ if $@;
- my $tmpconfig=File::Temp->new();
+ my $tmpconfig=File::Temp->new(SUFFIX => '.mrconfig');
if ($src =~ m!^[\w\d]+://!) {
# Download the config file to a temporary location.
my @downloader;
@@ -1980,7 +1980,11 @@ sub main {
startingconfig();
loadconfig($HOME_MR_CONFIG);
- loadconfig($ENV{MR_CONFIG});
+ if ($directory) {
+ loadconfig($ENV{MR_CONFIG}, $directory);
+ } else {
+ loadconfig($ENV{MR_CONFIG});
+ }
#use Data::Dumper; print Dumper(\%config);
my $action=expandaction(shift @ARGV);
diff --git a/mr.spec b/mr.spec
new file mode 100644
index 0000000..f46c0e7
--- /dev/null
+++ b/mr.spec
@@ -0,0 +1,96 @@
+Name: mr
+Version: 1.20170129
+Release: alt1
+
+Summary: A tool to manage all your version control repos
+License: GPLv2+
+Group: Development/Tools
+
+Url: http://myrepos.branchable.com/
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+Packager: Pavel Nakonechnyi <zorg@altlinux.org>
+
+Provides: mr
+
+BuildArch: noarch
+BuildRequires: perl-podlators perl-libwww
+
+%description
+The mr(1) command can checkout, update, or perform other actions on
+a set of repositories as if they were one combined respository. It
+supports any combination of git, svn, mercurial, bzr, darcs, cvs, vcsh,
+fossil, and veracity repositories, and support for other version control
+systems can easily be added. (There are extensions adding support for unison
+and git-svn, among others.)
+
+It is extremely configurable via simple shell scripting. Some examples
+of things it can do include:
+ * Update a repository no more frequently than once every twelve hours.
+ * Run an arbitrary command before committing to a repository.
+ * When updating a git repository, pull from two different upstreams
+ and merge the two together.
+ * Run several repository updates in parallel, greatly speeding up
+ the update process.
+ * Remember actions that failed due to a laptop being offline, so they
+ can be retried when it comes back online.
+
+%package -n mr-webcheckout
+Summary: Check out repositories referenced on a web page
+Group: Development/Tools
+Requires: perl-HTML-Parser
+
+%description -n mr-webcheckout
+webcheckout downloads an url and parses it, looking for version control
+repositories referenced by the page. It checks out each repository into
+a subdirectory of the current directory, using whatever VCS program is
+appropriate for that repository (git, svn, etc).
+
+The information about the repositories is embedded in the web page using
+the rel=vcs-* microformat, which is documented at
+<http://kitenet.net/~joey/rfc/rel-vcs/>.
+
+If the optional destdir parameter is specified, VCS programs will be asked
+to check out repositories into that directory. If there are multiple
+repositories to check out, each will be checked out into a separate
+subdirectory of the destdir.
+
+%prep
+%setup
+%patch -p1
+
+%build
+%make_build
+
+%install
+%makeinstall_std
+install -d %buildroot%_docdir/%name-%version
+
+%files
+%_bindir/mr
+%_man1dir/mr*
+%_datadir/mr
+%doc mrconfig
+%doc mrconfig.complex
+%doc README
+
+%files -n mr-webcheckout
+%_bindir/webcheckout
+%_man1dir/webcheckout*
+
+%changelog
+* Mon Jun 05 2017 Pavel Nakonechnyi <zorg@altlinux.org> 1.20170129-alt1
+- updated to 1.20170129
+
+* Tue Nov 01 2016 Pavel Nakonechnyi <zorg@altlinux.org> 1.20160123-alt1
+- updated to 1.20160123
+- mr: create temporary file with '.mrconfig' suffix
+- mr: fix config parsing when '-c' and '-d' options are used
+- enabled webcheckout subpackage (thx Alexey Borisenkov)
+- spec cleanup and update
+
+* Sat Sep 22 2012 Terechkov Evgenii <evg@altlinux.org> 1.13-alt1
+- 1.13
+
+* Sat Sep 22 2012 Terechkov Evgenii <evg@altlinux.org> 1.12-alt1
+- Initial build for ALT Linux Sisyphus (based on Fedora spec)