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

Make Plume compile on release #365

Merged
merged 3 commits into from
Dec 22, 2018
Merged

Make Plume compile on release #365

merged 3 commits into from
Dec 22, 2018

Conversation

trinity-1686a
Copy link
Contributor

Remove use of String for body parameters
Create SignedJson and implement FromData for it

Fix #328

Create SignedJson and implement FromData for it
@codecov
Copy link

codecov bot commented Dec 19, 2018

Codecov Report

Merging #365 into master will increase coverage by 0.53%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #365      +/-   ##
==========================================
+ Coverage    28.2%   28.73%   +0.53%     
==========================================
  Files          62       62              
  Lines        6578     5658     -920     
==========================================
- Hits         1855     1626     -229     
+ Misses       4723     4032     -691

Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

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

just 👀

pub fn verify_header(&self, other: &Digest) -> bool {
self.value()==other.value()
}

pub fn algorithm(&self) -> &str {
Copy link
Contributor

Choose a reason for hiding this comment

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

i just realised we have a lot of public functions here, but don't document any

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we should do it. Also we should probably use https://git.asonix.dog/asonix/http-signatures instead of rolling our own code

@igalic
Copy link
Contributor

igalic commented Dec 19, 2018

we should also expand our .travis.yml to (test) build release

@trinity-1686a
Copy link
Contributor Author

Maybe we should just test in release, that's what peoples will use anyway

@trinity-1686a trinity-1686a added S: Ready for review This PR is ready to be reviewed A: Backend Code running on the server labels Dec 19, 2018
@igalic
Copy link
Contributor

igalic commented Dec 19, 2018

except for us developers, so, yeah, 👍

@trinity-1686a
Copy link
Contributor Author

trinity-1686a commented Dec 19, 2018

I should also update install instructions
Edit: actually documentation already use release, no wonder people where asking for help with installation

@trinity-1686a
Copy link
Contributor Author

trinity-1686a commented Dec 19, 2018

Oops I broke code coverage even more I think
Can't complain about low coverage if you don't upload any coverage report 🙃

@marek-lach
Copy link
Member

Just posting this here, as it might be relevant for this pull request:

https://mstdn.nipponalba.scot/@jk/101279615979810008

@elegaanz
Copy link
Member

@marek-lach Thanks! It is indeed related. I responded them.

Copy link
Member

@elegaanz elegaanz left a comment

Choose a reason for hiding this comment

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

Thanks!

@trinity-1686a trinity-1686a merged commit ab2998e into master Dec 22, 2018
@elegaanz elegaanz deleted the compile-release branch December 22, 2018 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Backend Code running on the server S: Ready for review This PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants