Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedtls by
tests/git-scripts/README.md@2:bbdeda018a3c, 2017-09-29 (annotated)
- Committer:
- Jasper Wallace 
- Date:
- Fri Sep 29 19:50:30 2017 +0100
- Revision:
- 2:bbdeda018a3c
Update to mbedtls 2.6.0, many changes.
Changes to mbedtls sources made:
in include/mbedtls/config.h comment out:
#define MBEDTLS_FS_IO
#define MBEDTLS_NET_C
#define MBEDTLS_TIMING_C
uncomment:
#define MBEDTLS_NO_PLATFORM_ENTROPY
remove the following directorys:
programs
yotta
visualc
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| Jasper Wallace | 2:bbdeda018a3c | 1 | README for git hooks script | 
| Jasper Wallace | 2:bbdeda018a3c | 2 | =========================== | 
| Jasper Wallace | 2:bbdeda018a3c | 3 | git has a way to run scripts, which are invoked by specific git commands. | 
| Jasper Wallace | 2:bbdeda018a3c | 4 | The git hooks are located in `<mbed TLS root>/.git/hooks`, and as such are not under version control | 
| Jasper Wallace | 2:bbdeda018a3c | 5 | for more information, see the [git documentation](https://git-scm.com/docs/githooks). | 
| Jasper Wallace | 2:bbdeda018a3c | 6 | |
| Jasper Wallace | 2:bbdeda018a3c | 7 | The mbed TLS git hooks are located in `<mbed TLS root>/tests/git-scripts` directory, and one must create a soft link from `<mbed TLS root>/.git/hooks` to `<mbed TLS root>/tesst/git-scripts`, in order to make the hook scripts successfully work. | 
| Jasper Wallace | 2:bbdeda018a3c | 8 | |
| Jasper Wallace | 2:bbdeda018a3c | 9 | Example: | 
| Jasper Wallace | 2:bbdeda018a3c | 10 | |
| Jasper Wallace | 2:bbdeda018a3c | 11 | Execute the following command to create a link on linux from the mbed TLS `.git/hooks` directory: | 
| Jasper Wallace | 2:bbdeda018a3c | 12 | `ln -s ../../tests/git-scripts/pre-push.sh pre-push` | 
| Jasper Wallace | 2:bbdeda018a3c | 13 | |
| Jasper Wallace | 2:bbdeda018a3c | 14 | **Note: Currently the mbed TLS git hooks work only on a GNU platform. If using a non-GNU platform, don't enable these hooks!** | 
| Jasper Wallace | 2:bbdeda018a3c | 15 | |
| Jasper Wallace | 2:bbdeda018a3c | 16 | These scripts can also be used independently. | 
