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

Fix for alpine3.10 #4

Merged
merged 16 commits into from
Dec 18, 2020
Merged

Fix for alpine3.10 #4

merged 16 commits into from
Dec 18, 2020

Conversation

alallier
Copy link
Collaborator

Updated the fork from project upstream and cherry picked a fix for Alpine Linux 3.10 and greater out of vishnubob#81

Context:

garethrandall and others added 13 commits January 3, 2020 23:38
- limit line length (does not affect rendering)
- add first-level header first
- converted google domain from hyperlinks into plain text
- add language specification for code fragments

Here is a command to run Markdown syntax check:

```
docker run --rm --network none -v "/$PWD:/markdown:ro" 06kellyjac/markdownlint-cli:0.21.0-alpine //markdown
```

All the changes above fixed the following list of errors:

```
/markdown/README.md:1 MD041/first-line-heading/first-line-h1 First line in file should be a top level heading [Context: "## wait-for-it"]
/markdown/README.md:3 MD013/line-length Line length [Expected: 80; Actual: 280]
/markdown/README.md:7 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
/markdown/README.md:21 MD013/line-length Line length [Expected: 80; Actual: 131]
/markdown/README.md:23 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
/markdown/README.md:30 MD013/line-length Line length [Expected: 80; Actual: 124]
/markdown/README.md:32 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
/markdown/README.md:39 MD013/line-length Line length [Expected: 80; Actual: 239]
/markdown/README.md:41 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
/markdown/README.md:48 MD013/line-length Line length [Expected: 80; Actual: 185]
/markdown/README.md:50 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
```
Added support for new busybox timeout version
* New port for every test
Avoid sending a newline character which confuses servers.
@alallier
Copy link
Collaborator Author

Please hold on merging until I can double of check a couple of things. I wanted to get the diff showing so I can see what we are working with here

alallier and others added 3 commits December 18, 2020 14:55
Busybox updated timeout's flags to match coreutils.
This broke the script that was specifically dealing
with BusyBox being different from coreutils.

To fix the problem without breaking support for older
versions of busy box, this a version check of busybox
to determine which version of the flags to use.

Note, the changes use bash's regular expression's BASH_REMATCH
to get the job done.  For Alpine users, this means you'll have
to install bash and execute wait-for-it using bash.
@alallier alallier merged commit 486780c into kethinov:master Dec 18, 2020
@alallier alallier deleted the fixForAlpine3-10 branch December 18, 2020 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants