Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Remove the test directory from ignore in bower.json #50

Merged
merged 2 commits into from
Sep 3, 2015

Conversation

jeffposnick
Copy link
Contributor

R: @wibblymat @azakus

We'd want to tag a 1.0.3 release after merging this.

@samccone
Copy link

samccone commented Sep 2, 2015

q: Why do users need the test/ dir when consuming this element?

@jeffposnick
Copy link
Contributor Author

It's to facilitate @azakus's https://github.com/polymerelements/test-all setup.

@samccone
Copy link

samccone commented Sep 2, 2015

The only reason I ask, is because the repercussions to all consumers of this (who vendor bower_components or download) can be quite large.

I wonder if test-all might want to use a different approach like git clone instead of going through bower.

Thoughts? 🌴

@dfreedm
Copy link
Contributor

dfreedm commented Sep 2, 2015

@samccone I raised this issue mostly out of consistency. All of the other elements let their tests exist with bower install. This makes it very easy to use the existing infrastucture of the CI runner to test eveything.

If we were to remove all the tests from bower distribution, I would have to specially craft something for test-all and/or the CI Runner to run the tests. This isn't too bad, but I'd like to do it only if necessary. The less things that CI Runner has to do, the better and safer it is.

@addyosmani
Copy link
Contributor

@jeffposnick can we get this rebased?

@jeffposnick
Copy link
Contributor Author

The conflicts are resolved.

@addyosmani
Copy link
Contributor

To help enable the goal of consistency with other repos (and I really want to see the CI Runner working smoothly here), I'm going to go ahead and merge this. If we decide to change strategies later down the line this is easily ameliorated.

addyosmani added a commit that referenced this pull request Sep 3, 2015
Remove the test directory from ignore in bower.json
@addyosmani addyosmani merged commit 6678ce0 into master Sep 3, 2015
@addyosmani addyosmani deleted the remove-test-from-ignore branch September 3, 2015 15:53
@samccone
Copy link

samccone commented Sep 3, 2015

word 👍 makes sense @addyosmani

just throwing out some thoughts

@wibblymat
Copy link
Contributor

I'm happy to do this for now.

If Bower didn't actually have to download the things in the ignore list then I would say we should try to find a work around to speed up install for everyone.

But since Bower downloads everything and then just deletes the stuff in the ignore, it doesn't make a lot of difference ATM.

@samccone
Copy link

samccone commented Sep 3, 2015

👍 only for the people that vendor everything without an eager .gitignore

@jeffposnick
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants