-
Notifications
You must be signed in to change notification settings - Fork 22
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
Improve download_bee_download_project to support the update command #348
Comments
I have added a PR that adds greater flexibility for the internal I realised that if we are to have tests for the 'update' command, and indeed have tests that test the more flexible capability then we will need to be able to download releases other than 'latest' as per #56 and it made sense to include within one PR. The PR is not ready as the tests need work, but I wanted to get some feedback on the approach.
@hosef in particular, I would like your feedback as we discussed the need for this while looking at #347 |
The "select" feature's cool. 👍 Love it! I belief, a list of 30 is way too much. Even for dl-core. That would be ancient versions, probably nobody ever needs those. 10 seems like a good number to me. Now some of my Friday testing (caution, Friday is typo day...):
Maybe validate for a pattern like "starts with number" - just some plausibility check? Just an idea... not too important. Oh, this Friday admin didn't read the docs... 😇
Now for real:
I'm assuming, there's a reason for this different handling between core and contrib. Anyway, it works. 👍 Two suggestions come to my mind:
Just two quick ideas after a little testing - for your kind consideration @yorkshire-pudding Bee just rocks, BTW. 😄 |
Another quick idea: if the module already exists, But the version select does that check after one selects the version. Would it be difficult, to make the check the first step also for the "select" feature? |
😊
Great. Confirms what I was leaning towards.
Yes, could do. While I think I would still give them the same choice to select a version the message could be tailored to whether they were trying to define a release or not.
Yes there is a reason: It would require more of a rewrite to allow command names/aliases to have arguments appended to them with the colon. I've tried to keep the format similar so for core
This would involve re-writing
Yes, that would be do-able
Might seem like immediately but it's a bit further in the code. However, you make a good point and there is no reason why the check can't come in earlier. Thank you for all your feedback. |
Thank YOU for your constant work on Bee. 🙏 Just pick from my feedback, what seems feasible/useful. No need to rewrite even more. 😉 |
As discussed in #299 and #297 we need some improvements to the
download_bee_download_project()
function to better support the update function.@hosef said:
The text was updated successfully, but these errors were encountered: