Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: expose premium trial form via CLI#15054

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sreya merged 7 commits intocoder:mainfromjoobisb:issue#14856
Oct 29, 2024
Merged

Conversation

joobisb
Copy link
Contributor

@joobisbjoobisb commentedOct 14, 2024
edited by matifali
Loading

This PRcloses#14856

@cdr-botcdr-botbot added the communityPull Requests and issues created by the community. labelOct 14, 2024
@matifalimatifali requested review froma team,Kira-Pilot,johnstcn anddannykopping and removed request fora team andKira-PilotOctober 14, 2024 07:32
Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! From my perspective, the trial information should always come directly from user input. I don't feel comfortable with allowing trials to be specified directly via CLI environment variables, although I admit there's very little stopping an enterprising user from feeding information in viaexpect or similar.

joobisb reacted with thumbs up emoji
@joobisb
Copy link
ContributorAuthor

Thanks for your contribution! From my perspective, the trial information should always come directly from user input. I don't feel comfortable with allowing trials to be specified directly via CLI environment variables, although I admit there's very little stopping an enterprising user from feeding information in viaexpect or similar.

@johnstcn should we removefirst-user-trial as well from CLI env variables ? because if itstrue then other variables would also be required, or else we should make those optional

Flag:"first-user-trial",

@johnstcn
Copy link
Member

@johnstcn should we removefirst-user-trial as well from CLI env variables ? because if itstrue then other variables would also be required, or else we should make those optional

Let's leave that as-is.

joobisb reacted with thumbs up emoji

@github-actionsGitHub Actions
Copy link

github-actionsbot commentedOct 16, 2024
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

@joobisb
Copy link
ContributorAuthor

@johnstcn should we removefirst-user-trial as well from CLI env variables ? because if itstrue then other variables would also be required, or else we should make those optional

Let's leave that as-is.

@johnstcn
I've addressed the comments and I have checked through the codebase, the only issue I see is that of the use of--first-user-trialhere, since the value is set this will prompt to enter the trial details causing the workflow to fail, one option is to set it as--first-user-trial=false, would that be ok?

--first-user-trial \

@matifali
Copy link
Member

@joobisb yes set that as false.

joobisb reacted with thumbs up emoji

@joobisb
Copy link
ContributorAuthor

@joobisb yes set that as false.

i've updated the PR

@johnstcnjohnstcn changed the titlefeat: expose 30d trial form via CLIfeat: expose trial form via CLI for 30 daysOct 16, 2024
@matifalimatifali changed the titlefeat: expose trial form via CLI for 30 daysfeat: expose premium trial form via CLIOct 16, 2024
@@ -410,7 +410,7 @@ jobs:
--first-user-username coder \
--first-user-email pr${{ env.PR_NUMBER }}@coder.com \
--first-user-password $password \
--first-user-trial \
--first-user-trial=false \
Copy link
Member

Choose a reason for hiding this comment

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

We are currently not making any use of a premium license in PR deployments. If needed, we can always upload one manually.

joobisb reacted with thumbs up emoji
@matifali
Copy link
Member

Can you rebase onmain?

joobisb reacted with thumbs up emoji

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

One thing I've noticed is that indevelop.sh we set--first-user-trial=true. This breaks thedevelop.sh workflow slightly as we then prompt for trial info. How about we instead just set--first-user-trial=false? In a separate PR we can modify thedevelop.sh script to upload a development license from a well-known location.

@joobisb
Copy link
ContributorAuthor

One thing I've noticed is that indevelop.sh we set--first-user-trial=true. This breaks thedevelop.sh workflow slightly as we then prompt for trial info. How about we instead just set--first-user-trial=false? In a separate PR we can modify thedevelop.sh script to upload a development license from a well-known location.

sure, I thought since it's used in the dev environment, we can always enter values into the prompt. But you are right, to make it more seamless I think we could set it tofalse.

@joobisb
Copy link
ContributorAuthor

One thing I've noticed is that indevelop.sh we set--first-user-trial=true. This breaks thedevelop.sh workflow slightly as we then prompt for trial info. How about we instead just set--first-user-trial=false? In a separate PR we can modify thedevelop.sh script to upload a development license from a well-known location.

sure, I thought since it's used in the dev environment, we can always enter values into the prompt. But you are right, to make it more seamless I think we could set it tofalse.

updated the PR

@joobisb
Copy link
ContributorAuthor

@matifali@johnstcn can we merge this ?

@johnstcn
Copy link
Member

johnstcn commentedOct 21, 2024
edited
Loading

@matifali it looks like thee2e-premium tests are failing.
@joobisb Can you try rebasing your PR on latestmain?

@joobisb
Copy link
ContributorAuthor

@matifali it looks like thee2e-premium tests are failing.@joobisb Can you try rebasing your PR on latestmain?

@johnstcn done

@joobisb
Copy link
ContributorAuthor

@matifali can we merge this ?

@matifalimatifalienabled auto-merge (squash)October 29, 2024 12:13
@matifalimatifali self-requested a reviewOctober 29, 2024 12:13
@matifali
Copy link
Member

@sreya, we are blocked here as the secret is unavailable for forks. This is a required test so can not merge without it being passed.

@sreyasreyaenabled auto-merge (squash)October 29, 2024 13:02
@sreyasreyadisabled auto-mergeOctober 29, 2024 13:02
@sreyasreya merged commit7982ad7 intocoder:mainOct 29, 2024
25 of 29 checks passed
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 29, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn left review comments

@matifalimatifalimatifali approved these changes

@dannykoppingdannykoppingAwaiting requested review from dannykopping

Assignees

@joobisbjoobisb

Labels
communityPull Requests and issues created by the community.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Expose 30d trial form via CLI
4 participants
@joobisb@johnstcn@matifali@sreya

[8]ページ先頭

©2009-2025 Movatter.jp