You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/12/02 14:00:04 UTC

[GitHub] [openwhisk] cjelger opened a new issue #4758: Add __OW_ACTION_VERSION in action metadata

cjelger opened a new issue #4758: Add __OW_ACTION_VERSION in action metadata
URL: https://github.com/apache/openwhisk/issues/4758
 
 
   In many cases (e.g. caching), it would be useful that the action code would be able to access the action version in something like `__OW_ACTION_VERSION`. For example, this would allow a developer to create cache keys that would contain the action version and would change after each deployment.
   
   @rabbah On Slack you also mentioned maybe adding some hash to make sure that undeploying and redeploying an action would not recreate similar version numbers, so something like `0.0.1-1a2b3c4d` and `0.0.1-9f8e7d6c`.
   
   I can try to create the PR, never did any Scala but it doesn't look very complicated for that little change ... except I'm not sure about the hash. Any idea here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services