Last 12 weeks · 0 commits
2 of 6 standards met
@jessfraz Will you still have time to maintain dockfmt in the future? If not, that's perfectly understandable but in that case would you like to appoint a new maintainer? I'm not the right person for the job but maybe one of the other people who sent a PR is, or someone else you know who is excited about Docker.
Describe the bug completely ignores all available Dockerfile flags (in accordance with the official specification https://docs.docker.com/reference/dockerfile/#syntax) Steps To Reproduce 1. Toy Dockerfile example 2. Format the file Expected behavior Official Dockerfile instruction flags shouldn't be deleted, it makes the tool unusable in any real life scenario. Additional context
At the moment, the code simply treats shell code as a string, splitting by and doing string replaces. This will work most of the time, but will break fairly easily, with cases like: we don't want this to be split won't be replaced with due to the double space (markdown gets rid of the double space before , though) I use this tool and suffer from these from time to time, so I'd be happy to work on a small patch to use mvdan.cc/sh/syntax. Using its printer you'd also format the shell code, such as replacing `foo$(foo)`. I see no tests, though - so I'm a bit wary to touch the code. Chances are I'm going to introduce a couple of regressions :)
Hi! As part of dokku/dokku#3263 and #9, I'd love to be able to package dockfmt into deb and rpm packages. I realize this isn't exactly something you do for your tools, so would be happy to setup a release process on our end that pulls your built binaries and creates a deb/rpm package via fpm. We would be hosting the packages in Dokku's packagecloud repository. If this isn't something you'd like me to do - or if it's something you'd like me to contribute to your release process in some way - that's totally fine. Just asking in advance as I know some folks don't like random distributions of their packages :)
Repository: jessfraz/dockfmt. Description: Dockerfile format and parser. Like `gofmt` but for Dockerfiles. Stars: 441, Forks: 21. Primary language: Go. Languages: Go (70.5%), Makefile (26.9%), Dockerfile (2.6%). License: MIT. Latest release: v0.3.3 (7y ago). Open PRs: 2, open issues: 4. Last activity: 2y ago. Community health: 42%. Top contributors: jessfraz, toc-me[bot], josegonzalez, github-actions[bot], ilyar, jeffxf, lassik, jimen0.