Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Release Sentinel v1.3.0 #58

Merged
merged 11 commits into from
Nov 16, 2018
Merged

Release Sentinel v1.3.0 #58

merged 11 commits into from
Nov 16, 2018

Conversation

nmarley
Copy link
Contributor

@nmarley nmarley commented Nov 14, 2018

This release includes:

  • update readme, align w/std-README format
  • remove trigger size limit
  • submit new simpler format Trigger objects
  • add test to cover DashConfig.slurp_config_file
  • disable line break warnings in pycodestyle
  • use raw strings for regexp input to satisfy linter
  • update pycodestyle to fix broken validation

The new version of pycodestyle (2.4.0) requires a few more rules to be
satisfied, one of which is Python raw strings for regexp's (which is a good
idea IMO). This commit updates the regular expressions that were previously not
using raw strings, to use them.
This commit disables warnings W503 and W504. One of these was added to the
default ignore list because it wasn't clear, and line breaks conflict with
another rule which doesn't allow lines greater than 80 chars. I believe that
disabling these rules (W503 + W504) is the cleaner solution.

See also discussion here: PyCQA/pycodestyle#498
This ensures the method still works as expected after the raw string change in
comment filter regex.
upgrade pycodestyle due to bug in older version
* removes remaining SHIM_serialise_for_dashd method (not used any longer)

* changes serialization format of triggers submitted to the new format, which changed serialized trigger size in a test and uncovered a bug in the size check

* fixes a bug in govobj size limit check in superblock creation (use a temp list to check payments, and only add a proposal to the confirmed payments list after size is checked)

* calculate reasonable mock gobject size limit in test

This removes the hard-coded max size in the test. Due to the proposal serialization format changing, this hard-coded limit won't work now, and the test should be more robust anyway.
submit new simpler format Trigger objects
Also remove specific versions to align w/new versioning strategy.
@nmarley
Copy link
Contributor Author

nmarley commented Nov 14, 2018

Once merged to master, I'll push a tag and fast-forward the develop branch.

@nmarley nmarley requested a review from UdjinM6 November 14, 2018 14:01
Copy link
Contributor

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

👍

utACK

@nmarley nmarley merged commit 4c071f5 into master Nov 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants