google-code-export / flies

Automatically exported from code.google.com/p/flies
GNU Lesser General Public License v2.1
2 stars 0 forks source link

As a mvn/py client I would like to specify the "profile" in flies.ini, so that I can use whatever server and project I want to, without typing all required argument. #251

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
User story: As a mvn/py client I would like to specify the "profile" in 
flies.ini, so that I can use whatever server and project I want to, without 
typing all required argument.

flies.ini looks like following:

[servers]
local.url = http://localhost:8080/flies/
local.username = admin
local.key = 89374905823750973249502873490888

hudson.url = http://hudson.englab.bne.redhat.com/flies/
hudson.username = bob
hudson.key = 21654321651303467618640511051515

jboss.url = https://translate.jboss.org/
jboss.username = robert
jboss.key =  13246817676681768761687196246543

===============
Intuitively, it looks like we can use the profile name (the name in front of . 
) to specify the arguments.

The use cases are create projects and versions before cloning the translation 
projects.

Original issue reported on code.google.com by dchen%re...@gtempaccount.com on 23 Feb 2011 at 12:35

GoogleCodeExporter commented 9 years ago
As long as the user specifies the server URL, the client will get the 
corresponding username and key from flies.ini.  But I agree that it would be 
more usable if the client could say:

$ flies user create --server jboss
 or
$ mvn flies:putuser -Dflies.server=jboss

I think this will be less important if we fix issue 252.

Original comment by sean.flanigan@gmail.com on 23 Feb 2011 at 5:14