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

Rewrite blackbox in Go (golang) #310

Open
TomOnTime opened this issue Jun 7, 2020 · 4 comments
Open

Rewrite blackbox in Go (golang) #310

TomOnTime opened this issue Jun 7, 2020 · 4 comments

Comments

@TomOnTime
Copy link
Collaborator

This is the issue to track the development of a Go version.

CC: @hpoul @mnewswanger @MaxHorstmann @captncraig

@TomOnTime
Copy link
Collaborator Author

The "golang" branch has made a lot of progress this weekend:

  1. Reworked the subcommands and flags. More consistent. Easier to understand. Rather than one subcommand for each legacy bash script, there is often a subcommand with various flags.

  2. Plug-ins for VCS: I've written Git and "None". Adding Mercurial, Subversion, etc. should be a breeze.

  3. Plug-ins for GPG implementation: I've written one that calls out to /usr/bin/gpg. It will be easy to add support for go-openpgp, Windows gpg.exe, and others.

The code is A LOT more simple now. This is the 3rd (?) iteration of trying to simplify the code. It is a lot better than my earlier iterations. The interfaces are much better structured now. I think anyone should be able to hack on this very easily. In fact, it is so much cleaner that it requires less test code.

If you want to see the code so far, it is in this branch:
https://github.com/StackExchange/blackbox/tree/golang

CC: @farseeker

@tlimoncelli
Copy link
Contributor

Beta implementation is in #250

@MaxHorstmann
Copy link
Contributor

No Go tests yet, right?

@tlimoncelli
Copy link
Contributor

tlimoncelli commented Nov 12, 2020 via email

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

No branches or pull requests

3 participants