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

cawbird: init at 1.0.1, replace corebird #70168

Merged
merged 2 commits into from Oct 2, 2019
Merged

Conversation

schmittlauch
Copy link
Member

Motivation for this change

Cawbird is a fork of the discontinued Corebird Twitter client.

We probably want to drop Corebird from nixpkgs as it doesn't even work anymore. The question is whether we want to make the corebird attribute point to cawbird instead for easy transitioning.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @jonafato

@Lassulus
Copy link
Member

Lassulus commented Oct 1, 2019

I would dislike the idea of silently aliasing a package, maybe mark the other as broken and raise a warning if its referenced?

@schmittlauch
Copy link
Member Author

@Lassulus I marked COrebird as broken and added a comment in the expression referencing cawbird.
Is there a fancier way of raising a warning?

@schmittlauch
Copy link
Member Author

From my perspective this PR is ready, I just squashed all cawbird-related commits.

Sorry @FRidh, I don't need your review. The notification has been cause by an improper rebase.

@schmittlauch
Copy link
Member Author

@GrahamcOfBorg build cawbird

@Lassulus
Copy link
Member

Lassulus commented Oct 1, 2019

I think the sdImage commit is misplaced?

@schmittlauch
Copy link
Member Author

@Lassulus yes it is, but I don't know how to get rid of it.

I'm surprised it was added to the PR diff, as I just picked the existing commits in their previous order in my rebase -_-

@schmittlauch
Copy link
Member Author

Btw, this should also be backported to 19.09

@jonringer
Copy link
Contributor

git rebase -i HEAD~4
which will take you into a menu with all of your commits, then just replace pick with ... whatever delete/drop/remove command is, and save

@jonringer jonringer added the 9.needs: port to stable A PR needs a backport to the stable release. label Oct 1, 2019
Cawbird is a fork of the discontinued Corebird Twitter client.

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
@schmittlauch
Copy link
Member Author

@jonringer Fixed it. Still am surprised that just touching a commit without changing it with rebase sets it to "committed by me" :\

@jonringer
Copy link
Contributor

@GrahamcOfBorg eval

@Lassulus
Copy link
Member

Lassulus commented Oct 1, 2019

@jonringer Fixed it. Still am surprised that just touching a commit without changing it with rebase sets it to "committed by me" :\

if you change the base, you change the commit hash and so you are partly responsible

@schmittlauch
Copy link
Member Author

if you change the base, you change the commit hash and so you are partly responsible

But I did not change the base but only the most recent commits, leaving their predecessors completely unchanged (pick).

@schmittlauch
Copy link
Member Author

@jonringer all checks have passed

@jonringer
Copy link
Contributor

code LGTM, I would just like another opinion about deprecation mechanisms. @Ma27 whats your opinion?

@Ma27
Copy link
Member

Ma27 commented Oct 2, 2019

In that case I guess that it's fine to use cawbird as upstream chose to use a different name.

Regarding corebird: as it seems to be/get EOLed I'd vote for dropping the package entirely and add a note in the release notes (we could also do corebird = throw "use cawbird instread"; for some time before dropping the attribute).

@Lassulus
Copy link
Member

Lassulus commented Oct 2, 2019

so we merge this now and @schmittlauch makes a new PR where he deletes corebird and throws the error message in all-packges.nix ?

@schmittlauch
Copy link
Member Author

@Lassulus As this PR already marks Corebird as broken, I better drop Corebird right away in this PR. Give me a minute…

@schmittlauch schmittlauch changed the title cawbird: init at 1.0.1 cawbird: init at 1.0.1, replace corebird Oct 2, 2019
@schmittlauch
Copy link
Member Author

@Lassulus done

@Lassulus
Copy link
Member

Lassulus commented Oct 2, 2019

huh github now shows the file as moved and shows the diff internally, a little bit confusing but I guess we can't do anything about it? I will try to rerun it and merge it afterwards

@schmittlauch
Copy link
Member Author

If we want to get this into 19.09, shall I add an entry to the release notes in the backport?

@Lassulus
Copy link
Member

Lassulus commented Oct 2, 2019

yes, add the notes to the stable manual in the backport

Copy link
Member

@Lassulus Lassulus left a comment

Choose a reason for hiding this comment

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

tested with nix-review, opened it, watched my twitter timeline

@schmittlauch
Copy link
Member Author

backport: #70287

@worldofpeace
Copy link
Contributor

worldofpeace commented Oct 2, 2019

backported in 8349643 b919677 5e0b687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants