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
bacnet-stack: init at 1.0.0 #96872
bacnet-stack: init at 1.0.0 #96872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs bumping to the newest version from the right repo source.
2b18008
to
49a02dc
Compare
@dali99, thanks for the review. I believe I've applied the needed changes. |
Commits need to be squshed, PR title needs updating.
|
70ff7cb
to
5a0b2d8
Compare
Should be good to go. For future reference, should I always keep everything in a single commit during the review process? I figured that it would make reviewing easier if I maintained the history until the review was done. I am aware that PRs should be squashed to a single commit before merging, of course. |
I'm also on the fence about it. I personally would like to avoid force pushes until the end, since it's much easier as you say to see the diffs, not to mention that force pushing has a tendency to break the links in the notifications. But that's not what I usually see people doing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
builds, haven't tested binaries
Anything remaining before we can merge? |
no we just need someone with mergeaccess to look at it |
buildPhase = '' | ||
make BUILD=debug BACNET_PORT=linux BACDL_DEFINE=-DBACDL_BIP=1 BACNET_DEFINES=" -DPRINT_ENABLED=1 -DBACFILE -DBACAPP_ALL -DBACNET_PROPERTY_LISTS" | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like a good candidate for makeFlags
, but i couldn't get it to build after
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want me to figure that out before merging? Or can I leave it as-is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't figure it out... so either way, it's good.
Please follow CONTRIBUTING.md and manual#submitting-changes-making-patches and squash the fix-up commits. This can be done without
However, |
@jonringer, For future reference, should I always keep everything in a single commit during the review process? I figured that it would make reviewing easier if I maintained the history until the review was done. I am aware that PRs should be squashed to a single commit before merging, of course. |
Update pkgs/tools/networking/bacnet-stack/default.nix Co-authored-by: Daniel Løvbrøtte Olsen <daniel.olsen99+GitHub@gmail.com> bacnet-stack: Add maintainer and use the original GitHub repo bacnet-stack: Alphabetize Update pkgs/top-level/all-packages.nix Co-authored-by: Jon <jonringer@users.noreply.github.com>
e7940fd
to
c186a9d
Compare
@jonringer Squashed and rebased onto master |
commits should be "logical units", and most people interpret that as, "if i were to cherry-pick these commits, what level abstraction would i expect" For package additions, it's usually one per package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Motivation for this change
I use BACnet MS/TP for my employment, and this is the only tool that I'm aware of that allows you to capture BACnet MS/TP traffic running on a serial port on Linux. It works great with Wireshark.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)I use this for the "mstpcap" executable which, I have confirmed, works. There are a number of tools that I don't use, and I have not tested them.