-
Notifications
You must be signed in to change notification settings - Fork 12
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
Consider converting to a standalone repo #17
Comments
I was having the same thought. |
But, this was what kept me back from doing this in other repos:
|
Hmm.. so I had recently deleted my fork of So, I deleted it and recreated it. When I recreated my fork, I forked off of this repository. I tested pushing a branch over and the github UI does correctly target the pull requests to this fork, not the root repository. The "forked from chyh1990" link is really the only usability wrinkle, since that steers users to the other repository.
This seems like a relatively minor issue. The alternative to deleting this repo would be to create a yaml-rust2 org and a brand new repository can be created in that namespace, but I'm not sure if that's something @Ethiraric wants to do, so I'll leave that decision up to them. I guess I can start watching the original repo and if there's issues/PRs we can always respond asking them to look over here. It's too bad github doesn't expose a, "make this repo a root," option. I hope I'm not downplaying your concerns. |
@davvid re: "The new repository will not retain any of its issues, pull requests, wikis, stars, watchers, comments, child forks, or other metadata that may currently be associated with your current fork." That all means it's better to do it sooner or later. This repo currently has two open issues, no open PRs, ~50 stars, and is otherwise not that popular. Detaching from the fork is indeed a somewhat painful operation, and it's only going to get harder and harder as the repo gets more popular when there is actually a backlog of PRs. |
That is a huge problem to me. I don't really think having an org for that is this worthwhile, as this project is fairly small. This however makes me wonder if we should change the identity of this project. It was named |
I will say
Even though the project is small, having an org with multiple maintainers would be nice to try to keep the bus factor above 1 and avoid a repeat of @Ethiraric I'm also curious if you encounter the issue I was describing when opening PRs against this repo. Do they go to https:/chyh1990/yaml-rust by default? |
This is already the case with @davvid as a collaborator on both Github and crates.io. If it were that I did not have time to maintain that crate, @davvid would be able to contact crates.io and ask about taking ownership.
I have once clicked a link that was spit by |
An org would also be a perfect place for a maintained fork of |
I had wanted to rename the crate The crate name is taken on crates.io but unused. I've contacted the owner to see if I could get the name. I pre-emptively created the There is a bunch of code that I have written in this repository that could benefit from being taken out of this repository to their own. This would also allow splitting the parser from the actual API, allowing a |
I have split the crate into 2 different crates: one for the parser, and one for the user facing API. The end goal is to ideally have the benchmark separated from the parser, but this already lays some groundwork. The serde implementation will be able to share the parser, allowing for uniform YAML parsing in Rust. All repositories will be found at https:/orgs/saphyr-rs/repositories. The 2 repositories have the current This crate will still be maintained for a while, but will not receive new additions. Those will go to saphyr. In the first few weeks where this crate has lived, we have already had to push the minor 3 times because of API breaks, and that is not a pace we can continue on. There are a bunch of improvements to be made on the API, and having a new name and versioning will allow for easier tweaking while we get to an API that is cleanly designed. Needless to say there will be a lot of API breaks in the early days of saphyr. Ideally, this would all be ready for people to switch (again) their YAML library, but my point of view is that I'd rather have this for people who do not really want to bother with their YAML dependency and saphyr for those who want a nice user-friendly API, at the cost of some API breaks. Switching libraries once has already been painful for some, so I'll try to have the next one be the last. |
@davvid You should have received invitations for the organizations as well as on crates.io |
@Ethiraric nice! Have you considered a monorepo with a crate workspace containing both That would make it easier to do cross-cutting work across both of them. |
I have, but I do want them to be two distinct and independent blocks. There is very little binding the two together; mostly just the |
This repo is configured as a fork of https:/chyh1990/yaml-rust but that repo is abandoned and it seems like this repo is becoming the de facto fork.
In that case, you might consider "detaching" your fork:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork
Notably forks have bad UX for contributors, since they steer contributions towards the upstream repo they were forked from, which can lead to people accidentally opening PRs against that repo instead of yours.
The text was updated successfully, but these errors were encountered: