question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parameter --entryname does not work for workflows

See original GitHub issue

Bug Report

found during #1216

Expected behaviour

The publish command on CLI should use the optional parameter --entryname to specify a new name for the entry specified by the required parameter --entry. This should register and publish the a copy of the entry under with a new name.

Actual behaviour

This feature is currently broken for both hosted and non-hosted workflows, but works for tools. The basic publish and unpublish CLI commands still work, just not with --entryname.

At first it seemed like it was only broken for hosted workflows since ‘dockstore.org’ wasn’t considered a valid registry, but attempting with non-hosted workflows also result in errors. Seems like the code hasn’t been updated for a while and needs reworking.

Steps to reproduce the behaviour

You might need to be an owner of the entry for --entryname

for tools (works):

dockstore tool publish --entry quay.io/ldcabansay/toolpotato --entryname foopotato

for workflows:

dockstore workflow publish --entry dockstore.org/geezlooueez/granularPotato --entryname delme

note: also try with non-hosted workflow.

Environment (Browser or OS and Dockstore version)

DockstoreAPI - 1.6.0-rc.0

┆Issue is synchronized with this Jira Bug ┆fixVersions: Dockstore 2.X ┆friendlyId: DOCK-633 ┆sprint: Sprint 50- Yellowfin Tuna ┆taskType: Bug

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
coverbeckcommented, Nov 20, 2020

➤ Richard Hansen commented:

Do we want mirrored functionality for hosted Tools? Currently, when specifying an entryname the hosted tool is registered, but no source files are copied over. (half the functionality of option 2)

I would say no, just print the error message as well.

0reactions
unito-botcommented, Nov 20, 2020

➤ Richard Hansen commented:

Do we want mirrored functionality for hosted Tools? Currently, when specifying an entryname the hosted tool is registered, but no source files are copied over. (half the functionality of option 2)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workflow Question on how to strip off an extension?
I have a workflow that pulls in metadata to attach to a PDF file. The PDF file is named per a unique number...
Read more >
4. FAQ — Common Workflow Language User Guide 0.1 ...
This example shows how you can change the name of an input file as part of a ... step in a workflow and...
Read more >
Common Workflow Language User Guide - Dr Toby Hodges
Learn how to describe and handle input parameters and files to a tool. The inputs of a tool is a list of input...
Read more >
Circle ci Workflow Build error. Matrix and Name parameters ...
I don't think that's the correct syntax. See the CircleCI documentation:.
Read more >
NetSuite Applications Suite - Workflows as XML Definitions
The workflow does not require administrator permission to run. The following fields provide the basic definition of a workflow: isinactive – The isinactive ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found