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

Is it possible to use this tool passing an URL #14

Closed
64J0 opened this issue Jan 15, 2022 · 5 comments
Closed

Is it possible to use this tool passing an URL #14

64J0 opened this issue Jan 15, 2022 · 5 comments
Labels
question Further information is requested

Comments

@64J0
Copy link

64J0 commented Jan 15, 2022

Hello, I want to use this tool in order to generate F# code from protobuf files. Btw, it would be cool to not need to download this protobuf file locally. Is there a way to do it packaged with this tool?

@Arshia001
Copy link
Owner

Hi.

Do you want to use .proto files from a remote source? It's currently not possible, and I'm not sure that would be a great idea anyway. What if the remote file changes? It'd break your build.

@Arshia001 Arshia001 added the question Further information is requested label Jul 17, 2022
@64J0
Copy link
Author

64J0 commented Jul 17, 2022

Make sense @Arshia001.
My idea was to pick some files from Github, this way we could specify which file version through the URL, but the repository might change and the story be re-written. Also, the idea is not to run this operation in a continuous fashion, but in a batch operation triggered manually from time to time (months gap I expect).

@64J0
Copy link
Author

64J0 commented Jul 17, 2022

Check this out for more context: 64J0/Fubernetes#2

@Arshia001
Copy link
Owner

I highly recommend either pulling the files into your own project or using a packaging solution that supports versioning (such as Paket with a custom Nuget repository). Paket has an option to pull remote files into your project, you may also be able to use that, though I couldn't help you with it as I haven't used that feature for exactly the reason I gave before.

@Arshia001 Arshia001 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2022
@64J0
Copy link
Author

64J0 commented Jul 17, 2022

Great, thanks for the tips @Arshia001.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants