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(ci): added test for builded binary #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

robertsLando
Copy link
Member

@n1ru4l Didn't tested this. But is this what you mean?

@robertsLando robertsLando requested a review from n1ru4l September 18, 2020 08:38
Copy link
Contributor

@n1ru4l n1ru4l left a comment

Choose a reason for hiding this comment

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

@robertsLando exactly :)

@robertsLando
Copy link
Member Author

@n1ru4l If so, maybe we would need to also fork the pkg repo and make it use our pkg-fetch fork. Or we could clone pkg and apply a patch that does this (faster?)

@n1ru4l
Copy link
Contributor

n1ru4l commented Sep 18, 2020

The questions whether we simply should fork everything (or put it in here as a mono-repo in order to have everything co-located) and publish our own versions to npm. 🤔 That way we have more control over everything. Contributing to the other repositories does not really seem to make any sense.

@robertsLando
Copy link
Member Author

robertsLando commented Sep 18, 2020

I have just tested this (by manually placing an already compiled node binary inside fetched folder) and it works. The problem is that if we use our pkg-fetch fork to compile for example the 12.18.4, pkg will look for 12.18.1 and will try to build that one as it's using it's obsolete pkg-fetch. This is the reason of my previous comment

@robertsLando
Copy link
Member Author

@n1ru4l What do you think it's the best option? I mean fork/publish our own versions or mono-repo? What are the pro/cons of each one?

@n1ru4l
Copy link
Contributor

n1ru4l commented Sep 18, 2020

having a mono-repo instead of a fork allows us to have pkg-fetch and pkg co-located. We can then publish the packages from our mono-repo to npm!

@n1ru4l
Copy link
Contributor

n1ru4l commented Sep 18, 2020

I can come up with a pr that moves the packages over here.

@robertsLando
Copy link
Member Author

@n1ru4l I'm doing it

@n1ru4l
Copy link
Contributor

n1ru4l commented Sep 18, 2020

I would recommend yarn workspaces for that 👌 Make sure to use my fork https://github.com/n1ru4l/pkg-fetch.git#pkg-binary-fork instead of the original fetch-pkg :D

@robertsLando
Copy link
Member Author

@n1ru4l I let you do that so 🤣 Open a new pr for that and we will merge this after that

@robertsLando
Copy link
Member Author

Or... Merge this one and edit the Dockerfile to use the 'internal' pkg and pkg-fetch

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