Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tag instead of main branch when importing tokens #57

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jul 5, 2024

In order to ensure traceability of the token version used per release, use a tag to import the Compound tokens.

Note that it's still possible to use a branch name for testing purpose only.

Also change vector-im to element-hq in the whole project.

Related to https://element-io.atlassian.net/browse/PSB-700

@bmarty bmarty requested a review from jmartinesp July 5, 2024 13:35
Copy link

codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.72%. Comparing base (0095ee9) to head (8eea707).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   85.72%   85.72%           
=======================================
  Files          23       23           
  Lines        2725     2725           
  Branches      224      224           
=======================================
  Hits         2336     2336           
  Misses        181      181           
  Partials      208      208           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

BRANCH='main'
SHORT=t,:
LONG=tag,:
TAG='v1.4.0'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, are we sure about this? I'd either set main as default or force the user to input a tag.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that to properly handle https://element-io.atlassian.net/browse/PSB-700 we should just have an hard-coded value of the tag somewhere and not allow passing it as command line parameter, to avoid any mistake. WDYT @giomfo

esac
done

echo "Branch used: $BRANCH"
echo "Tag used: $TAG"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use 'Ref' instead of tag?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, maybe...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants