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

Fix for #84 - Remove old version attachments while publishing. #91

Closed
wants to merge 1 commit into from

Conversation

ganapativs
Copy link
Contributor

What did you implement:

Fix for #84

How did you implement it:

Remove old version attachments to prevent index.json size growth, Only keep latest version attachment for future use.

How can we verify it:

Just publish update to a package, you should see size on index.json is reduced.

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Tag ready for review or wip

Is this a breaking change?: NO/YES

@ganapativs ganapativs changed the title Fix for #84 - Remove old version attachments. Fix for #84 - Remove old version attachments while publishing. Jun 30, 2017
@jonsharratt
Copy link
Member

Sorry been away for a while I will take a look at this as seems to be a common issue, it was originally done as I was basing things off HTTP sniffing and I thought attachments were needed. Looks like it is not and sorts the issue with JSON files getting to large.

@ganapativs
Copy link
Contributor Author

Cool, will the attachment key be removed from stored JSON anytime soon?

@jonsharratt
Copy link
Member

Spending some time this weekend to get this project back into shape @ganapativs sorry it is taking so long 👍

@jonsharratt jonsharratt mentioned this pull request Aug 21, 2017
3 tasks
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.

2 participants