[Python-apps-commits] r14216 - in packages/weresync/trunk (23 files)

donyorm-guest at users.alioth.debian.org donyorm-guest at users.alioth.debian.org
Fri Jul 14 08:10:07 UTC 2017


    Date: Friday, July 14, 2017 @ 08:10:06
  Author: donyorm-guest
Revision: 14216

[svn-inject] Applying Debian modifications (1.0.6-1) to trunk

Added:
  packages/weresync/trunk/debian/
  packages/weresync/trunk/debian/changelog
  packages/weresync/trunk/debian/compat
  packages/weresync/trunk/debian/control
  packages/weresync/trunk/debian/copyright
  packages/weresync/trunk/debian/docs
  packages/weresync/trunk/debian/gbp.conf
  packages/weresync/trunk/debian/manpages
  packages/weresync/trunk/debian/rules
  packages/weresync/trunk/debian/source/
  packages/weresync/trunk/debian/source/format
  packages/weresync/trunk/debian/source/include-binaries
  packages/weresync/trunk/debian/tests/
  packages/weresync/trunk/debian/tests/control
  packages/weresync/trunk/debian/tests/main
  packages/weresync/trunk/debian/upstream/
  packages/weresync/trunk/debian/upstream/signing-key.pgp
  packages/weresync/trunk/debian/watch
  packages/weresync/trunk/debian/weresync-doc.doc-base
  packages/weresync/trunk/debian/weresync-doc.docs
  packages/weresync/trunk/debian/weresync-gui.1
  packages/weresync/trunk/debian/weresync.1
  packages/weresync/trunk/debian/weresync.links


