Modify

Opened 23 months ago

Last modified 4 months ago

#11160 new enhancement

Shell command to create project

Reported by: anonymous Owned by: falkb
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Hi, is there any shell command for unix to create a project under SSMPP, thank you in advance

Attachments (3)

__init__.py-11160.patch (729 bytes) - added by Cinc 4 months ago.
Add admin commands plugin
SOURCES.tst-11160.patch (782 bytes) - added by Cinc 4 months ago.
Add admin commands plugin
admin_command.py (5.7 KB) - added by Cinc 4 months ago.
Add admin commands plugin, main file.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 23 months ago by falkb

No, you can only do that via /roadmap. Somehow this is related to comment:ticket:10733:8.

comment:2 Changed 23 months ago by rjollos

Yeah, you'd need to implement IAdminCommandProvider. It would be fun though, right? ... if only we could find the time ;) comment:8:ticket:10733: should help with the implementation like you suggest.

comment:3 Changed 23 months ago by anonymous

I'm creating a shell script to create projects easily, creating the repository, linking it to trac and the only thing I was missing is the creation of the project under SSMPP, thank you very much for your answers

comment:4 Changed 4 months ago by Cinc

I'm currently working on a patch.

comment:5 Changed 4 months ago by Cinc

The following three files add admin commands to the plugin.

Changed 4 months ago by Cinc

Add admin commands plugin

Changed 4 months ago by Cinc

Add admin commands plugin

Changed 4 months ago by Cinc

Add admin commands plugin, main file.

comment:6 Changed 4 months ago by Cinc

The second file is of course SOURCES.txt...

comment:7 Changed 4 months ago by rjollos

You (and the plugin maintainer receiving your patches) may find the information in trac:TracDev/SubmittingPatches useful. Most people find the unified diff format much easier to deal with rather than entire copies of the modified files.

comment:8 Changed 4 months ago by falkb

No worries, it's OK for me. Either Tortoise SVN merges that or I use BeyondCompare which offers partial merge in a side-by-side view.

comment:9 Changed 4 months ago by falkb

If you like, you could give him write access to the repository. His patches are good, useful and straight forward to a neat plugin. I would reserve all rights of the maintainer though including taking the rights away again (in case of bigger unsolvable trouble (which I don't expect though)). ;-)

comment:10 Changed 4 months ago by falkb

testing result on project remove testtest :

  File "build\bdist.win32\egg\simplemultiproject\model.py", line 241, in execute_sql_statement
    for id in ids_projects:
TypeError: 'int' object is not iterable

comment:11 Changed 4 months ago by falkb

The command syntax and help texts look good to me (y)

comment:12 Changed 4 months ago by rjollos

At the request of falkb, Cinc has been provided write access to the SimpleMultiProjectPlugin repository.

comment:13 Changed 4 months ago by anonymous

Thanx Ryan :-)

Add Comment

Modify Ticket

Action
as new The owner will remain falkb.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.