Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
monkeysign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
monkeysphere
monkeysign
Commits
481407b3
Commit
481407b3
authored
10 years ago
by
Antoine Beaupré
Browse files
Options
Downloads
Plain Diff
Merge branch '1.x' into 2.x
Conflicts: debian/changelog debian/gbp.conf monkeysign/__init__.py
parents
0e123a71
c6e9772d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+10
-3
10 additions, 3 deletions
debian/changelog
monkeysign/cli.py
+1
-1
1 addition, 1 deletion
monkeysign/cli.py
monkeysign/ui.py
+5
-0
5 additions, 0 deletions
monkeysign/ui.py
with
16 additions
and
4 deletions
debian/changelog
+
10
−
3
View file @
481407b3
...
...
@@ -14,14 +14,21 @@ monkeysign (2.0~git0) experimental; urgency=low
-- Antoine Beaupré <anarcat@debian.org> Tue, 01 Oct 2013 14:34:48 +0200
monkeysign (1.2
~git0) UNRELEASED
; urgency=
low
monkeysign (1.2
) unstable
; urgency=
medium
* improve python 3 compatibility, partially (Closes: #725059)
* update translation strings
* spanish translation, thanks to lilbit
* partial french translation
-- Antoine Beaupré <anarcat@debian.org> Tue, 01 Oct 2013 14:42:58 +0200
* Czech translation, thanks to Michal Čihař
* Bug fix: "build_slides fails of two reasons", thanks to Felix Dreissig
(Closes: #738731).
* Bug fix: "build_manpage only works because of PyGTK encoding changes",
thanks to Felix Dreissig (Closes: #738730).
* Bug fix: "build_trans fails if called seperately", thanks to Felix
Dreissig (Closes: #738732).
-- Antoine Beaupré <anarcat@debian.org> Thu, 28 Aug 2014 20:23:57 -0700
monkeysign (1.1) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
monkeysign/cli.py
+
1
−
1
View file @
481407b3
...
...
@@ -40,7 +40,7 @@ passwords."""
def
parse_args
(
self
,
args
):
"""
override main parsing: we absolutely need an argument
"""
parser
=
MonkeysignUi
.
parse_args
(
self
,
args
)
if
self
.
pattern
is
None
:
if
self
.
pattern
is
None
and
not
self
.
options
.
version
:
parser
.
print_usage
()
sys
.
exit
(
_
(
'
wrong number of arguments, use -h for full help
'
))
...
...
This diff is collapsed.
Click to expand it.
monkeysign/ui.py
+
5
−
0
View file @
481407b3
...
...
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
monkeysign
import
__version__
# gpg interface
from
monkeysign.gpg
import
Keyring
,
TempKeyring
,
GpgRuntimeError
import
monkeysign.translation
...
...
@@ -69,6 +70,8 @@ class MonkeysignUi(object):
def
parser
(
self
):
"""
parse the commandline arguments
"""
parser
=
optparse
.
OptionParser
(
description
=
self
.
__doc__
,
usage
=
self
.
usage
,
epilog
=
self
.
epilog
,
formatter
=
NowrapHelpFormatter
())
parser
.
add_option
(
'
--version
'
,
dest
=
'
version
'
,
default
=
False
,
action
=
'
store_true
'
,
help
=
_
(
'
show version information and quit
'
))
parser
.
add_option
(
'
-d
'
,
'
--debug
'
,
dest
=
'
debug
'
,
default
=
False
,
action
=
'
store_true
'
,
help
=
_
(
'
request debugging information from GPG engine (lots of garbage)
'
))
parser
.
add_option
(
'
-v
'
,
'
--verbose
'
,
dest
=
'
verbose
'
,
default
=
False
,
action
=
'
store_true
'
,
...
...
@@ -150,6 +153,8 @@ class MonkeysignUi(object):
# initialize the temporary keyring directory
self
.
tmpkeyring
=
TempKeyring
()
if
self
.
options
.
version
:
self
.
abort
(
monkeysign
.
__version__
)
if
self
.
options
.
debug
:
self
.
tmpkeyring
.
context
.
debug
=
self
.
logfile
self
.
keyring
.
context
.
debug
=
self
.
logfile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment