Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
CalcyteJS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • eResearch
  • CalcyteJS
  • Issues
  • #4

Closed
Open
Opened Aug 02, 2018 by Mike Lake@950654Owner

Need to support siegfried options.

The siegfried default.sig is assumed to be in $HOME/siegfried unless you invoke sf with "-home". I'm not using the default $HOME/siegfried for good reasons and use an alias sf="sf -home /shared/homes/mlake/siegfried". This is because siegfried does not have a config file as far as I can find.

However when calcyfy runs it invokes sf through a shell using the line below from collection.js: JSON.parse(shell.exec('sf -nr -json "' + dir + '"', {silent:true}).stdout); This invokes a shell which does not have any of a users normal aliases or env settings. So for me sf won't work here.

Solution: Using a calcyfy.conf file that can contain a siegfried_home var that can be set to e.g. /shared/homes/mlake/siegfried and then use shell.exec('sf -home siegfried_home -nr -json "' + ....); would work but that supports only that option. We need to support general options so maybe a siegfried options var which is a general string shell.exec('sf siegfried_opts -nr -json "' + ....);

Better might be to get siegfried to support a conf file and we can them do a shell.exec('sf -c /path/to/siegfried.conf -nr -json "')

Edited Aug 02, 2018 by Mike Lake
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: eresearch/CalcyteJS#4