Commit Graph

651 Commits

Author SHA1 Message Date
Jean-Michel Picod
6c23c45e3c Merge pull request #59 from cfsghost/master
Fixed incorrect command in install.md.
2020-02-28 10:38:00 +01:00
Jean-Michel Picod
47c523e959 Fix entrypoint 2020-02-27 20:11:29 +01:00
Jean-Michel Picod
fa19a80366 Try with a custom action 2020-02-27 20:07:29 +01:00
Jean-Michel Picod
db3b23cf22 Still trying to trigger pylint 2020-02-27 19:22:06 +01:00
Jean-Michel Picod
7a86f80e2b Now try to trigger pylint matcher 2020-02-27 19:16:45 +01:00
Fred Chien(錢逢祥)
c6665d9a25 Fixed incorrect command in documentation.
`ioreg -P USB` doesn't work, it should be `ioreg -p USB` to get usb list in Mac OS X.
2020-02-28 02:16:04 +08:00
Jean-Michel Picod
051a78ab98 Fix yapf matcher 2020-02-27 19:09:57 +01:00
Jean-Michel Picod
816d2020be Fix invalid regexp 2020-02-27 18:51:03 +01:00
Jean-Michel Picod
507f4a9f89 Temp disable path restriction 2020-02-27 18:47:21 +01:00
Jean-Michel Picod
4e4b4a3357 Add mistake in deploy.py to test matchers 2020-02-27 18:45:53 +01:00
Jean-Michel Picod
28afe7f86f Fix yaml bad indent 2020-02-27 18:43:02 +01:00
Jean-Michel Picod
d69b40f2cf Add custom python problem matcher for pylint and yapf 2020-02-27 18:41:14 +01:00
gendx
fb98d1bfde Merge pull request #57 from gendx/upstream-rtt
Synchronize with upstream Tock to remove 04-rtt.patch
2020-02-27 15:04:15 +01:00
Guillaume Endignoux
3831872585 Synchronize with upstream Tock to remove 04-rtt.patch 2020-02-27 13:42:47 +01:00
Jean-Michel Picod
41020ec9f6 Merge pull request #53 from jmichelp/master
Add Github workflows
2020-02-25 16:25:11 +01:00
Jean-Michel Picod
9de4662dee Add more checks
- python code formatting is tested with yapf
- cron workflow to run cargo audit
- Don't run on latest
2020-02-25 14:12:37 +01:00
Jean-Michel Picod
59f381c920 Add badges 2020-02-25 10:26:12 +01:00
Jean-Michel Picod
53964b1d61 Also run checks on pull requests 2020-02-25 10:25:55 +01:00
Jean-Michel Picod
a13f9cf8bc Restore path restriction
This avoids running workflows when it's not needed
2020-02-25 10:07:03 +01:00
Jean-Michel Picod
6c96c639ca Split cargo fmt and cargo check into 2 workflows 2020-02-25 10:06:36 +01:00
Jean-Michel Picod
b152bf98d0 Remove jobs breakdown/dependencies as it seems to not work? 2020-02-25 09:59:10 +01:00
Jean-Michel Picod
51b0e0f48a Revert debug mode 2020-02-25 09:58:52 +01:00
Jean-Michel Picod
cd14738a2f Fix missing python dependencies 2020-02-25 09:41:48 +01:00
Jean-Michel Picod
89d15f5759 Fix tput stopping the workflow 2020-02-25 09:36:20 +01:00
Jean-Michel Picod
1113410195 Debug why Github workflow is failing here 2020-02-25 09:27:57 +01:00
Jean-Michel Picod
dbde04df45 Fix setup script for Github 2020-02-24 19:34:39 +01:00
Jean-Michel Picod
a73837cb59 Fix undefined term in Github workflows 2020-02-24 19:31:37 +01:00
Jean-Michel Picod
b18d3097a3 Fix cargo workflow 2020-02-24 19:28:14 +01:00
Jean-Michel Picod
ac800aa5d2 Fix typo and pylint 2020-02-24 19:25:57 +01:00
Jean-Michel Picod
949e06ce51 Rename workflows 2020-02-24 19:22:04 +01:00
Jean-Michel Picod
ca40818eb6 Fix markdownlint warnings 2020-02-24 19:21:12 +01:00
Jean-Michel Picod
40d5121d0b Remove paths to check workflows. 2020-02-24 19:11:15 +01:00
Jean-Michel Picod
80096529ad Fix YAML syntax 2020-02-24 19:04:09 +01:00
Jean-Michel Picod
feacd72d6e Add Github workflows
These should do the checks for us.
Not an expert though so it may need a bit of tweaking before they do
what we want them to do.
2020-02-24 19:00:51 +01:00
Jean-Michel Picod
292da30cad Merge pull request #51 from jmichelp/master
Configure pylint for Google's Python style.
2020-02-24 18:54:33 +01:00
Jean-Michel
d11887de76 Add missing new line... 2020-02-24 15:50:50 +01:00
Jean-Michel
f4d60cf342 Fix configuration about missing newline 2020-02-24 15:45:11 +01:00
Jean-Michel
e9f69170e4 Configure pylint for Google's Python style.
Adding pylint configuration, VSCode configuration to lint on save and
make the deploy.py script compliant.
2020-02-21 17:41:40 +01:00
Jean-Michel Picod
cb13ff6962 Merge pull request #49 from jmichelp/master
Fix errors in deploy script.
2020-02-21 15:28:42 +01:00
Jean-Michel
8ad28efa5b Fix errors in deploy script. 2020-02-21 14:42:34 +01:00
Jean-Michel Picod
36f2530af6 Merge pull request #48 from jmichelp/master
Document troubleshooting on OS X
2020-02-21 14:08:07 +01:00
Jean-Michel
a5c0ea054d Document troubleshooting on OS X 2020-02-21 11:57:11 +01:00
Jean-Michel Picod
00222a4976 Merge pull request #46 from jmichelp/fix-openssl
Better handling of OpenSSL generated keys.
2020-02-20 17:58:12 +01:00
Jean-Michel Picod
ed6f408063 Address comments on pull-request 2020-02-20 17:09:08 +01:00
Jean-Michel Picod
5d9383376b Merge branch 'master' into fix-openssl 2020-02-20 16:32:46 +01:00
Jean-Michel Picod
dfc0663324 Merge pull request #45 from jmichelp/master
Improve deploy script.
2020-02-20 16:32:30 +01:00
Jean-Michel Picod
6c363981c4 Better handling of OpenSSL generated keys.
It seems that ECC keys generated by OpenSSL can be between 30 and 33
bytes long whereas OpenSK code expects a fixed size of 32 bytes.
This variation could cause Travis CI to fail but also invalid ECC keys
to be flashed, causing the authenticator to not work.
2020-02-20 15:32:37 +01:00
Jean-Michel Picod
f345a75302 Add Microsoft Python extension to allow code formatting, linting,... 2020-02-20 15:09:40 +01:00
Jean-Michel Picod
557eebab2c Improve deploy script.
- Check that JLinkExe in properly installed
- Verify that the app is installed
- Always report failures in the exit code
- Add vscode settings for Python code formatting using Google style
- Fix issue #42 regarding tockloader version and sticky parameter
2020-02-20 11:36:44 +01:00
Jean-Michel Picod
ef414bc2cb Merge pull request #39 from google/gendx-patch-1
Add troubleshooting instructions.
2020-02-19 16:58:29 +01:00