-
Notifications
You must be signed in to change notification settings - Fork 348
No native git dependency #1003
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
No native git dependency #1003
Conversation
I guess that this breaking change will be the only way to know if that's the case; I doubt it is. 😄 |
|
Coining a new concept: fault–induced telemetry. |
I wouldn't call this a breaking change since "CML as a lib" is not documented so not (yet) a public API |
|
I would not consider it |
...and [potentially] allow for different ones. 😄 |
| throw new Error(`driver ${driver} unknown!`); | ||
| }; | ||
|
|
||
| const fixGitSafeDirectory = () => { |
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.
This also solves the permission issues for any git commands ran by users. Should it be ported to the new library?
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.
Im testing it. ideally should not be the case. We do not depend on git.
|
Im right now stuck on making the build with pkg. This is the main guilty |
|
It's a tough one. Have you considered using Babel to translate all the ESM imports into CJS ones? |
I missed this comment. |
|
As per #1051 (comment), and lacking vercel/pkg#1323, this pull request will have to stay on CJS unless you find a better workaround. 😅 |
|
Note that this pull request should ideally fix #628 (comment) |
eb1e5a3 to
9e8bdf4
Compare
|
@DavidGOrtega & @iterative/cml in general: this pull request is probably going to be blocked for a long time, because #1051 (comment) is going to take a couple eons to be released. Should we leave it open until then? |
7243fd2 to
1e081f3
Compare
e2bed3a to
fe9a06f
Compare
|
Closing unmerged after leaving a note at #1051 (comment) |
Removes native git dep. This effort tries to:
This effort introduces
initfunction in CML. This might be a breaking change for anyone that is using CML as a lib opposed to the common CLI