コード例 #1
0
ファイル: generate_cmd.py プロジェクト: nayomal/bloom
def prepare_arguments(parser):
    add = parser.add_argument
    add("package_path", nargs="?", help="path to or containing the package.xml of a package")
    action = parser.add_mutually_exclusive_group(required=False)
    add = action.add_argument
    add("--place-template-files", action="store_true", help="places debian/* template files only")
    add("--process-template-files", action="store_true", help="processes templates in debian/* only")
    add = parser.add_argument
    add("--os-name", help="OS name, e.g. ubuntu, debian")
    add("--os-version", help="OS version or codename, e.g. precise, wheezy")
    add("--ros-distro", help="ROS distro, e.g. %s (used for rosdep)" % get_distro_list_prompt())
    return parser
コード例 #2
0
ファイル: generate_cmd.py プロジェクト: codebot/bloom
def prepare_arguments(parser):
    add = parser.add_argument
    add('package_path', nargs='?',
        help="path to or containing the package.xml of a package")
    action = parser.add_mutually_exclusive_group(required=False)
    add = action.add_argument
    add('--place-template-files', action='store_true',
        help="places rpm/* template file(s) only")
    add('--process-template-files', action='store_true',
        help="processes templates in rpm/* only")
    add = parser.add_argument
    add('--os-name', help='OS name, e.g. fedora, rhel')
    add('--os-version', help='OS version or codename, e.g. heisenbug, santiago')
    add('--ros-distro', help="ROS distro, e.g. %s (used for rosdep)" % get_distro_list_prompt())
    return parser
コード例 #3
0
def prepare_arguments(parser):
    add = parser.add_argument
    add('package_path', nargs='?',
        help="path to or containing the package.xml of a package")
    action = parser.add_mutually_exclusive_group(required=False)
    add = action.add_argument
    add('--place-template-files', action='store_true',
        help="places rpm/* template file(s) only")
    add('--process-template-files', action='store_true',
        help="processes templates in rpm/* only")
    add = parser.add_argument
    add('--os-name', help='OS name, e.g. fedora, rhel')
    add('--os-version', help='OS version or codename, e.g. heisenbug, santiago')
    add('--ros-distro', help="ROS distro, e.g. %s (used for rosdep)" % get_distro_list_prompt())
    return parser
コード例 #4
0
ファイル: generate_cmd.py プロジェクト: cottsay/bloom
def prepare_arguments(parser):
    add = parser.add_argument
    add('package_path', nargs='?',
        help="path to or containing the package.xml of a package")
    action = parser.add_mutually_exclusive_group(required=False)
    add = action.add_argument
    add('--place-template-files', action='store_true',
        help="places debian/* template files only")
    add('--process-template-files', action='store_true',
        help="processes templates in debian/* only")
    add = parser.add_argument
    add('--os-name', help='OS name, e.g. ubuntu, debian')
    add('--os-version', help='OS version or codename, e.g. precise, wheezy')
    add('--ros-distro', help="ROS distro, e.g. %s (used for rosdep)" % get_distro_list_prompt())
    add('--native', action='store_true', help="generate native package")
    return parser
コード例 #5
0
def prepare_arguments(parser):
    add = parser.add_argument
    add('package_path', nargs='?',
        help="path to or containing the package.xml of a package")
    action = parser.add_mutually_exclusive_group(required=False)
    add = action.add_argument
    add('--place-template-files', action='store_true',
        help="places debian/* template files only")
    add('--process-template-files', action='store_true',
        help="processes templates in debian/* only")
    add = parser.add_argument
    add('--os-name', help='OS name, e.g. ubuntu, debian')
    add('--os-version', help='OS version or codename, e.g. precise, wheezy')
    add('--ros-distro', help="ROS distro, e.g. %s (used for rosdep)" % get_distro_list_prompt())
    add('--install-prefix', default=None, help="overrides the default installation prefix (/usr)")
    add('--native', action='store_true', help="generate native package")
    return parser
コード例 #6
0
ファイル: rosdebian.py プロジェクト: allenh1/bloom
 def prepare_arguments(self, parser):
     # Add command line arguments for this generator
     add = parser.add_argument
     add('rosdistro',
         help="ROS distro to target (%s, etc.)" % get_distro_list_prompt())
     return DebianGenerator.prepare_arguments(self, parser)
コード例 #7
0
ファイル: config.py プロジェクト: vrabaud/bloom
This means the user will be prompted for the release tag on each release.
''',
        ':{none}': '''\
For svn and tar only you can set the release tag to :{none}, so that
it is ignored.  For svn this means no revision number is used.
'''
    },
    'devel_branch': {
        '<vcs reference>': '''\
Branch in upstream repository on which to search for the version.
This is used only when version is set to ':{auto}'.
''',
    },
    'ros_distro': {
        '<ROS distro>': "This can be any valid ROS distro, e.g. %s" %
                        get_distro_list_prompt()
    },
    'patches': {
        '<path in bloom branch>': '''\
This can be any valid relative path in the bloom branch. The contents
of this folder will be overlaid onto the upstream branch after each
import-upstream.  Additionally, any package.xml files found in the
overlay will have the :{version} string replaced with the current
version being released.''',
        ':{none}': '''\
Use this if you want to disable overlaying of files.'''
    },
    'release_repo_url': {
        '<url>': '''\
(optional) Used when pushing to remote release repositories. This is only
needed when the release uri which is in the rosdistro file is not writable.
コード例 #8
0
ファイル: config.py プロジェクト: vineethathk/bloom
        ':{none}':
        '''\
For svn and tar only you can set the release tag to :{none}, so that
it is ignored.  For svn this means no revision number is used.
'''
    },
    'devel_branch': {
        '<vcs reference>':
        '''\
Branch in upstream repository on which to search for the version.
This is used only when version is set to ':{auto}'.
''',
    },
    'ros_distro': {
        '<ROS distro>':
        "This can be any valid ROS distro, e.g. %s" % get_distro_list_prompt()
    },
    'patches': {
        '<path in bloom branch>': '''\
This can be any valid relative path in the bloom branch. The contents
of this folder will be overlaid onto the upstream branch after each
import-upstream.  Additionally, any package.xml files found in the
overlay will have the :{version} string replaced with the current
version being released.''',
        ':{none}': '''\
Use this if you want to disable overlaying of files.'''
    },
    'release_repo_url': {
        '<url>':
        '''\
(optional) Used when pushing to remote release repositories. This is only
コード例 #9
0
ファイル: rosdebian.py プロジェクト: codebot/bloom
 def prepare_arguments(self, parser):
     # Add command line arguments for this generator
     add = parser.add_argument
     add('rosdistro', help="ROS distro to target (%s, etc.)" % get_distro_list_prompt())
     return DebianGenerator.prepare_arguments(self, parser)