-
Notifications
You must be signed in to change notification settings - Fork 910
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
kedro new --starter
default to use main
/master
#1696
Comments
Looking back through the discussion in #1265, I can confirm that @Galileo-Galilei independently had the same feeling as me on this:
He also thought
I can confirm from looking through cookiecutter that this is correct. If The only catch with changing this is that it's a breaking change, so we will need to put in some warning that the behaviour will change when the user calls a starter that's not a built-in one. |
It's unclear to me what problem does this solve, would you folks please clarify? Also, wondering if any of the new project tools affect this. |
From memory, the main problem goes like this:
The current solution (other than starter maintainer making a new tag every single kedro release) would be for the user to explicitly specify The only possible problem that changing this causes is that it would mean the default |
Background
Currently
kedro new
assumes the starter uses the same version askedro
, i.e. With kedro==0.18.0 it will pull the0.18.0
kedro-starters
template. This makes sense when we only havekedro-starter
. We introduced the starters template plugin in0.18.2
and this assumption no longer holds.Description
None
,cookiecutters
should take cares of pulling the latest version. (Do check if this is the case)kedro
official starters should be a special case in this, so we need to keep this backward compatibility wherekedro new --starter=pandas-iris
still pull thestarter
version that matchkedro version
Example
Kedro version = 0.18.2
kedro new --starter=pandas-iris
- It should pull starters with0.18.2
tagkedro new --starter=plugin_starter
- It should pull themain
branch whencheckout
argument isn't providedkedro new --starter=xxxxx --checkout branch_name
- It should still respect thecheckout
argument and the behavior should not be changed.The text was updated successfully, but these errors were encountered: