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

docs: mention zero-installs repo size #4839

Merged
merged 3 commits into from
Sep 15, 2022
Merged

Conversation

joepio
Copy link
Contributor

@joepio joepio commented Sep 10, 2022

What's the problem this PR addresses?

Some have concerns about repository size using zero-installs. This could be addressed in the feature page. It might also help some users who are unaware of this potential downside to make a better decision on whether this is good for them.

See #180

How did you fix it?

Mention it in the concerns section of the feature page.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz changed the title #180 mention zero-installs repo size concern docs: mention zero-installs repo size Sep 10, 2022

### What does this do to my repository size?

Every time you update a dependency and commit this, the repository will grow.
Copy link
Contributor

Choose a reason for hiding this comment

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

likely grow?

Suggested change
Every time you update a dependency and commit this, the repository will grow.
Every time you update a dependency and commit this, the repository will likely grow.

Although not common, some popular projects do prioritize reducing install sizes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Even if the install size is smaller, the repo itself will grow, as the previous version will be part of the history. So it will always grow, as far as I understand.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But that does mean that I should clarify this a bit more.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added some clarification in the sentence

@arcanis
Copy link
Member

arcanis commented Sep 13, 2022

I've updated the section to include more information around possible mitigations.

Copy link
Member

@RDIL RDIL left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for the clarifications!

@RDIL RDIL added the documentation This issue or pull request is about the documentation label Sep 13, 2022
@arcanis arcanis merged commit 5d55fc6 into yarnpkg:master Sep 15, 2022
merceyz pushed a commit that referenced this pull request Sep 15, 2022
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Sep 21, 2022
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Oct 5, 2022
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Oct 29, 2022
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Nov 16, 2022
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Dec 20, 2022
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Feb 1, 2023
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Mar 16, 2023
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request May 1, 2023
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Jun 1, 2023
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
merceyz pushed a commit that referenced this pull request Oct 21, 2023
* #180 mention zero-installs repo size concern

* Update zero-installs.md

* Update zero-installs.md

Co-authored-by: Maël Nison <[email protected]>
(cherry picked from commit 5d55fc6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This issue or pull request is about the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants