-
Notifications
You must be signed in to change notification settings - Fork 276
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
Implements namespaces #268
Conversation
aca9e32
to
ad65232
Compare
@zedtux Very nice code. I like your approach. Can you rebase your code to master and change slim templates? I will like to release it with new version |
Thank you @ondrejbartas. Sure I'll do it. For your information, this code is running in our prod since weeks. |
ad65232
to
4ce54b3
Compare
@ondrejbartas it's done ! |
Don't know what is happening ... Github seem to have missed the Travis CI callback to set the build as passed 🤷♂. |
@ondrejbartas can you please have a look? |
@ondrejbartas please? |
@ondrejbartas is there any chance this get merged one day or should I wast my time in building a new gem? |
@zedtux please update the PR to latest master, would love to merge this |
182da92
to
8aa0a91
Compare
f2bc3df
to
ed6bd2a
Compare
@honzasterba all conflicts fixed, can you please merge it now ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missin unit tests
cd6cffe
to
53e453d
Compare
I'm not sure what you mean here, I could update it, if you really have an interest for it, but in my honest opinion, as this is only a development image, it doesn't matter much.
Sure, it has to be changed to something else. Like you ? Or you don't want to specify a
I'm used to keep them at the root so that the commands are easier but I can understand your point of view since you're not a docker user.
I will do it with pleasure. Otherwise, about this PR, can you do the code review and merge or is it still @honzasterba who's doing it? |
ah ok! understood! let me clarify some points about Docker:
About the code changes, since this patch is quite big, I'd like more eyes on it. Let me ping some people involved in this project for the latest years/releases. @honzasterba @ondrejbartas @jmettraux @serprex @engwan @petergoldstein @ybiquitous could you please take a look to this or test it locally when you have a chance 🙏🏼? Thank you in advance! And thanks again to @zedtux for you amazing work 👏🏼 on this feature and your patience. |
Okay, so let's remove the |
Could anyone do the code review please, I really would love to see this merged! 😍 |
db02076
to
3072273
Compare
3072273
to
36d8b24
Compare
This has been done too! |
I don't understand why build matrix is red now, it doesn't look related to my changes... anyone has an idea please? |
Regression caused by recent change to minitest removing some deprecated constant Fixed by #420 |
@zedtux CI fixed, try updating PR with latest |
36d8b24
to
0b924c4
Compare
Thanks @serprex, the build is now green. 👍 |
@honzasterba @markets the PR is now ready, any other review or are we good to go? |
Seems fine to me @zedtux 👍🏼 I'll try to merge it next week and it will be released as v2.0 soon. Sorry I'm on parental leave and my free time is limited until mid october. Could you please add some docs about how to use docker support? |
Hello there, Any news please ? |
Hi @zedtux, sorry the past 2 weeks we have been working in an relevant fix (more info #428) introduced some months ago. I think we are now ready to merge this one, targeting a future v2 release (should be the next one and I'd like to launch this as v2-beta). Let me ask a couple of details 🙏🏼:
|
43f9a32
to
0e5a0f1
Compare
0e5a0f1
to
9e3a20c
Compare
Hey @markets,
All should be alright now. Let's merge it! |
Thanks again @zedtux 👍 I'd like to merge it during the christmas holidays and probably cut a release as v2.0.0-beta. |
@markets happy new year, let's get this PR merged! 🥳 |
Namespacing
This gem can isolate jobs within namespaces.
Default namespace
When not giving a namespace, the
default
one will be used.In the case you'd like to change this value, create a new initializer like so:
config/initializers/sidekiq-cron.rb
:Usage
When creating a new job, you can optionaly give a
namespace
attribute, and then you can pass it too in thefind
ordestroy
methods.Sidekiq web update
A new bar has been added showing the namespaces, allowing to switch namespaces:
Notes
I haven't updated the slim files as slim has been removed 7 years ago from sidekiq, but if you really want it, I can update them.