Spec discussion: UX for creating Meltano's manifest.json
?
#6944
Replies: 2 comments 5 replies
-
@aaronsteers at first glance this seems ok but a question comes up for me. Does each file get the global / non-environment compilation with it as well, or is that a separate file?
Something like that? Also, for this first iteration, does it really need to be separate files or can it just be a single one with separate top-level keys? I'm just not clear on what the separate files get us except slightly quicker lookups. Seems like this is a simpler iteration that would give us a bit more flexibility:
Otherwise, the CLI spec and UX works for me 👍 |
Beta Was this translation helpful? Give feedback.
-
@aaronsteers I think the The file names within the directory can be I am not a fan of |
Beta Was this translation helpful? Give feedback.
-
We're wanting to build out the Meltano manifest sooner than later, as as an enabling feature for Managed interop:
CLI Proposal
meltano [--environment=ENVIRONMENT] compile [--output=OUTPUT_FILE]
Output proposal
--environment
is provided, compile a manifest file that fully describes the target environment. Otherwise, compile a file containing the definition of all environments.--output
is provided, write to the provided file path. Otherwise, save the file to.meltano/compiled/meltano-manifest.json
or.meltano/compiles/meltano-{ENVIRONMENT}-manifest.json
.Examples
Note:
--environment
option, and should only callcompile
from the branch that maps to that environment definition (prod
definition pulls frommain
branch,staging
definition fromdevelop
branch, etc.). 6944#discussioncomment-4040768.cc @tayloramurphy, @WillDaSilva
EDIT (2022-11-22): I've updated the above spec to now use a single-file approach to the manifest. Instead of creating one file per manifest by default, the default builds one file with all environment definitions and the
--environment
option provides a cleaner and safer definition of just one environment at a time. See my warnings about lack of fidelity for the multi-environment manifest file here: https://github.com/meltano/meltano/discussionsBeta Was this translation helpful? Give feedback.
All reactions