Skip to content
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

chore: automate client installs; update readmes #25

Merged
merged 12 commits into from
Dec 8, 2023

Conversation

markphelps
Copy link
Contributor

@markphelps markphelps commented Dec 6, 2023

  • Automate some of the building/installation of the client libs
  • Update the READMEs to be consistent when possible
  • Update the diagram a bit
  • Package the dynamic lib with the clients where possible, instead of using ENV var
  • Rename the installed clients to rm the language suffix (ie: flipt_client instead of flipt_client_python)

TODO

  • Go

@markphelps markphelps requested a review from yquansah December 7, 2023 00:12
"files": [
"dist",
"ext"
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this packages the shared lib in the node module instead of us relying on the env var and for it to exist elsewhere on the host

@markphelps markphelps changed the title chore: try to cleanup/automate ruby and typescript installs chore: automate client installs; update readmes Dec 7, 2023
@markphelps markphelps marked this pull request as draft December 7, 2023 01:53
@markphelps markphelps marked this pull request as ready for review December 7, 2023 15:56
let libfile = '';

// get absolute path to libfliptengine
const path = require('path');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way we can 'import' this on the top of the file?

rm -rf flipt-client-node/*.tgz
rm -rf flipt-client-node/dist
rm -rf flipt-client-python/ext/$(LIB).*
rm -rf flipt-client-python/dist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does python have a "dist" folder after a build?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with poetry, yah it seemed to:

» ls flipt-client-python/dist/
flipt_client-0.0.1-py3-none-any.whl	flipt_client-0.0.1.tar.gz

Copy link
Contributor

@yquansah yquansah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great overall

* main:
  feat: do not fail on non-existent namespace in Rust core (#26)
  chore: address comments
  chore: remove unnecessary code
@markphelps markphelps merged commit acc7482 into main Dec 8, 2023
5 checks passed
@markphelps markphelps deleted the ruby-typescript-readmes branch December 8, 2023 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants