Skip to content

Remove beta tamper proofing feature flag#2099

Merged
pkwarren merged 6 commits intomainfrom
pkw/BSR-1851-remove-tp-flag
May 17, 2023
Merged

Remove beta tamper proofing feature flag#2099
pkwarren merged 6 commits intomainfrom
pkw/BSR-1851-remove-tp-flag

Conversation

@pkwarren
Copy link
Member

No description provided.

- '^exec\.Command$'
- '^exec\.CommandContext$'
# This should only be used by github.com/bufbuild/buf-language-server
- '^bufcli\.NewModuleReaderAndCreateCacheDirsWithExternalPaths'
Copy link
Member Author

Choose a reason for hiding this comment

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

The LSP will need to be updated to support new cache paths.

Copy link
Member

Choose a reason for hiding this comment

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

The LSP was just a prototype and isn't being actively developed, we don't need to update it

}

func TestPushCreate(t *testing.T) {
func TestPushManifestCreate(t *testing.T) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Retrofitted the new push --create tests to use the M+B endpoint.

@pkwarren pkwarren requested a review from bufdev May 17, 2023 17:35
@pkwarren pkwarren marked this pull request as ready for review May 17, 2023 18:48
@pkwarren pkwarren requested a review from bufdev May 17, 2023 18:48
Copy link
Member

@unmultimedio unmultimedio left a comment

Choose a reason for hiding this comment

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

Looking nice and clean 👍🏼

)
}
if err := checkExistingCacheDirs(container.CacheDirPath(), cacheDirsToCreate...); err != nil {
if err := createCacheDirs(cacheModuleDirPathV2); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

Probably worth a changelog entry saying that once updating to this version, cache dir will be different, hence "apparently cleaned up"?

@pkwarren pkwarren requested a review from unmultimedio May 17, 2023 19:13
pkwarren and others added 2 commits May 17, 2023 14:15
Co-authored-by: Julian Figueroa <jfigueroa@buf.build>
@pkwarren pkwarren requested a review from unmultimedio May 17, 2023 19:22
Copy link
Contributor

@saquibmian saquibmian left a comment

Choose a reason for hiding this comment

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

🎉

@pkwarren pkwarren merged commit a4791a4 into main May 17, 2023
@pkwarren pkwarren deleted the pkw/BSR-1851-remove-tp-flag branch May 17, 2023 20:26
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.

4 participants