-
Notifications
You must be signed in to change notification settings - Fork 64
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
Revert config migration #397
Conversation
General question: should we still support reading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CLI readme needs to be updated https://github.com/HubSpot/hubspot-cms-tools/blob/master/packages/cms-cli/README.md
Also, we need to update the hs upload
command to use portalId
instead of accountId
in https://github.com/HubSpot/hubspot-cms-tools/blob/master/CONTRIBUTING.md
Also, should we change back multiple accounts
to multiple portals
in https://github.com/HubSpot/hubspot-cms-tools/blob/master/docs/TechnicalDesign.md
May want to check out this PR for other potential changes that we need to change back fd031f0
…vert-config-migration
…eferencing the config file which still uses the portal terminology
Talking with mike over slack about his comments. Decided to change the |
I don't know if this would confuse things more or not. Since the config files are generally generated by us, and then modified by the user, I don't know if the user would ever expect to put in accountId instead of portalId |
Just making sure everyone related to this update is aware. since this change was reverted, the website changelog announcement does not feel necessary. All of the other changes going out are either bug fixes, or for alpha functionality. There's no blocker from DevRel on the remainder of the updates going for the CLI. |
Correct me if this is not true, but I think the other info is still needed. The revert only impacts the config file. |
@gcorne I think there was miscommunication. It was my original understanding we were just reverting the config file change but it appeared based on the comments and some 1:1 conversations that we reverted basically everything to do with
I somehow missed that "all other wordings are staying 'account'" bit. So I think this is on me. If this is true that I simply ask because instead of a hard-cut over we put developers in a weird hybrid state where they're using both terms. Perhaps we introduce a schema version to the config file? v2 only supports account, and we offer a command to convert an entire config file to a v2 config? |
It is more confusing than it is today, but my assumption is that most if not all developers are using |
Description and Context
We decided to revert migrating portal->account in the hubspot.config.yml. This is because we cannot account for the following scenario
~/