Closed dunse closed 10 years ago
Hi --
What do you need with regards to writing test cases? Any specific issue?
-Andreas
Just not sure how to write the test cases for this new functionality. I haven't used buster before..
Any chance we could get this feature in? I've found nopar suits us very well in hardening our build environment against registry downtimes, but currently, updating a package requires manually invalidating the updated and all dependant packages.
Sorry about the quiet time, yes, there's a good chance I'll merge and publish it. I moved to a different continent and am still in the process of settling in (finding a place, waiting for my stuff, etc).
I'd be keen on this too - let me know if there's anything I can help with code/testing-wise.
:thumbsup: for this - starting to be a real pain every time I update packages. Thanks for this PR!
Heh I was just about to take a shot at this functionality - good to see someone got there before me. :)
Reading through the patch, this is the implemented behavior:
I'm thinking it might be better (for the upstream node registry) if the mtime would be reset every time, regardless of whether the update succeeds or fails. If your update fails, you get to wait another TTL period to try again. Seems better than just hammering the upstream registry on every request until it yields something :)
@Tinche But what if it fails because of a local outage? It would be nice if it worked again upon the next try.
@afbobak What's holding up this PR? I'm happy to contribute if there is something missing.
I'm thinking having to wait another TTL isn't a big deal. The failure should be logged, and loudly, in any case. Just a suggestion in any case.
Finally merged into develop branch c6ca511f054d4a5d16aa79c45c0a1ec627f36288. I also gave all of you commit rights to this repository to prevent things getting held up that long again. Please do development on the develop branch and merge patches into develop as well, master is the production branch. Basically follow https://github.com/nvie/gitflow for the development process.
Cheers
Cheers for this, I'll try and give it a go soon.
Is there a roadmap around anywhere or are you pretty happy with the current feature set?
No roadmap as of yet, I'm just going along as I have time ;-)
I just created a small Wiki page: https://github.com/afbobak/nopar/wiki/Wishlist
There are no test cases specific to this new feature. Maybe someone with buster knowledge could assist?