mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 07:06:13 +01:00
Putting names at the top of files is is not recommended. Collective wisdom for
fostering open source contributions says that it can discourage contribution by conveying a false sense of "code ownership". Marking territory is negatively affecting collaboration. See http://www.youtube.com/watch?v=ZSFDm3UYkeE
This commit is contained in:
parent
9935faf3ba
commit
be4f2b031f
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# Copyright (C) 2008 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2008 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2006 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# vim: sw=4 et
|
# vim: sw=4 et
|
||||||
|
|
||||||
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2006 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
@ -268,7 +268,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
opens the program specified by the environmental variable EDITOR with a
|
opens the program specified by the environmental variable EDITOR with a
|
||||||
temporary file. Alternatively, content to be saved can be supplied via
|
temporary file. Alternatively, content to be saved can be supplied via
|
||||||
the --file switch. If the argument is '-', input is taken from stdin:
|
the --file switch. If the argument is '-', input is taken from stdin:
|
||||||
osc meta prjconf home:poeml | sed ... | osc meta prjconf home:poeml -F -
|
osc meta prjconf home:user | sed ... | osc meta prjconf home:user -F -
|
||||||
|
|
||||||
When trying to edit a non-existing resource, it is created implicitely.
|
When trying to edit a non-existing resource, it is created implicitely.
|
||||||
|
|
||||||
@ -2497,8 +2497,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
Note the global -A and -H options (see osc help).
|
Note the global -A and -H options (see osc help).
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
osc req /source/home:poeml
|
osc req /source/home:user
|
||||||
osc req -m PUT -f /etc/fstab source/home:poeml/test5/myfstab
|
osc req -m PUT -f /etc/fstab source/home:user/test5/myfstab
|
||||||
|
|
||||||
${cmd_usage}
|
${cmd_usage}
|
||||||
${cmd_option_list}
|
${cmd_option_list}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2006 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
@ -18,9 +18,9 @@ After reading the config, urllib2 is initialized.
|
|||||||
The configuration dictionary could look like this:
|
The configuration dictionary could look like this:
|
||||||
|
|
||||||
{'apisrv': 'https://api.opensuse.org/',
|
{'apisrv': 'https://api.opensuse.org/',
|
||||||
'user': 'poeml',
|
'user': 'joe',
|
||||||
'api_host_options': {'api.opensuse.org': {'user': 'poeml', 'pass': 'secret'},
|
'api_host_options': {'api.opensuse.org': {'user': 'joe', 'pass': 'secret'},
|
||||||
'apitest.opensuse.org': {'user': 'poeml', 'pass': 'secret',
|
'apitest.opensuse.org': {'user': 'joe', 'pass': 'secret',
|
||||||
'http_headers':(('Host','api.suse.de'),
|
'http_headers':(('Host','api.suse.de'),
|
||||||
('User','faye'))},
|
('User','faye'))},
|
||||||
'foo.opensuse.org': {'user': 'foo', 'pass': 'foo'}},
|
'foo.opensuse.org': {'user': 'foo', 'pass': 'foo'}},
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# vim: sw=4 et
|
# vim: sw=4 et
|
||||||
|
|
||||||
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2006 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2006 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# this is basically a copy of python-urlgrabber's TextMeter class,
|
# this is basically a copy of python-urlgrabber's TextMeter class,
|
||||||
# with support added for dynamical sizing according to screen size.
|
# with support added for dynamical sizing according to screen size.
|
||||||
# it uses getScreenWidth() scrapped from smart.
|
# it uses getScreenWidth() scrapped from smart.
|
||||||
# Peter Poeml <poeml@suse.de>
|
# 2007-04-24, poeml
|
||||||
|
|
||||||
|
|
||||||
from urlgrabber.progress import BaseMeter, format_time, format_number
|
from urlgrabber.progress import BaseMeter, format_time, format_number
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# Copyright (C) 2008 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2008 Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# This program is free software; it may be used, copied, modified
|
||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
|
4
setup.py
4
setup.py
@ -5,8 +5,8 @@ from distutils.core import setup
|
|||||||
setup(name='osc',
|
setup(name='osc',
|
||||||
version='0.7',
|
version='0.7',
|
||||||
description='opensuse commander',
|
description='opensuse commander',
|
||||||
author='Peter Poeml',
|
author='openSUSE project',
|
||||||
author_email='poeml@suse.de',
|
author_email='opensuse-buildservice@opensuse.org',
|
||||||
license='GPL',
|
license='GPL',
|
||||||
url='https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/',
|
url='https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user