You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I am like... super not a fan of this utility parsing environment variables. This is incredibly surprising to me. I want it to only find git related things, and nothing more.
We already have our own (wayyyyy) more comprehensive fallbacks in the main repo regarding what environment variables to look for when git does not provide enough information.
I feel like this is overstepping the boundaries of what this utility is supposed to provide. Either this utility needs to have all of the logic of the main repo in the fallbacks or it just needs to handle git.
As it stands, this utility can actually incorrectly report on env vars, which will actually prevent our own more comprehensive fallbacks in the main repo to then parse the environment variables.
The reason will be displayed to describe this comment to others. Learn more.
Maybe separating this and not having fallbacks on env cars is good. Or maybe the fallbacks from the test runner should be moved here so they can be reused and strengthened separately from the test runner.
On Jul 12, 2018, at 18:17, Brian Mann ***@***.***> wrote:
Thinking about this more... I would just prefer this repo be renamed to git-info and it stay strictly about parsing git.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
The reason will be displayed to describe this comment to others. Learn more.
Agree. Yank that out of here and cut a new breaking version. Just keep git specific functions in here and I will be happy. It'll tighten up the scope quite a bit.
Having a different module is an interesting idea - but my first instinct is "no" because we're pulling off the environment variables in a highly controlled, specific structure where only some things are pulled off as opposed to everything.
The problem is that there are oh so many different CI providers and different reasons to use those properties- then the NPM module would still be arbitrary regarding what it pulls off vs not.
Instead, I really think it's okay that's in the primary repo since it makes it really clear what we're looking at and what we're doing with it.
The reason will be displayed to describe this comment to others. Learn more.
And yet having separate module that abstracts all CI variables could be used from many many projects and made robust. Also it’s testing on various CIs could be fast and simple. The point of cypress is to be a test runner. Adding code for CI environment variables parsing seems like a very different feature. But I would not spend any time on this at all - the pr to test runner is there and 3.1 is what we can really look forward to
On Jul 12, 2018, at 18:27, Brian Mann ***@***.***> wrote:
Agree. Yank that out of here and cut a new breaking version. Just keep git specific functions in here and I will be happy. It'll tighten up the scope quite a bit.
Having a different module is an interesting idea - but my first instinct is "no" because we're pulling off the environment variables in a highly controlled, specific structure where only some things are pulled off as opposed to everything.
The problem is that there are oh so many different CI providers and different reasons to use those properties- then the NPM module would still be arbitrary regarding what it pulls off vs not.
Instead, I really think it's okay that's in the primary repo since it makes it really clear what we're looking at and what we're doing with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
4f95da1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am like... super not a fan of this utility parsing environment variables. This is incredibly surprising to me. I want it to only find
git
related things, and nothing more.We already have our own (wayyyyy) more comprehensive fallbacks in the main repo regarding what environment variables to look for when
git
does not provide enough information.I feel like this is overstepping the boundaries of what this utility is supposed to provide. Either this utility needs to have all of the logic of the main repo in the fallbacks or it just needs to handle
git
.As it stands, this utility can actually incorrectly report on env vars, which will actually prevent our own more comprehensive fallbacks in the main repo to then parse the environment variables.
4f95da1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about this more... I would just prefer this repo be renamed to
git-info
and it stay strictly about parsing git.4f95da1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4f95da1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. Yank that out of here and cut a new breaking version. Just keep
git
specific functions in here and I will be happy. It'll tighten up the scope quite a bit.Having a different module is an interesting idea - but my first instinct is "no" because we're pulling off the environment variables in a highly controlled, specific structure where only some things are pulled off as opposed to everything.
The problem is that there are oh so many different CI providers and different reasons to use those properties- then the NPM module would still be arbitrary regarding what it pulls off vs not.
Instead, I really think it's okay that's in the primary repo since it makes it really clear what we're looking at and what we're doing with it.
4f95da1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.