Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #1580 (closed)

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

Unify all command-line logins

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.2
Component: Deployment Version: 3.0-M1
Keywords: n.a. Cc: cxallan, dzmacdonald, carlos@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-03-05 (4)

Description (last modified by jmoore)

Currently there are a host of scripts, all of which require a different way to log in:

  • -s, -u, -w
  • -h, -u, getpass()
  • --sudo --sudopass
  • bin/omero config set
  • ...

These should be unified. Preferably, all would re-use an existing session if available:

$ bin/omero login [-s localhost] -p 4063 [-u name ...]
Server:
Username [bob]: 
Password:

and all would take the same options. Scripts involved:

  • omero/plugins/import.py (special because in Java)
  • omero/plugins/export.py
  • omero/plugins/download.py
  • omero/adduser.py
  • omero/util/populate_roi.py

Be sure to see:

Change History (13)

comment:1 Changed 14 years ago by jmoore

  • Description modified (diff)

comment:2 Changed 14 years ago by jmoore

  • Description modified (diff)

comment:3 Changed 14 years ago by jmoore

r6001 adds the "-w" option to the 4.1 branch. In trunk (4.2), the options may be changed.

comment:4 Changed 14 years ago by jmoore

  • Sprint set to Sprint 2
  • Type changed from User Story to Task

Will need to do some of this for script reworking.

comment:5 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:6 Changed 14 years ago by jmoore

comment:7 Changed 14 years ago by jmoore

  • Cc carlos@… added

r6204 corrects an issue with bin/omero import reported by Carlos.

comment:8 Changed 14 years ago by jmoore

r6205 adds missing file omero/util/sessions.py

comment:9 Changed 14 years ago by jmoore

  • Remaining Time set to 0.5

Need to unify the non-plugins now.

comment:10 Changed 14 years ago by wmoore

  • Sprint changed from 2010-02-19 (3) to 2010-03-05 (4)

comment:11 Changed 14 years ago by jmoore

  • Remaining Time changed from 0.5 to 0.25
  • r6212 corrects the login feature and updates all scripts except for populate_roi.py

comment:12 Changed 14 years ago by jmoore

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

r6215 closes. See #1948 and other #838 tasks.

comment:13 Changed 14 years ago by jmoore

(In [6770]) see #1580 - fixing _server method

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.73519 sec.)

We're Hiring!