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

HylaFAX: fix ModemGroup, also minor metadata updates #59081

Merged
merged 3 commits into from Apr 12, 2019

Conversation

Yarny0
Copy link
Contributor

@Yarny0 Yarny0 commented Apr 6, 2019

Motivation for this change

HylaFAX+ handles the ModemGroup parameter differently from the way the relevant manpage claims it is handled. This can lead to stuck jobs.
I'm using this opportunity to update/improve further minor aspects of the HylaFAX package and module.

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) (no tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip" (no need)
  • Tested execution of all binary files (usually in ./result/bin/) (no need)
  • Determined the impact on package closure size (by running nix path-info -S before and after) (no change)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

At least the ModemGroup commit should be applied to release-19.03 as well. The other might be backported also as they change metadata only. Should I open a separate pull request for 19.03 ?

@infinisil
Copy link
Member

What's the motivation behind switching from sha256 -> sha512?

@Yarny0
Copy link
Contributor Author

Yarny0 commented Apr 11, 2019

What's the motivation behind switching from sha256 -> sha512?

That's just a feeling in my gut that sha512 is certainly no less reliable, possibly more one day. There is not need for this change beyond.

We can also drop this commit .. should we? Should I replace the pull request?

@infinisil
Copy link
Member

Well currently the auto-update bot (@r-ryantm) at least only works for sha256, and all nix prefetching scripts output sha256 by default, so I think it might be better to keep using sha256. You don't need to replace the PR, you can just remove that commit with a git rebase -i HEAD~4 or so

I forgot to do this when I submitted this module with
commit 12fa95f.
The manpage claims that the "limit" in the setting::
  <name>:[<limit>:]<regex>
is optional and defaults to zero, implying no limit.
However, tests confirmed that it actually isn't optional.

Without limit, the setting ``any:.*`` places
outbound jobs on infinite hold if no particular
modem was specified on the sendfax command line.
The new default value ``any:0:.*`` from
this commit uses any available modem to
send jobs if not modem was given to sendfax.
* move meta attrset into curly brackets
* update homepage (finally supports https)
* add downloadPage
* add longDescription
@Yarny0
Copy link
Contributor Author

Yarny0 commented Apr 12, 2019

Well currently the auto-update bot (@r-ryantm) at least only works for sha256
Aha, I didn't know that, that's a good reason to keep it sha256. Thanks for this information. I dropped the respective commit.

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

3 participants