-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat(bundle): optionally displays labels associated to a bundle #342
Conversation
0a1c82e
to
6828b1a
Compare
just reading the note to reviewers. the thing about calling this a "porcelain layer" change is that it's actually using some additional "plumbing," if this deduped and re-used the however, as i say, i don't think this a pure porcelain change. it's like if we were shipping possible takeaway of the preceding rant: refactor |
Re remark on python bindings @ransomw1c on the slack channel I posted a proposal about figuring out some python bindings (I've done that in the past, binding python 2 and 3 to a go lib, so I could do this again). This could really be a nice thing, but I didn't receive any comment on that post. |
quick note on collective opinions here: after discussion with Joao last week, i suppose it's better understood that my remarks about shipping a Python api to access Datamon functionality in addition to the cli api are purely motivated by attempting to fulfill feature requests related to the cli api without turning at the same time, there are ways to keep supposing tentative plans for the couple weeks (see Jira RES-1809) occur, one possible scenario – a likely one, even, imo – is that we'll continue to cruise toward cutting v2 with a mild amount of tech debt in so i'll propose to continue worrying about the maintainability of |
* fixes #235 Signed-off-by: Frederic BIDON <frederic@oneconcern.com>
We can park the branch for now. We need to think more about this feature. |
@kerneltime sure. I wanted to close it to. Ransom did rightfully point out that this should go as porcelain. Organizing the porcelain layer is going to be the big code shuffle that will come together with the python SDK. |
Signed-off-by: Frederic BIDON frederic@oneconcern.com
Note to reviewers
This I consider an early experiment to gauge competing ideas about how to deal with CLI features that pertain to the "porcelain" layer.
While I am all in for some DSL approach that would eventually result in neater code, I have difficulties figuring out how it would actually look like.
This PR plays here the devil's advocate and is my 2 cents contribution to this interesting debate about implementing porcelain, with some code-grounded facts. No big deal if this PR is discarded....
I wanted to figure out a more accurate idea about how much of code/complexity such user requirements actually entail when implemented with the basic tooling the CLI is currently providing.
Regarding expected results, I followed the approach recommended by @ransomw1c in #235 (";" separators) and did not try to over-engineer it with some asynchronous fetching of labels.