Property changes on: packages/weresync/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/weresync/trunk/debian/changelog
===================================================================
--- packages/weresync/trunk/debian/changelog	                        (rev 0)
+++ packages/weresync/trunk/debian/changelog	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,5 @@
+weresync (1.0.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #849716) 
+
+ -- Daniel Manila <daniel.develop at manilas.net>  Fri, 30 Jun 2017 12:20:41 +0600

Added: packages/weresync/trunk/debian/compat
===================================================================
--- packages/weresync/trunk/debian/compat	                        (rev 0)
+++ packages/weresync/trunk/debian/compat	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1 @@
+10

Added: packages/weresync/trunk/debian/control
===================================================================
--- packages/weresync/trunk/debian/control	                        (rev 0)
+++ packages/weresync/trunk/debian/control	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,84 @@
+Source: weresync
+Section: admin
+Priority: optional
+Maintainer: Daniel Manila <daniel.develop at manilas.net>
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python3-alabaster,
+               python3-all,
+               python3-docutils,
+               python3-parse,
+               python3-pytest,
+               python3-setuptools,
+               python3-sphinx,
+               python3-yapsy
+Standards-Version: 4.0.0
+Testsuite: autopkgtest
+Homepage: https://github.com/DonyorM/weresync
+X-Python3-Version: >= 3.4
+
+Package: weresync
+Architecture: all
+Depends: python3-gi, ${misc:Depends}, ${python3:Depends}
+Suggests: weresync-doc
+Description: incrementally clones running drives
+ This package allows you to clone your drive to a target drive. It clones the
+ drive incrementally, so after the first clone it will take a much shorter time.
+ It provides both the "weresync" and "weresync-gui" commands, in order to run
+ the program.
+ .
+ Why use WereSync?
+ .
+ WereSync is accessible to less-technical users. It comes with a simple
+ interface and clone a drive with a single command while your computer is
+ running. No booting to a live disk or pushing through a long initiation
+ process. Unlike dd or CloneZilla, WereSync requires a low level of technical
+ skill and has an easy learning curve
+ .
+ WereSync can run while the your main drive is being used, instead of blocking
+ your computer up for hours at a time
+ .
+ WereSync will incrementally update clones, making subsequent clones much
+ faster.
+ .
+ WereSync works quickly, a single command copies your entire drive, no booting
+ to live CDs or managing MBRs.
+ .
+ WereSync can copy to a smaller drive, provided your drive's data will fit.
+ .
+ WereSync creates new UUIDs for the new partitions, allowing you to use the
+ old and new drives alongside each other.
+
+Package: weresync-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: incrementally clones running drives (documentation package)
+ This package allows you to clone your drive to a target drive. It clones the
+ drive incrementally, so after the first clone it will take a much shorter time.
+ It provides both the "weresync" and "weresync-gui" commands, in order to run
+ the program.
+ .
+ Why use WereSync?
+ .
+ WereSync is accessible to less-technical users. It comes with a simple
+ interface and clone a drive with a single command while your computer is
+ running. No booting to a live disk or pushing through a long initiation
+ process. Unlike dd or CloneZilla, WereSync requires a low level of technical
+ skill and has an easy learning curve
+ .
+ WereSync can run while the your main drive is being used, instead of blocking
+ your computer up for hours at a time
+ .
+ WereSync will incrementally update clones, making subsequent clones much
+ faster.
+ .
+ WereSync works quickly, a single command copies your entire drive, no booting
+ to live CDs or managing MBRs.
+ .
+ WereSync can copy to a smaller drive, provided your drive's data will fit.
+ .
+ WereSync creates new UUIDs for the new partitions, allowing you to use the
+ old and new drives alongside each other.
+ .
+ This is the documentation package.

Added: packages/weresync/trunk/debian/copyright
===================================================================
--- packages/weresync/trunk/debian/copyright	                        (rev 0)
+++ packages/weresync/trunk/debian/copyright	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: weresync
+Source: https://github.com/DonyorM/weresync
+
+Files: *
+Copyright: 2016 Daniel Manila
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     /usr/share/common-licenses/Apache-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+Files: debian/*
+Copyright: 2017 Daniel Manila <daniel.develop at manilas.net>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

Added: packages/weresync/trunk/debian/docs
===================================================================
--- packages/weresync/trunk/debian/docs	                        (rev 0)
+++ packages/weresync/trunk/debian/docs	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1 @@
+README.rst

Added: packages/weresync/trunk/debian/gbp.conf
===================================================================
--- packages/weresync/trunk/debian/gbp.conf	                        (rev 0)
+++ packages/weresync/trunk/debian/gbp.conf	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,51 @@
+# Configuration file for "gbp <command>"
+
+[DEFAULT]
+# the default build command:
+#builder = debuild -i -I
+# the default clean command:
+#cleaner = debuild clean
+# the default branch for upstream sources:
+#upstream-branch = upstream
+# the default branch for the debian patch:
+#debian-branch = master
+# the default tag formats used:
+#upstream-tag = upstream/%(version)s
+#debian-tag = debian/%(version)s
+#debian-tag-msg = %(pkg)s Debian release %(version)s
+# use pristine-tar:
+#pristine-tar = True
+# don't check if debian-branch == current branch:
+#ignore-branch = True
+# Use color when on a terminal, alternatives: on/true, off/false or auto
+#color = auto
+
+# Options only affecting gbp buildpackage
+[buildpackage]
+# Look for a tag matching the upstream version when creating a tarball
+#upstream-tree = tag
+# uncomment this to automatically GPG sign tags:
+#sign-tags = True
+# keyid to GPG sign tags with:
+#keyid = 0xdeadbeef
+# push to a remote repository after a successful tag:
+#posttag = git-push git.example.com
+# call lintian after a successful build:
+postbuild = echo "Running debuild -- clean after building, see debian/gbp.conf" && debuild -- clean
+#postbuild = lintian $GBP_CHANGES_FILE
+# let package generate upstream changelog before build:
+#prebuild = GIT_DIR=$GBP_GIT_DIR debian/autogen.sh
+# use this for more svn-buildpackage like behaviour:
+#export-dir = ../build-area/
+#tarball-dir = ../tarballs/
+#ignore-new = True
+#export = HEAD
+# compress with bzip2
+#compression = bzip2
+# use best compression
+#compression-level = best
+# Don't send notifications, alternatives: on/true, off/false or auto
+#notify = off
+# Transparently handle submodules
+# submodules = True
+# Whether to use cowbuilder via git-pbuilder(1)

Added: packages/weresync/trunk/debian/manpages
===================================================================
--- packages/weresync/trunk/debian/manpages	                        (rev 0)
+++ packages/weresync/trunk/debian/manpages	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,2 @@
+debian/weresync-gui.1
+debian/weresync.1

Added: packages/weresync/trunk/debian/rules
===================================================================
--- packages/weresync/trunk/debian/rules	                        (rev 0)
+++ packages/weresync/trunk/debian/rules	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+DH_VERBOSE = 1
+export PYBUILD_DESTDIR = debian/weresync
+export PYBUILD_INSTALL_ARGS = --install-lib=/usr/share/weresync/
+
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild 
+
+override_dh_auto_install:
+	dh_auto_install
+	mv debian/weresync/usr/bin/weresync debian/weresync/usr/share/weresync/run
+	mv debian/weresync/usr/bin/weresync-gui debian/weresync/usr/share/weresync/run-gui
+
+override_dh_auto_build:
+	        dh_auto_build
+		https_proxy=127.0.0.1:9 http_proxy=127.0.0.1:9 PYTHONPATH=. python3 `which sphinx-build` -N -bhtml docs/source build/html # HTML generator


Property changes on: packages/weresync/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/weresync/trunk/debian/source/format
===================================================================
--- packages/weresync/trunk/debian/source/format	                        (rev 0)
+++ packages/weresync/trunk/debian/source/format	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/weresync/trunk/debian/source/include-binaries
===================================================================
--- packages/weresync/trunk/debian/source/include-binaries	                        (rev 0)
+++ packages/weresync/trunk/debian/source/include-binaries	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1 @@
+debian/upstream/signing-key.pgp

Added: packages/weresync/trunk/debian/tests/control
===================================================================
--- packages/weresync/trunk/debian/tests/control	                        (rev 0)
+++ packages/weresync/trunk/debian/tests/control	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,2 @@
+Tests: main
+Depends: @, python3-pytest

Added: packages/weresync/trunk/debian/tests/main
===================================================================
--- packages/weresync/trunk/debian/tests/main	                        (rev 0)
+++ packages/weresync/trunk/debian/tests/main	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,5 @@
+#! /usr/bin/python3
+
+import py
+py.test.cmdline.main()
+


Property changes on: packages/weresync/trunk/debian/tests/main
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/weresync/trunk/debian/upstream/signing-key.pgp
===================================================================
(Binary files differ)


Property changes on: packages/weresync/trunk/debian/upstream/signing-key.pgp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: packages/weresync/trunk/debian/watch
===================================================================
--- packages/weresync/trunk/debian/watch	                        (rev 0)
+++ packages/weresync/trunk/debian/watch	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,pgpsigurlmangle=s/$/.asc/ \
+https://pypi.debian.net/WereSync/WereSync-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

Added: packages/weresync/trunk/debian/weresync-doc.doc-base
===================================================================
--- packages/weresync/trunk/debian/weresync-doc.doc-base	                        (rev 0)
+++ packages/weresync/trunk/debian/weresync-doc.doc-base	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,11 @@
+Document: weresync
+Title: WereSync Application Documentation
+Author: Daniel Manila
+Abstract: This manual describes the various features of WereSync
+ and how to use them.
+Section: System/Administration
+
+Format: HTML
+Index: /usr/share/doc/weresync-doc/html/index.html
+Files: /usr/share/doc/weresync-doc/html/*.html
+

Added: packages/weresync/trunk/debian/weresync-doc.docs
===================================================================
--- packages/weresync/trunk/debian/weresync-doc.docs	                        (rev 0)
+++ packages/weresync/trunk/debian/weresync-doc.docs	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1 @@
+build/html

Added: packages/weresync/trunk/debian/weresync-gui.1
===================================================================
--- packages/weresync/trunk/debian/weresync-gui.1	                        (rev 0)
+++ packages/weresync/trunk/debian/weresync-gui.1	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1 @@
+.so weresync.1

Added: packages/weresync/trunk/debian/weresync.1
===================================================================
--- packages/weresync/trunk/debian/weresync.1	                        (rev 0)
+++ packages/weresync/trunk/debian/weresync.1	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,141 @@
+.\" Man page generated from reStructuredText.
+.
+.TH WERESYNC 1 "June 30th, 2017" "1.0" "admin"
+.SH NAME
+weresync \- clone linux drives incrementally
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" Manpage documentation for WereSync. This should be converted to the groff format using rst2man.py
+.
+.sp
+weresync\-gui \- GUI interface for the weresync program.
+.SH SYNOPSIS
+.INDENT 0.0
+.TP
+.B weresync [ options ] [\fB\-g\fP \fIROOT_PARTITION\fP] [\fB\-B\fP \fIBOOT_PARTITION\fP]
+[\fB\-E\fP \fIEFI_PARTITION\fP] [\fB\-L\fP \fIBOOTLOADER\fP]
+[\fB\-l\fP \fILVM_SOURCE\fP [\fILVM_TARGET\fP]]
+source target
+.UNINDENT
+.sp
+\fBweresync\-gui\fP
+.SH DESCRIPTION
+.sp
+WereSync clones linux drives incrementally producing a bootable clone. Clones produced by WereSync will have different UUIDs than the original drive, but WereSync will update the fstab and bootloader to allow the clone to properly boot. Clones can be created with one command or one button click, using \fIweresync\fP or \fIweresync\-gui\fP respectively.
+.SH OPTIONS
+.sp
+The \fIweresync\-gui\fP command takes no arguments. These arguments apply to the \fIweresync\fP command.
+.INDENT 0.0
+.TP
+.B \-\-h\fP,\fB  \-\-help
+Displays help message.
+.TP
+.B \-C\fP,\fB  \-\-check\-and\-partition
+Checks if all partitions are large enough and formatted correctly to allow drive to be copied. If the partitions are not valid, the target drive will be re\-partitioned and reformatted. If unset, no checking occurs.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-s, \-\-source\-mask \fIMASK\fP
+A string to be passed to format() that will produce a partition identifier (/dev/sda1 or such) of the source drive when passed two arguments: the identifier ("/dev/sda") and a partition number in that order. Defaults to "{0}{1}"
+.TP
+.B \-t, \-\-target\-mask \fIMASK\fP
+A string to be passed to format() that will produce a partition identifier (/dev/sda1 or such) of the source drive when passed two arguments: the identifier ("/dev/sda") and a partition number in that order. Defaults to "{0}{1}".
+.TP
+.B \-e, \-\-excluded\-partitions \fILIST\fP
+A list of comma separated partition numbers that should not be searched or copied at any time. These partitions will still be formatted if \-C is passed. Defaults to empty.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-b\fP,\fB  \-\-break\-on\-error
+If passed the program will halt if there are any errors copying. This flag is not recommended because it will halt even if encountering a normal issue, like a swap partition.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-g, \-\-root\-partition \fIPART_NUM\fP
+The partition mounted on /. It is recommended to pass this always, but WereSync will attempt to find the main partition even if it is not passed.
+.TP
+.B \-B, \-\-boot\-partition \fIPART_NUM\fP
+The partition that should be mounted on /boot of the grub_partition. If you have a separate boot partition, you must use this flag.
+.TP
+.B \-E, \-\-efi\-partition \fIPART_NUM\fP
+The partition that should be mounted on /boot/efi of the grub_partition. If passed this will create the /boot/efi folder if it does not exist and pass it to grub. Required if you have an EFI partition.
+.TP
+.B \-m, \-\-source\-mount \fIDIR\fP
+The directory to mount partitions from the source drive on. Cannot be the same as \-\-target\-mount. If unset, WereSync generates a randomly named directory in the /tmp dir.
+.TP
+.B \-M, \-\-target\-mount \fIDIR\fP
+The directory to mount partitions from the target drive on. Cannot be the same as \-\-source\-mount. If unset, WereSync generates a randomly named directory in the /tmp dir.
+.TP
+.B \-r, \-\-rsync\-args \fIRSYNC_ARGS\fP
+The arguments to be passed to the rsync instance used to copy files. Defaults to "\-aAXxH \-\-delete"
+.TP
+.B \-l, \-\-lvm \fISOURCE\fP [\fITARGET\fP]
+This argument expects either one or two arguments specifying the logical volume groups to copy from and to, respectively. If no target VG is passed, WereSync will use the VG SOURCE\-copy. If the target does not exist, WereSync will create it.
+.TP
+.B \-L, \-\-bootloader \fIBOOTLOADER\fP
+The plugin to use to install the bootloader. Such plugins can be found
+at the bottom of the help message. Defaults to using the "uuid_copy"
+plugin.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-v\fP,\fB  \-\-verbose
+Makes WereSync increase output and include more minor details.
+.TP
+.B \-d\fP,\fB  \-\-debug
+Causes a huge amount of output, useful for debugging the program. Usually not needed for casual use.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+Copyright 2016 Daniel Manila
+.sp
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+.nf
+
+.in +2
+\fI\%http://www.apache.org/licenses/LICENSE\-2.0\fP
+
+.in -2
+.fi
+.sp
+.sp
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+.SH SEE ALSO
+.sp
+Full documentation can be found at WereSync\(aqs documentation on Read The Docs:
+\fI\%https://weresync.readthedocs.io/en/master/\fP
+.SH AUTHOR
+Daniel Manila <dmv at springwater7.org>
+.\" Generated by docutils manpage writer.
+.

Added: packages/weresync/trunk/debian/weresync.links
===================================================================
--- packages/weresync/trunk/debian/weresync.links	                        (rev 0)
+++ packages/weresync/trunk/debian/weresync.links	2017-07-14 08:10:06 UTC (rev 14216)
@@ -0,0 +1,2 @@
+/usr/share/weresync/run /usr/bin/weresync
+/usr/share/weresync/run-gui /usr/bin/weresync-gui




More information about the Python-apps-commits mailing list