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

Fix regex for gitlab tokens. #427

Merged
merged 4 commits into from
Jan 28, 2022
Merged

Fix regex for gitlab tokens. #427

merged 4 commits into from
Jan 28, 2022

Conversation

kporras07
Copy link
Collaborator

This was previously 20 characters, now it's 26 characters. I'm opening support for both in case there are old gitlab installations still on 20 characters (not even sure if this is possible though)

@kporras07 kporras07 requested a review from a team January 28, 2022 00:10
rm /usr/local/bin/terminus
ln -s /opt/terminus/bin/t3 /usr/local/bin/terminus
mkdir ~/terminus && cd ~/terminus
curl -L https://github.com/pantheon-systems/terminus/releases/download/`curl --silent "https://api.github.com/repos/pantheon-systems/terminus/releases/latest" | perl -nle'print $& while m#"tag_name": "\K[^"]*#g'`/terminus.phar --output terminus
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it correct that there shouldn't be a space after download/?

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess so. For readability, it seems that the nested curl statement could be on a line before this and then included in the download URL as a varible.

Copy link
Contributor

Choose a reason for hiding this comment

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

I pushed this to address that: 1cfa0b7

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.

3 participants