[INSTRM-78] Use 'ics_archiver' for product name to opscore.utility.config.ConfigOptionParser Created: 17/Jan/17  Updated: 15/Jun/17  Resolved: 15/Jun/17

Status: Done
Project: Instrument control development
Component/s: ics_archiver
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: shimono Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently, 'archiver' is passed to config.ConfigOptionParser,
https://github.com/Subaru-PFS/ics_archiver/blob/master/bin/archiveServer.py#L130
but repository name is 'ics_archiver', so this should be as:

    cli = config.ConfigOptionParser(
        product_name='ics_archiver',config_file='archiver.ini',config_section='server'  
    )


 Comments   
Comment by arnaud.lefur [ 17/May/17 ]

We are still using a little hack to make this work
export ARCHIVER_DIR=$ICS_ARCHIVER_DIR

But we need to fix that.

Comment by arnaud.lefur [ 23/May/17 ]

commit https://github.com/Subaru-PFS/ics_archiver/commit/fcccdb2779f1f72ac8c82d5d844c47af6b466f75

Comment by shimono [ 15/Jun/17 ]

closing this ticket, patch(es) are already merged.

Generated at Sat Feb 10 16:21:18 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.