Skip to content

Latest commit

 

History

History
111 lines (76 loc) · 2.72 KB

README.rst

File metadata and controls

111 lines (76 loc) · 2.72 KB

pyred offers a wrapper for redmine project hosting server with mechanize. The wrapper can be used from python with redmine.Redmine class or with the pyred cli script

Initalize pyred

Login

The pyred script remebers the url address of the server, the last login and its password. Those data are stored in ~/.pyred.cfg.

Register users

The redmine server often has to be customized for the local needs. User names should be tell to pyred, so they can be used as names instead of ids.

Special trackers

The local redmine server can have special tracker over the defaults one, that should be known by pyred.

The Redmine class should store all the available tracker option in trackers attribute, not just the special ones:

_Remark_ user-id and tracker-id are stored in ~/.pyred.cfg under users and trackers section.

Actions

After the configuration of pyred we can run some action on it.

_Remark_ atomsk will be the project name at the actions, and 42 will be the issue id

Upload file to a project

Upload a file to an issue

Create an issue

Parent issue and watchers are optionals.

List issue

Have fun!