1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-30 19:56:14 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
Andreas Hasenkopf
f817db1053 Automatic package publication via Travis CI
* `.travis.yml`
  - Reformatted for easier reading
  - Used `before_*` statements instead of script chains
  - Publish only source packages
* `setup.py`
  - Reformatted for easier reading
  - Use README contents for `long_description` to have a nice description on PyPI
  - Added classifiers
  - Added explicit package dependencies
* fixes #658
* fixes #708
2020-04-06 09:32:01 +02:00
lethliel
36ab05c222 [python3] setup.py now supports python3 2018-12-13 13:15:31 +01:00
Tomáš Čech
b37452157b remove osc_hotshot.py
osc_hotshot.py is long time untouched and broken thus I assume it is
safe to be removed

fixes issue #400
2018-04-10 06:34:07 +02:00
Marcus Huewe
fdb773bbc9 setup.py: make build_docs' base class more explicit
distutils.command.build.Command is distutils.core.Command.
2016-09-16 16:09:59 +02:00
Marcus Huewe
7849e23eb5 setup.py: take potential "--build-base=<dir>" option into account
For instance, if osc is build and installed like this:
python setup.py build --build-base=<dir> ... install ...

The patch is based on Roman Neuhauser's (neuhauser@sigpipe.cz)
PR (see https://github.com/openSUSE/osc/pull/229).
2016-09-16 16:04:25 +02:00
cav71
383f586f28 sphinx documentation, initial commit 2016-02-15 22:36:50 +00:00
Dmitry Marakasov
8cd08c352b Add FreeBSD to the list of platforms 2013-02-06 03:43:36 +04:00
Sascha Peilicke
d2592fdd25 Adjust git urls after github.com migration. 2011-10-20 10:38:09 -08:00
Sascha Peilicke
438569f821 PEP8-ified parts of the code.
Exchange individual return statements with a finally statement in the
big try/except statement in babysitter.py. If you return a different
value in the 'except' clause, it takes precedency over the 'finally'
clause (finally is executed before returning, naturally).
2011-07-08 16:09:44 +02:00
Petr Uzel
197c10f661 Return argument to do_man back
Revert a part of b3c5204, the do_main has to have at least one
argument, unless following exception will appear

osc.cmdln.CmdlnError: incorrect argcount for do_man(): takes 1, must
take 2 for 'argv' signature or 3+ for 'opts' signature

Signed-off-by: Petr Uzel <puzel@suse.cz>
Signed-off-by: Michal Vyskocil <mvyskocil@suse.cz>
2010-12-22 13:29:52 +01:00
Henne Vogelsang
98aa12c9a3 fix links that point into the wiki
Signed-off-by: Henne Vogelsang <hvogel@opensuse.org>
2010-07-27 17:24:05 +02:00
Danny Kukawka
b3c5204b59 fixed serveral warnings from pychecker.py
Fixed serveral warnings from pychecker.py like such:
- Parameter ($) not used
- Local variable ($) not used

Including fixes like:
- remove not needed imports
- don't read apiurl in core.py from config if already available via
  function parameter
- delPerson(): check for user as e.g. in addPerson()
2010-07-26 16:46:21 +02:00
Larry Gilbert
829d27d606 Update source code repository references 2010-02-06 14:45:24 -08:00
Pavol Rusnak
121b20c63c more fixes for Windows port 2009-05-15 11:40:50 +00:00
Pavol Rusnak
4996e49f59 optional support for py2exe
(inspired by http://viewsvn.cihar.com/viewvc.cgi/wammu/trunk/setup.py?view=markup)
2009-05-14 15:49:54 +00:00
Marcus Hüwe
c3405ae489 - fixed manpage generation: in build environments like the obs we cannot call 'osccli.main(argv = ['osc','man'])' because osc would except a config file etc.
- enabled manpage generation again
2009-05-10 10:42:36 +00:00
Martin Mohring
aa9f93b851 - fixed: until its known what these lines do, fix code back to a working state 2009-05-09 16:48:36 +00:00
Marcus Hüwe
1bb63e4ab7 - fixed setup.py
- compress manpage
2009-05-09 14:16:18 +00:00
Michal Cihar
427445a24d Automatically generate and install man page (bnc#471888). 2009-05-06 11:47:53 +00:00
Michal Cihar
0d27064a28 Add some metainformation to setup.py and also include correct version
there (it is later used in generated egg file).
2009-05-06 09:33:18 +00:00
Marcus Hüwe
151dc92e21 - install the util dir 2009-03-24 19:12:39 +00:00
Dr. Peter Poeml
be4f2b031f 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
2009-03-02 14:03:06 +00:00
Dr. Peter Poeml
20a13e7b3b - bump version (0.7)
- initial support for local builds (subcommand 'build')
2006-07-14 17:39:46 +00:00
Dr. Peter Poeml
537d6b62cc version 0.6 2006-05-30 10:31:25 +00:00
Dr. Peter Poeml
aa36c25505 - add 'help' subcommand (and add help :-)
- make all subcommands functions -- so they can be used from outside (they
  still print directly their output; they could become iterators later)
- deprecate 'init' subcommand
- 0.5
2006-05-23 13:48:58 +00:00
Dr. Peter Poeml
432252aef1 increase version in setup.py as well 2006-05-22 14:15:17 +00:00
Dr. Peter Poeml
4b83218cf6 0.3
status: 
- use new file metadata which provides checksum, size and mtime 
- don't list unmodified files
- fix some conditions where status was too stupid so far
update: 
- much faster now, since only new or changed files are downloaded
- print revision number
checkout:
- mark project directory as such (to be used later)
diff:
- faster, since 'status' is faster
- work against local copy
checkin: 
- update package metadata from specfile 
- fix argument handling 
add: 
- ignore .osc and other files
other changes:
- sanitize argument handling, so most commands can work with
  arbitrary files/directories as arguments (work is always done per package)
- add history command (doesn't seem to be working yet)
- on first usage, ask for username password on first usage, 
  and store them in .oscrc (.netrc can still be used)
2006-05-19 20:13:29 +00:00
Dr. Peter Poeml
aaa41561be - reorganize source to build a python module
- add setup.py
- add osc-wrapper.py as a wrapper script, so the module can be used when
  installed in the system as well as in the uninstalled source directory
2006-05-10 14:21:51 +00:00