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

Adding note for experimental and hidden flags #2571

Closed
wants to merge 4 commits into from

Conversation

raj-prince
Copy link
Collaborator

@raj-prince raj-prince commented Oct 10, 2024

Description

Added Note: Flags marked as experimental or hidden are subject to change at any time and should be used with caution.

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - NA
  2. Unit tests - NA
  3. Integration tests - NA

@raj-prince raj-prince requested a review from a team as a code owner October 10, 2024 05:07
@kislaykishore kislaykishore requested review from a team and BrennaEpp and removed request for a team October 10, 2024 05:07
@@ -31,3 +31,5 @@ new param available in both the modes:
[root_test.go](https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/cmd/root_test.go)
1. Add the name of flag with underscores in
[mount_gcsfuse/main.go](https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/tools/mount_gcsfuse/main.go)

> NOTE: Flags marked as `experimental` or private are subject to change at any time and should be used with caution.
Copy link
Collaborator

@ashmeenkaur ashmeenkaur Oct 10, 2024

Choose a reason for hiding this comment

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

I think this should be part of user guide instead of dev guide. On a side note, I am working on a PR to create dev guidelines: master...coding_guidelines#diff-4c6b93aa75d5affde60dc3849606c9acd75ed444d52e99f3055fc0c7aa77e9e0R16 where I have mentioned this.

Copy link
Collaborator Author

@raj-prince raj-prince Oct 10, 2024

Choose a reason for hiding this comment

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

Discussed offline, adding note on hidden flags doesn't make sense in cloud-user-doc. Hence, moving it to readme doc.

docs/dev_guide.md Outdated Show resolved Hide resolved
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.28%. Comparing base (f2d240d) to head (86a3165).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2571      +/-   ##
==========================================
+ Coverage   78.20%   78.28%   +0.07%     
==========================================
  Files         107      107              
  Lines       11802    11802              
==========================================
+ Hits         9230     9239       +9     
+ Misses       2081     2071      -10     
- Partials      491      492       +1     
Flag Coverage Δ
unittests 78.28% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

README.md Outdated Show resolved Hide resolved
@kislaykishore kislaykishore changed the title Adding note for experimental or private flag Adding note for experimental and hidden flags Oct 10, 2024
Co-authored-by: Kislay Kishore <[email protected]>
@@ -27,6 +27,9 @@ To learn about limitations and differences between Cloud Storage FUSE and POSIX

For information about pricing for Cloud Storage FUSE, see https://cloud.google.com/storage/docs/gcs-fuse#charges.

## Agreement on Flag Compatibility
Copy link
Collaborator

Choose a reason for hiding this comment

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

I dont think we should put this in the main readme page. Its not that important imo to be put it in first page. This will be visible in the repo page as soon as someone wants to use fuse.
Can we add it in the usage or any other readme file.

@kislaykishore kislaykishore requested a review from a team October 10, 2024 05:55
@@ -27,6 +27,9 @@ To learn about limitations and differences between Cloud Storage FUSE and POSIX

For information about pricing for Cloud Storage FUSE, see https://cloud.google.com/storage/docs/gcs-fuse#charges.

## Agreement on Flag Compatibility
`Experimental` and `hidden` flags are subject to changed/removed even across minor releases and have no SLA.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, users dont even know about hidden flags. It seems unnecessary to mention here.
Experimental seems like a note we could add in the flags page or in the dev guide.

@raj-prince
Copy link
Collaborator Author

Closing it. Offline discussed with @charith87
Hidden flags are for half-baked feature and shouldn't use with any customer.

@raj-prince raj-prince closed this Oct 10, 2024
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