Skip to content

Commit

Permalink
Selector: Update Sizzle
Browse files Browse the repository at this point in the history
Fixes #14657
  • Loading branch information
gibson042 committed Jan 13, 2014
1 parent 478cf37 commit 9ac88de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -13,7 +13,7 @@
"bower.json"
],
"dependencies": {
"sizzle": "1.10.15"
"sizzle": "1.10.16"
},
"devDependencies": {
"requirejs": "~2.1.8",
Expand Down

15 comments on commit 9ac88de

@markelog
Copy link
Member

Choose a reason for hiding this comment

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

You didn't update it, see bowercopy task.
cc @timmywil

@dmethvin
Copy link
Member

Choose a reason for hiding this comment

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

Been here, done this but with sinon timers. I don't know if the process is inherently error prone or we just need some better instructions than the commit message at f9ad13c .

@markelog
Copy link
Member

Choose a reason for hiding this comment

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

@timmywil well, i think "i told you so" would be in order :-)

@dmethvin
Copy link
Member

Choose a reason for hiding this comment

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

It must have seemed like a good idea at the time 😸 Worse things happened to me with submodules but I've blocked them out.

@timmywil
Copy link
Member

Choose a reason for hiding this comment

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

I talked with @gibson042 over IRC when the workflow changed. I think he just had a brain fart.

@timmywil
Copy link
Member

Choose a reason for hiding this comment

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

@markelog I reciprocate your "I told you so" with a "We commit dependencies now. Deal with it."

@mgol
Copy link
Member

@mgol mgol commented on 9ac88de Jan 13, 2014

Choose a reason for hiding this comment

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

How about putting the commit message from f9ad13c into a comment before the bower alias definition in Gruntfile?

@timmywil
Copy link
Member

Choose a reason for hiding this comment

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

How about putting the commit message from f9ad13c into a comment before the bower alias definition in Gruntfile?

Sounds good to me. Should we put it in the README as well?

@mgol
Copy link
Member

@mgol mgol commented on 9ac88de Jan 13, 2014

Choose a reason for hiding this comment

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

We could but README is not only for commiters and other developers don't really have to care about this issue.

@timmywil
Copy link
Member

Choose a reason for hiding this comment

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

Yea, that's pretty much why I haven't put it somewhere. Ok, in the Gruntfile seems like a good place.

@gibson042
Copy link
Member Author

Choose a reason for hiding this comment

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

Aargh! @timmywil is right, but this just doesn't seem workable unless the default grunt task detects the need to invoke bower and does so automatically.

@markelog
Copy link
Member

Choose a reason for hiding this comment

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

What use case would be for that? How you usually update Sizzle? Do you update bower.json then run grunt default, or just update and commit it without executing any command?

@gibson042
Copy link
Member Author

Choose a reason for hiding this comment

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

  1. Update source of truth (currently bower.json)
  2. Apply (currently bower update; grunt)
  3. Confirm (in this case I only ran unit tests, but should have also checked the compiled source)

@markelog
Copy link
Member

Choose a reason for hiding this comment

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

currently `bower update`
i guess not "currently", since we you use grunt task for it for quite some time now.

So basically, now you replace bower update with grunt bower plus commit newly updated dependency, i guess detect changes of bower.json file would be easy enough to do but in that case you should have to remember to make commit after grunt default command.

@gibson042
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 universe always promises a bigger idiot. Today, that role is mine.

Please sign in to comment.