-
Notifications
You must be signed in to change notification settings - Fork 51
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
Embed catapult as submodule #1614
Comments
@lemmaa As @jyoungyun said, I checked that the license is okay. About deployment, yes it must include the whole repository for runtime service. I think another possible approach is to make the 3000+ lines of |
@lemmaa Thanks for the suggestion! But it didn't work for me. Beforehand, I tried Now I tried
|
I stripped the source code to include the files required to run You can see the stripped version here : #1612. It's removed some build/infra/test files and third party tools. I may distribute this version of catapult with npm registry. |
Yes, it seems that the last publish of both projects was outdated 7 years ago. It wasn't a good choice. :( Anyway, as long as we follow LICENSE well, I don't think it matters either way. Therefore, the next thing to consider is the convenience of distribution and installation. In my rough measurements, this package was around 5MB~6MB. I expect #1612 the one you stripped off is probably smaller. Depending on which method you choose, consider the following. 1. Installing with npm
2. Included in the extension package as a submodule
In both cases, the catapult project's top-level LICENSE file(https://github.com/catapult-project/catapult/blob/main/LICENSE) will need to be distributed together. (#1612 seems to be missing it.) |
0. Project size
1. Installing with npm
As ONE-vscode's dependencies are managed with npm, it's easy to use current test / deployment stages.
It seems once it's published, there is no addtional / regular distribution required to maintain the package. (I mean, no expiration date exists in npm registry) And publishing npm registry looks so simple, you need to only configure npm package.json to a minimal level and hit 'npm login '& 'npm publish' However, catapult-project/catapult git repository is actively maintained, so we may need to update it for a new features someday. I will leave a bash script so that we can do it easily someday.
I plan to test it inside our extension by simply running the trace2html and checking if the output comes. 2. Included in the extension package as a submodule
There is no way I found to use a submodule in fragment.
Sure :-D thanks for the point! |
FYI, I'm guessing https://github.com/catapult-project/catapult/blob/main/tracing/trace_viewer.gni is the full list of files required by trace_viewer. |
I have published Git repositoryhttps://github.com/dayo09/catapult-trace2html
NPM Registryhttps://www.npmjs.com/package/catapult-trace2html?activeTab=readme
|
According to the third term of the BSD-3 Clause license. Maybe. I guess. Anyway, why not contact the open source group? Also, the current distribution method may not be a problem temporarily, but I do not know if it will be appropriate in the long term. I hope you consider how we can distribute it, not as individuals, but from a project perspective, without taking on any special guarantees or responsibilities. |
What?
Let's embed catapult as a submodule.
Beforehand, let's double check its license, usage, and deployment strategy.
Comment history
Moved from [third_party] Add catapult as submodule
Originally posted by @lemmaa in #1613 (comment)
Originally posted by @jyoungyun in #1613 (comment)
Originally posted by @lemmaa in #1613 (comment)
The text was updated successfully, but these errors were encountered: