/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/copyright

  • Committer: Teddy Hogeborn
  • Date: 2019-03-31 04:39:25 UTC
  • mto: This revision was merged to the branch mainline in revision 382.
  • Revision ID: teddy@recompile.se-20190331043925-0j9pdspo3hux5nka
mandos-ctl: Refactor: Move command list generation into argparse

* mandos-ctl (add_command_line_options): Don't simply set flags for
                                         each option; instead, add
                                         command objects to a
                                         "commands" list.
  (check_option_syntax): Rework to deal with an already-generated
                         command list.
  (commands_from_options): Remove all code to generate command list,
                           but add more code to move command.Deny
                           ahead of command.Remove in command list.
  (command.PropertySetterValue.argparse): New; used in
                                          add_command_line_options.
  (Test_check_option_syntax): Refactor to pass actual string arguments
                              to parse_args() instead of modifying an
                              argparse.Namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
2
Upstream-Name: Mandos
 
3
Upstream-Contact: Mandos <mandos@recompile.se>
 
4
Source: <https://www.recompile.se/mandos>
 
5
 
 
6
Files: *
 
7
Copyright: Copyright © 2008-2019 Teddy Hogeborn
 
8
           Copyright © 2008-2019 Björn Påhlsson
 
9
License: GPL-3+
 
10
    This file is part of Mandos.
 
11
    .
 
12
    Mandos is free software: you can redistribute it and/or modify it
 
13
    under the terms of the GNU General Public License as published by
 
14
    the Free Software Foundation, either version 3 of the License, or
 
15
    (at your option) any later version.
 
16
    .
 
17
    Mandos is distributed in the hope that it will be useful, but
 
18
    WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
20
    General Public License for more details.
 
21
    .
 
22
    You should have received a copy of the GNU General Public License
 
23
    along with Mandos.  If not, see <http://www.gnu.org/licenses/>.
 
24
    .
 
25
    On Debian systems, the complete text of the GNU General Public
 
26
    License can be found in "/usr/share/common-licenses/GPL-3".