-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Integrate dc-node into this repository #3283
Conversation
8287bf5
to
eedc3e7
Compare
for now let's see this as experimental and "trying out" things. It's not certain it makes sense in the end but it's good to know if it's relatively easy or rather involved to make it work. |
I would say it's relatively easy, as in "pretty much done". It works so far and all the CI is successfully migrated. The npm release flow is still a bit unclear to me, but apart from that I mostly consider it done. Just need to throw away some garbage (like the license :P and some git files) and then we could just pull, merge it, and archive the old repository. |
what about the node release on tag? do you want to auto upload it to npm ( |
actually, let's keep the license. The python subdirectory also has its own license, I think it's necessary for the published build. |
yeah, let's do this. There is this github action we can use: https://github.com/marketplace/actions/npm-publish I don't have an npm account, can you just add an access token to the github secrets? (do we want to give release rights to the CI / everyone in the deltachat github organization??) |
4ed2115
to
fc7d427
Compare
https://github.com/deltachat/deltachat-core-rust/runs/6305997093?check_suite_focus=true confirms that the I excluded the lint checks from the Windows CI for now. The lint checks are run only on ubuntu & macOS now, that should still suffice. The normal tests are of course run on Windows, too. (developers who work with Windows can still do npm run lint-fix if the code doesn't look pretty on their machines.) |
67be6c3
to
490b638
Compare
Hm, the github actions work now, but a
|
It seems like |
Ah, https://docs.npmjs.com/cli/v8/configuring-npm/package-json/#files solves this. |
adjust scripts to new location of deltachat-core-rust adjust dc-node readme to repo change mention old repository migrate github actions, try out if they work fix path to node docs in SSH github action passing mailadm token to node tests hopefully fixing the download paths for the artifacts fixing download paths, this time for real post upload link to details fix scp command forgot to remove platform_status dict fixing paths in the github action add github action to delete node preview builds when PR is closed move environment variable to yaml remove git trash github action to release to npm use different action which also works with branches for testing we don't want to publish to NPM through the CI see what lint issues windows has
don't ignore core sourcefiles, prevented npm installation on architectures with no prebuild don't run lint checks on windows github actions don't like double quotes apparently minimize node.js CI update ubuntu runner to 22.04 README: update link to node bindings source simplify link in readme node: fix crash with invalid account id (throw error when getContext failed) fix typo in readme remove node specific changelog change prebuild machine back to ubuntu 18.04 move package.json to root level to include rust source in npm package change path in m1 patch github action to upload to download.delta.chat/node/ on tag try build with ubuntu 20.04 Update node/README.md try building it with newer ubuntu because it wants glibc 2.33 fix path for prebuildify script throw error when instanciating a wrapper class on `null` (Context, Message, Chat, ChatList and so on) try fix selecting the right cache to fix the strange glibc bug also revert back ubuntu version to 18.04 also bump package.json version with release script fix paths since we moved around package.json github action: fix path document npm release - it's so much easier now! there are no PR checks to post to if this action is executed on a tag github action: fix artifact names fix paths? wtf do I know, it's 3AM and I'm drunk fix syntax error don't upload preview if action is run on tag is the tag ID an empty string or null? node-package github action is done so far also include scripts in package only publish docs on push to master branch actually bump package.json version in set_core_version script prettify package.json fix test - we don't really need to assert that remove unnecessary ls statement from github action
6568979
to
1872112
Compare
Hopefully this makes some things easier.
GitHub action to publish release to npm on git tag1.78.0
fix standalone context events deltachat-node#552 as soon as it's mergedMigrate issues to this repository?After this is merged, we still need to:
#skip-changelog