Open mfridman opened 10 months ago
My take is that, given how I've seen other code being organized, is that this tool supports "latest stable" Go version and previous versions are manually supported by backporting code and/or deactivating features.
my bet is that dependencies should follow this scheme, which sounds more likely to happen than them holding on to previous Go releases. At least, to me.
In this scheme, keeping separate branches sounds like a way to go. Something like having these binaries per goose release
More of a thought at the moment, but wanted to jot this down.
Currently, the goose package and the CLI are tracked as a single Go module and versioned together (think single go.mod in the entire repository). However, there are some limitations to this approach:
Limitations
So, what I'm proposing is to add go.{mod|sum} files into ./cmd/goose and track the CLI and its dependencies as a separate module.
For local development can use
There are a few downsides to this approach through,
Cons
Pros