Skip to content

flottbot: init at 0.11.0#229444

Closed
bryanhonof wants to merge 4 commits intoNixOS:masterfrom
bryanhonof:bryanhonof/flottbot-init
Closed

flottbot: init at 0.11.0#229444
bryanhonof wants to merge 4 commits intoNixOS:masterfrom
bryanhonof:bryanhonof/flottbot-init

Conversation

@bryanhonof
Copy link
Member

@bryanhonof bryanhonof commented May 2, 2023

Description of changes

Initialize flottbot at version 0.11.0

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@bryanhonof bryanhonof force-pushed the bryanhonof/flottbot-init branch from 11bbd5b to d761f1c Compare May 2, 2023 09:41
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 2, 2023
@Janik-Haag
Copy link
Member

Result of nixpkgs-review pr 229444 run on x86_64-linux 1

1 package failed to build:
  • flottbot

@Janik-Haag
Copy link
Member

@bryanhonof are you still interested?

@bryanhonof
Copy link
Member Author

@Janik-Haag Yes, I am. Will just have to find some time to finish this. 😊

@bryanhonof bryanhonof requested a review from Janik-Haag August 7, 2023 10:59
Copy link
Member

@Janik-Haag Janik-Haag left a comment

Choose a reason for hiding this comment

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

In there is ./result/bin/scripts which just prints Hi from Go which seems like it shouldn't be there.


subPackages = [ ];

doCheck = false; # Tries to do some networking :(
Copy link
Member

Choose a reason for hiding this comment

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

If I set this to true the test run just fine o.O

nix-build -A flottbot
this derivation will be built:
  /nix/store/h5m8q5j99nsnp7lp9xgpqzijvgcspnid-flottbot-0.12.0.drv
building '/nix/store/h5m8q5j99nsnp7lp9xgpqzijvgcspnid-flottbot-0.12.0.drv'...
unpacking sources
unpacking source archive /nix/store/wk3cahkfvxwklcbdham4xf8gnr5jcsc2-source
source root is source
patching sources
configuring
building
Building subPackage ./cmd/flottbot
Building subPackage ./config-example/scripts
Building subPackage ./core
Building subPackage ./handlers
Building subPackage ./models
Building subPackage ./remote
Building subPackage ./remote/cli
Building subPackage ./remote/discord
Building subPackage ./remote/gchat
Building subPackage ./remote/scheduler
Building subPackage ./remote/slack
Building subPackage ./remote/telegram
Building subPackage ./utils
Building subPackage ./version
buildPhase completed in 38 seconds
running tests
ok      github.com/target/flottbot/core 2.035s
ok      github.com/target/flottbot/handlers     1.018s
ok      github.com/target/flottbot/utils        0.010s
ok      github.com/target/flottbot/version      0.003s
checkPhase completed in 33 seconds
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0
shrinking /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0/bin/scripts
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0/bin/flottbot
checking for references to /build/ in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0...
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patching script interpreter paths in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0
stripping (with command strip and flags -S) in  /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0/bin
/nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0

which test did you have prolems with?

Copy link
Member Author

Choose a reason for hiding this comment

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

Don't really remember. Maybe they removed/fixed that test case in 0.12.0. I'll try agian.

Copy link
Member

Choose a reason for hiding this comment

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

Sure


vendorSha256 = "sha256-6j1nQBlFqd78v/CNV7ivwYZ5CEzGh+An6xcQr4dAkAs=";

subPackages = [ ];
Copy link
Member

Choose a reason for hiding this comment

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

What do you need this for?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably copy/paste from another Go package, sorry. 😅

Copy link
Member

Choose a reason for hiding this comment

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

Could you delete it?

Copy link
Member

@Janik-Haag Janik-Haag left a comment

Choose a reason for hiding this comment

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

This should be good to go after addressing the current discussions and squashing commits so we only have the flottbot: init at 0.11.0 commit.


vendorSha256 = "sha256-6j1nQBlFqd78v/CNV7ivwYZ5CEzGh+An6xcQr4dAkAs=";

subPackages = [ ];
Copy link
Member

Choose a reason for hiding this comment

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

Could you delete it?


subPackages = [ ];

doCheck = false; # Tries to do some networking :(
Copy link
Member

Choose a reason for hiding this comment

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

Sure

@bryanhonof bryanhonof mentioned this pull request Feb 20, 2024
13 tasks
@bryanhonof
Copy link
Member Author

Closing in favor of #290084

@bryanhonof bryanhonof closed this Feb 20, 2024
@bryanhonof bryanhonof deleted the bryanhonof/flottbot-init branch February 20, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants