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 #2589 (closed)

Opened 14 years ago

Closed 14 years ago

Don't create var/ for OMERO.py deploy if not necessary

Reported by: jamoore Owned by:
Priority: major Milestone: OMERO-Beta4.2.1
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-10-28 (18)

Description

bin/omero automatically creates a var directory in the installation directory. This is not necessary for a simple scripting install. There should possibly be a way to distinguish between an OMERO.server and an OMERO.py download.

Change History (2)

comment:1 Changed 14 years ago by jmoore

(In [8334]) Moving var/ creation to admin.py (See #2589)

comment:2 Changed 14 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.2.1
  • Resolution set to fixed
  • Sprint set to 2010-10-28 (18)
  • Status changed from new to closed

Tested. No var directory created.

/tmp/OMERO.py-4.2.1-DEV-r8376-trunk1132 $ ls -ltra
total 0
drwxr-xr-x  22 moore  wheel   748 Oct 21 09:14 etc
drwxr-xr-x   6 moore  wheel   204 Oct 21 09:14 bin
drwxr-xr-x   6 moore  wheel   204 Oct 21 09:14 sql
drwxr-xr-x   4 moore  wheel   136 Oct 21 09:14 lib
drwxr-xr-x   6 moore  wheel   204 Oct 21 09:16 .
drwxrwxrwt  33 root   wheel  1122 Oct 21 12:49 ..
/tmp/OMERO.py-4.2.1-DEV-r8376-trunk1132 $ bin/omero script list
Previously logged in to localhost as root
Server: [localhost]
Username: [moore]bk
Password:
Created session f6918cc4-6234-4281-a116-651dfbed2355 (bk@localhost). Idle timeout: 10.0 min. Current group: demo
 id    | Official scripts                           
-------+--------------------------------------------
 32266 | /omero/analysis_scripts/FLIM.py            
 32267 | /omero/analysis_scripts/Run_Matlab.py      
 33016 | /omero/export_scripts/Make_Movie.py        
 33116 | /omero/figure_scripts/Movie_Figure.py      
 33017 | /omero/figure_scripts/Movie_ROI_Figure.py  
 33117 | /omero/figure_scripts/ROI_Split_Figure.py  
 33118 | /omero/figure_scripts/Split_View_Figure.py 
 33119 | /omero/figure_scripts/Thumbnail_Figure.py  
 32274 | /omero/import_scripts/Populate_ROI.py      
 32275 | /omero/setup_scripts/FLIM_initialise.py    
 33120 | /omero/util_scripts/Combine_Images.py      
 33121 | /omero/util_scripts/Images_From_ROIs.py    
(12 rows)
/tmp/OMERO.py-4.2.1-DEV-r8376-trunk1132 $ ls -ltra
total 0
drwxr-xr-x  22 moore  wheel   748 Oct 21 09:14 etc
drwxr-xr-x   6 moore  wheel   204 Oct 21 09:14 bin
drwxr-xr-x   6 moore  wheel   204 Oct 21 09:14 sql
drwxr-xr-x   4 moore  wheel   136 Oct 21 09:14 lib
drwxr-xr-x   6 moore  wheel   204 Oct 21 09:16 .
drwxrwxrwt  33 root   wheel  1122 Oct 21 12:49 ..
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.69025 sec.)

We're Hiring!