Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hadolint/language-docker

Haskell Dockerfile parser, pretty-printer and EDSL
https://github.com/hadolint/language-docker

Merge pull request #89 from matsubara0507/fix-pretty-port-range-with-udp-udp

a62ce753efb020eb39dedb3aa5834d93876be0f6 authored over 1 year ago
fix: drop /udp from pretty port range with udp and udp

83bc249f6bee707757746ecd61700551feb01a10 authored almost 2 years ago
bunmp version number

24f7886b1b07a32b50b82497497a0544d43f1a45 authored almost 2 years ago
Merge pull request #88 from m-ildefons/fix/hadolint-893-healthcheck-fractional-args

fixes https://github.com/hadolint/hadolint/issues/893

e29aa11340c2c1e6e66588ef84713983f1f3f8ff authored almost 2 years ago
fix: parse fractional arguments to flags

Parse fractional numbers as arguments to flags for the `HEALTHCHECK`
instruction.

The `HEALTHCH...

d675b4ed957cec6263e0607040c1012aef1fdd9e authored almost 2 years ago
Merge pull request #87 from m-ildefons/fix/hadolint-923-heredoc-linebreaks

fix: heredocs in lines with escaped newlines

34e9ddfa0b662d603ae9fc43f6ce78a6ce2a8447 authored almost 2 years ago
fix: heredocs in lines with escaped newlines

Fix parsing error with heredocs within command chains with escaped
newlines.

When chaining comm...

87bfdfa66ad9feedd441dbc6f55bee9c36f01c09 authored almost 2 years ago
bump version to 12

ced8a99e8548dda732fe3a13904bd69ae21e1c6b authored about 2 years ago
Merge pull request #85 from m-ildefons/876-port-range

ast/parser: vairables in port ranges

e51ca63f44dbdc7d46a5beac78ad5531b3d9021d authored about 2 years ago
ast/parser: vairables in port ranges

- Fix parser being unable to parse port ranges when the limits are
expressed with variables
- ...

ad383b6bcf426930886978bd80ca0e2da5d6028c authored over 2 years ago
Merge pull request #84 from m-ildefons/copy-link

syntax: add support for `--link`

79e9b7db67f818150aa7e213cb58b9dd71331ec3 authored almost 3 years ago
syntax: add support for `--link`

- Add support for parsing `--link` flag in `COPY` and `ADD`
instructions.

With Dockerfile syn...

e129094a3eb111342459426dd2249c5831981679 authored almost 3 years ago
Merge pull request #82 from m-ildefons/exec-format-escaped-quotes

parser: fix escaped sequences in strings

18cf761d89df346b84199d68832f77af3f8bb1b3 authored almost 3 years ago
parser: fix escaped sequences in strings

- Reuse existing parsers for handling strings with escaped sequences by
moving them form Pairs...

f4d725f9d9d9b5455a3b2b49050478aaa655b7ab authored almost 3 years ago
bump version to 10.4.2

f7fd2aa72d2baf3fbe9d556bea91a1d8d31687f4 authored almost 3 years ago
Merge pull request #80 from m-ildefons/exec-format-broken-long-string

parser: fix parsing broken strings in exec format

b1f303d58e1b26cd3fa8b68f24142301a61e352e authored almost 3 years ago
parser: fix parsing broken strings in exec format

- Fix parsing of long strings broken into multiple lines in the
exec/JSON format of CMD, RUN a...

a3dd754f3f5dd3c30d4bfb3b3e8faf95d930801a authored almost 3 years ago
upgrade version to 10.4.1

7a2616f72f33f1c955f4fc384551f224b341e047 authored almost 3 years ago
Merge pull request #79 from m-ildefons/heredoc-command

heredoc parsing: fix overzealous parsing

8e6f29759cf8d75fec87ec3c090c1d42ce67734f authored almost 3 years ago
heredoc parsing: fix overzealous parsing

- Fix overzealous parsing of a `RUN` instruction in case later on a
heredoc follows

A `RUN` i...

a25168233431b1e689c0b7aa880e2fbba9ecc761 authored about 3 years ago
Bump version number

09943a2f0e05443a21fec3a8b38ebe7832be6358 authored about 3 years ago
Merge pull request #77 from m-ildefons/mount-ro-explicit

parser: Allow buildkit --mount arguments ro/rw be explicit

fcdcfde8e8ced1834311170dc0f11c9f949cc925 authored about 3 years ago
parser: Allow buildkit --mount arguments ro/rw be explicit

Allow explicitly setting `ro=true` and similarly for `rw` and `false`
and all permutations there...

7b2b32e5e392e7998faf7579a50d006fb753b910 authored about 3 years ago
Merge pull request #76 from m-ildefons/heredoc-no-newline

bugfix: handle heredocs followed by EOF

e0e26d1cb0ebdc7e46ec0a19995456bb97c46f11 authored about 3 years ago
bugfix: handle heredocs followed by EOF

Even though POSIX clearly states that the delimiter should be on its
own line, followed by a new...

d234f08d657a98d12ca0b2e71318bdbed019567d authored about 3 years ago
Merge pull request #74 from m-ildefons/extra-sources

packging: add extra sources

57c2db87dd5ca14002a52a666b2d00485cc3268d authored about 3 years ago
packging: add extra sources

- Add all test fixtures to the package.yaml so the hackage packge is
generated correctly.

fix...

83e1513258ddb980678cf8378e4692b057ad432b authored about 3 years ago
Merge pull request #73 from m-ildefons/multiple-run-mounts

syntax: handle multiple `RUN` mount flags

8f2d1c072e1a4be9ce7a90c9700da21c694a332e authored about 3 years ago
syntax: handle multiple `RUN` mount flags

Add capabilities to handle multiple `RUN` mount flags.

Sometimes a `RUN` instruction can have m...

5d42c1be8a76b1381d4f6eaf01f11b28f21a358f authored over 3 years ago
bumping version number

6996136b64a92dd38eb9b7d99fa8f4626b64f70d authored over 3 years ago
Merge pull request #70 from m-ildefons/run-mount-uid-string

parser: parser uid/gid in `RUN --mount` as string

730c75236b1985ed422cab00a184ef57b7698a88 authored over 3 years ago
Merge pull request #71 from m-ildefons/bom

file parser: respect byte order marks

8d1d5eb3f199189b8b4d954f9a9561508223dc24 authored over 3 years ago
file parser: respect byte order marks

Add detection and correct handling of byte order marks (BOMs) to file
parsing. Can handle both b...

96b78ca61bee3eca0f1137fbe2951873e89effad authored over 3 years ago
parser: parser uid/gid in `RUN --mount` as string

Parser the uid/gid options in the `--mount` option to the `RUN`
instruction as string. This allo...

2734e94c44b1ce0faafd0cf644839be781ebe5b4 authored over 3 years ago
Merge pull request #69 from m-ildefons/heredoc-termination

bugfix: heredoc termination, unicode whitespaces

a1e8ebf778f7b7999711e6c09ff537a0c2594345 authored over 3 years ago
bugfix: heredoc termination, unicode whitespaces

- Simplyfy heredoc marker detection by replacing the use of
`L.charLiteral` with `anySingle` a...

0c890aa75b3af2cdd5be2dc0150306b4251edd14 authored over 3 years ago
Merge pull request #68 from m-ildefons/heredoc-escape-fix

heredocs: fix parsing bug with line continuations

ed05837079897a79d3b1b62001b046dde96714f3 authored over 3 years ago
heredocs: fix parsing bug with line continuations

Fix parsing error on line continuation.
The `Text.Megaparsec.Lexer.charLiteral` parser will not ...

26f2c697601da5270273291f8ccc88fc7b151a67 authored over 3 years ago
Merge pull request #66 from m-ildefons/heredoc

parser: support heredoc format

6877044849d11927c4b69e6f97664315a65b6047 authored over 3 years ago
heredocs: remove usage of `last`

- Remove usage of partial function `last` in parsing of the `COPY`
instruction
- Fix typo in c...

b570bbe846bad1b3b24d2e0771664a53ed669ec3 authored over 3 years ago
heredocs: file redirect support

- Add support for file redirects in heredocs
- Add support for intermixing regular commands and ...

fb5e34b664cd3de03963fc64c9a9741d1a34fbe0 authored over 3 years ago
heredocs: support for quoted markers and dash

- Add support for quoted markers
- Add support for dash before maker

These variants of the here...

eaabfbdb51bbb805344df81f4b3bcbc01eea63da authored over 3 years ago
heredocs: support for heredocs in COPY

- Add support for (multiple) heredocs in COPY statement
- Separate unit tests for COPY into thei...

fecca623c63528f6ea649e1a759155c094247e4b authored over 3 years ago
parser: support heredoc format

- Add heredoc format support for everything that parses arguments (e.g.
RUN).
- Separate out u...

5d92bfb803bf35763af6c82f07a6269f81ffd1f0 authored over 3 years ago
Merge pull request #67 from m-ildefons/unit-tests

workflow: Add linting and unit testing

4412739e54acb48700e5f94e34a29269c61f184a authored over 3 years ago
workflow: Add linting and unit testing

- Add linting workflow utilizing `hlint`
- Add unit test workflow utilizing `cabal test`

d9445cbc410720582aa167d8dcfd86ade95916a9 authored over 3 years ago
bumping version to 10.0.2

3ca1b2d5732cd4f49e17908af88e94b23c1bfc7f authored over 3 years ago
Merge pull request #65 from m-ildefons/invalid-protocol

feature: report invalid protocol

9c436c617c8d8f419309b7b96363455991829325 authored over 3 years ago
feature: report invalid protocol

Propagate the correct error message `invalid protocol` upwards in case
parsing an expose express...

3d8ba88da62888aa36019047fad100f954075500 authored over 3 years ago
also update cabal file

e35d1f3a2d5b247ba64663540a8205fe08a64100 authored over 3 years ago
bump version number

0ed4126d0f467e87459ed9d5ab936d6794364ba1 authored over 3 years ago
Merge pull request #64 from m-ildefons/sdist-files

stack: add Dockerfiles to `package.yaml`

e504c78102f0e6121bf900274e85d327ded820f4 authored over 3 years ago
stack: add Dockerfiles to `package.yaml`

List all Dockerfiles for tests in `package.yaml` and
`language-docker.cabal`.

- fixes: https://...

e1ecb96be7aaf3bc9dede9c99403e8e3961ffab1 authored over 3 years ago
Merge pull request #62 from m-ildefons/escape-character

parser: handle parser directives

7e4bceea394c83ee1fec90263db86fd0e312c48a authored over 3 years ago
pretty printer: detect escape character from AST

- Add escape character detection logic to the pretty printer
- Replace the escape character on d...

e872906a9da39f1fe8b843096fa6a04baaaa991f authored over 3 years ago
parser: handle parser directives

- Add handling for parser directives (pragmas) to the parser:
`escape`, `index`
- Split off te...

6b92272ca7c5a7d570b3a828b0fa870135c52062 authored over 3 years ago
Bump version number

7e8e9787ba9333739e332d97694cc2e08c810149 authored almost 4 years ago
Merge pull request #61 from m-ildefons/copy-add-chmod

syntax: add support for --chmod flags #609

f92423bcecc5672a8124e62dffce55dcff9b0dc6 authored almost 4 years ago
syntax: add support for --chmod flags #609

- add support for the --chmod flag for `ADD`
- add support for the --chmod flag for `COPY`
- add...

420c6afe09e6b69332e764ffb676c5e8fcfdaeaa authored almost 4 years ago
Bump version number

bdde169d23cc8af46b18f8c7f02d401cca0568bf authored almost 4 years ago
Merge pull request #60 from m-ildefons/mount-required

parser: fix experimental option `required`

ae6bd8acc024f41bbf0ca50d78416d4f927cb3b4 authored almost 4 years ago
parser: fix experimental option `required`

- Remove unused compiler pragma
- Add capability to deal with explicit boolean values for experi...

819a7f24ff3b3a8187c57bfdc0663f7a849282c8 authored almost 4 years ago
Bump version number

5992510ab54675db765658cf9a2f6417dc8240a5 authored almost 4 years ago
Merge pull request #59 from m-ildefons/arg-default

parser: Handle `ARG` instructions without default

241d4cfe313007f1c6b009e8d871e683032a3748 authored almost 4 years ago
parser: Handle `ARG` instructions without default

Improve the parser by correctly handling `ARG` instructions that do not
have a default, but do h...

c4e9a92d5cc3ee34e0c338147051b49dae6d1281 authored almost 4 years ago
Bump version

354467bb0cf6bcfe80a4b7c1b6f3be1cfc2d3d63 authored over 4 years ago
Merge pull request #58 from hadolint/fix-bugs

Fix bugs

00c16bb5be280301af7424dfa7c1bc7753001634 authored over 4 years ago
fixed bad parsing of copy when it has trailing whitespace

4abefa443aa07ca199e5704ce8d2dfa258d50111 authored over 4 years ago
parse files with windows file endings

ab9f4b0de6b5dce22a23a3509d2cbe687b36a504 authored over 4 years ago
Merge pull request #56 from hadolint/parse-dst

Parse dst modifier correctly

52fa6254d5c54da692cca2e398bf9df5ae78add0 authored over 4 years ago
upgrading version number

8680a37f2a689c32d4adb50a9a972af00b7b1f7f authored over 4 years ago
Parse dst modifier correctly

I had made a mistake and was parsing `dest` insted of `dst`

0867b58de03f541b3cdf0e1700678362342a2c42 authored over 4 years ago
Merge pull request #55 from hadolint/fix-cache-sharing-parser

Fixed parsing of --mount=type=cache

f6654e181f8b04c23f00d385291d165a42cf4c0b authored over 4 years ago
Fixed parsing of --mount=type=cache

I had misunderstood that the sharing argument was required, but it is
not.

1416d5fab60d27880a7acfabae1c4153c454333f authored over 4 years ago
Relaxing base boundaries

d033afd853b7a585a9b0e05453c29385254a3cc0 authored over 4 years ago
Merge pull request #54 from hadolint/improved-parser

Parser rewrite

9983e866deee0e8610bd80294ff1ebcd8a7ece21 authored over 4 years ago
small change in package description

b16e62df236309961b7a6cf84c972f25e38cadb4 authored over 4 years ago
Remove OSX build to save time

Since this is a pure library, nothing wiill be found on OSX of interest

4ed3264cbbfb125392c5b70191a3a4e9bbcac353 authored over 4 years ago
Link to dockerfile-creator

79939add6c77640d9717febe286dee3b533b55ed authored over 4 years ago
making the test output more useful

05c1b8c39c97fa1041f1604ba26476b267e136fa authored over 4 years ago
Moving the EDSL stuff out

It will live in another repo.
We do this to make it easier for hadolint to be cross-compiled to ...

4d8377aaaf318753b69c7c93fe7c934f0cad206d authored over 4 years ago
reformatting with ormolu

92111ce881ed25c28bcdf0eaace79d2055b84e2e authored over 4 years ago
Added pretty printing for new run flags

94f0dfe1e00e1a07357db9e56f90828a835092c7 authored over 4 years ago
Refactoring code out into other files

Using ormolu in those file for formatting instead of hindent

cad42836d8773276b6ab485d075a1b1a94094fe0 authored over 4 years ago
Merge remote-tracking branch 'origin/master' into improved-parser

943378ad9b2cd1fbf00640de94705d106a53b670 authored over 4 years ago
Adding better version constraints

added a new dependency to make life easier here

b39760c728bc61bb5e5439055641897024b7884f authored over 4 years ago
Merge pull request #53 from WyriHaximus-labs/add-support-for-escaped-quoting

Add support for escaped quoting

8858f5bf29fe556647d2bbb74b052176b4199756 authored over 4 years ago
Add tests for escaped quoting

a06ca3b370f98e35801772eb88a19c4ecdee205d authored over 4 years ago
bumping version

fb05a80c0b80dac57fea3b3c8a86c4b7438aea75 authored over 4 years ago
Starting to work on newer run flags

ef7ef31f298dae1af7bc30f8604b5ed3651b488c authored over 4 years ago
Adding more tests and cleeaning up

2f84322e4da1800957793de859cb958a13f8d3fd authored over 4 years ago
Merge pull request #52 from RyanGlScott/ghc-8.10

Allow building with GHC 8.10

d17d1fb819b79e9733b6981622eb2aa71e6532a7 authored almost 5 years ago
Allow building with GHC 8.10

Fixes #51.

ed4f222ae9d7305889af4197997bb2b81a51efdb authored almost 5 years ago
Fixed another regression, remove blacklist in integration tests

03cf47525b8935e5448c73b11e0d637a7ca5e7d4 authored almost 5 years ago
Fixed two other regressions

ad12106d8553bba15c165d19a6a93de55fd2d785 authored almost 5 years ago
Fixed a few bugs in the parser aftere previous refectoring

f56c2e73cb491a11b714ef2a474fd7e96128cf1e authored almost 5 years ago
Don't normalize the dockerfile anymore

The newline breaks logic is now in the parser, which will help retain
more precise information o...

5815487544103a601bf424709d67275371d85010 authored almost 5 years ago
Merge pull request #50 from hadolint/ghc-8.8-only

GHC 8.8 only

2035c186d61d0e45c69a89df552701cd3d174b67 authored almost 5 years ago
simplifying travis

1ff06f938cae23ceafed6fabea0ec9c0b3e1fc9c authored almost 5 years ago
Bumping version number and marking this library as ghc 8.8+

47693c067cd99b6a3f66bb2a35cf9709a1c0aadb authored almost 5 years ago