-
Notifications
You must be signed in to change notification settings - Fork 476
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
New package: EzXMLPatched v1.0.0 #10325
Conversation
JuliaRegistrator
commented
Feb 29, 2020
•
edited
Loading
edited
- Registering package: EzXMLPatched
- Repository: https://github.com/aminya/EzXMLPatched.jl
- Created by: @aminya
- Version: v1.0.0
- Commit: 5ee163c80784770736b283b9267b7547128df284
- Reviewed by: @aminya
- Reference: aminya/EzXMLPatched.jl@5ee163c#commitcomment-37563130
Your Since you are registering a new package, please make sure that you have read the package naming guidelines: https://julialang.github.io/Pkg.jl/dev/creating-packages/#Package-naming-guidelines-1 If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text |
@KristofferC does this address all of your concerns in #10277 (comment)? |
97a8164
to
7b8f2e6
Compare
I've been following the work of @bicycle1885 for around 2 years since I needed a package to handle XML files. I would argue that you have the right to create a fork of
In my opinion, this is the case for a fork: just fork the package, patch it as you please, and use it. |
Just to expand on this answer: You can make your own forks of packages (assuming that they have open-source licenses) and use your forks without needing to register your forks or maintain a registry. Simply use the For example, you can take a look at what Keno has done with the manifest for his unregistered package
As you can see in the manifest file, Keno has forked several of the repos, and Of course, you should not create or edit |
My PR has been open since last year.
I am using Github Actions.
Ptr.address causes errors + slows down showing. https://github.com/aminya/AcuteML.jl/blob/ec35bba2ae5ad86f9b0c1b1a8ee06d6563e9280c/benchmark/bench.jl#L88
This is meant for the internal use of AcuteML.jl, you are not forced to use EzXMLPatched.jl. If Pkg could allow me to include a fork inside the Project.toml, I didn't need registering anymore. |
@aminya , I share your frustration when you find a community package that does not satisfy your needs. Your claim is based on a 4-month old PR that triggers an upstream error on an unreleased Julia version. You just reforce my argument that this is the case for a fork and not for a new registration. Please, keep in mind that I care about your needs. It is just that tweaking your project's manifest file is a better solution in this case. |
UUID: ebbc4602-91c8-4f2e-9b89-acc792d9cec0 Repo: https://github.com/aminya/EzXMLPatched.jl.git Tree: 630253d31026489ee4911575690c1bb3a9cfead6 Registrator tree SHA: f50e50c1d2a1b9694b1d5749fdb25fef2ca4c291
7b8f2e6
to
95134c3
Compare
But Manifest isn't the same for different Julia versions. Especially, since EzXML uses jil for Julia 1.3. I am more than happy to get the original repository fixed, but I got forced to do this after having no luck in merging the PR, or overriding the method without warnings. |
For what it is worth, I think that people should be allowed to check in to source control different
You would check in all of those manifest files ( And then, if you want to e.g. load your package on Julia 1.2, you would do this: cp Manifest.1.2.toml Manifest.toml And then you would instantiate the manifest. Disclaimer: There are some people that agree with this approach, and some people that disagree. I don't know if we should necessarily encourage or advocate for this approach. But we should at minimum allow it and have support for it. |
If the biggest bifurcation is between Julia >= 1.3 and Julia < 1.3, then you might be able to get away with only generating two manifests:
You would check cp Manifest.1.0.toml Manifest.toml On Julia >= 1.3, you would instead do this: cp Manifest.1.3.toml Manifest.toml |
Thanks a lot for the answer. I will try this. |
Sometimes I'm too busy to maintain all my packages. That's why I've transferred my five packages to JuliaIO (e.g. https://github.com/JuliaIO/TranscodingStreams.jl) following Stefan's invitation. In fact, I do not check issues and pull requests so often, but I do check my email box so please feel fee to ping me or directly email me when you think your pull requests are overlooked. |
There is no need at this point to register a fork since it is explicitly stated that is only for internal use in a package and that has better solutions.
Just copy paste the module into your package. Look at the |
Alternatively, put
in your package on 1.4 to fix the Julia bug, and the package is automatically fixed. I will close this since it seems like there are better workarounds for the problem at hand. |