Comments (5)
How is the process here? While certainly not being high-prio, it would be nice if it were solved.
from general.
There is a solution: if you are registering a package in METADATA, then you should use the utility function Pkg.METADATA_compatible_uuid
to generate a UUID for your project, e.g.:
julia> Pkg.METADATA_compatible_uuid("MyPkg")
UUID("793ebe2b-975c-555a-bd0c-65619c3a03ab")
from general.
Oh, nice, thanks!
from general.
I think the issue was closed a bit prematurely, for two reasons:
-
Pkg.METADATA_compatible_uuid
is a workaround, not solution, and then it is not easily discoverable. A user could just set up aProject.toml
by just reading the relevant manuals (Julia's docs, Pkg docs, etc) and never learn about it, running into the issue only when registering the package (and then it is pretty insidious, as mismatching UUIDs can give surprising behavior when one is unaware that this is a possibility). -
I still don't understand why the registry has to do this. I understand that historically, packages had no UUIDs so one had to be generated, but that is becoming less and less common.
from general.
The issue is in the wrong place, first off—there's no code here. Once we switch the registration process to registering directly with the General registry then this won't be an issue any more. So the solution to this problem is to implement JuliaLang/Pkg.jl#849.
from general.
Related Issues (20)
- Error: TagBot experienced an unexpected internal failure HOT 1
- Gadfly v1.4.0 ? HOT 1
- over 1000 packages starting with `S` HOT 3
- JET versions before 0.8.28 are not compatible with Julia 1.11 HOT 8
- Streamline retroactive compat bounds adjustment HOT 1
- Allow auto-merge from PRs made on fork of General HOT 2
- Recommend for, or at least against, some OSI licences? E.g. against Apache 2.0 HOT 2
- what is the stopwatch mechanism for? HOT 1
- Create CI status for StorageServer caching
- Time to start subdividing within letters `S/o/SomePackage.jl` etc HOT 3
- URL change TMLE.jl
- Unable to register: Version v0.1.0 already exists
- Packages without current source of licenses HOT 18
- "not able to load the package" due to PyCall/Conda problems HOT 3
- Your `new package` pull request does not meet the guidelines for auto-merging. Please make sure that you have read the [General registry README](https://github.com/JuliaRegistries/General/blob/master/README.md) and the [AutoMerge guidelines](https://juliaregistries.github.io/RegistryCI.jl/stable/guidelines/). The following guidelines were not met:
- yank NCDatasets 0.13.0 HOT 2
- Not able to register because of lack of upper-bound for releases of LinearAlgebra HOT 6
- Update stdlib compats of JLLs
- Broken link to package naming guidelines in README
- Add CI jobs for Julia v1.10 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from general.