deployr

Dev tools

deployment tool

SHOW HN2018

deployr

A simple Go utility to ease deployments via SSH and SCP

github.com

#deployment#ssh#scp#go#configuration management

50points
24comments
#793of 2,155 in 2018
Top 37%of 2018 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 13 neutral or asking, 0 mixed, 1 critical, out of 15 comments about the project. Thread score 0.00.

Idea: 0 for, 1 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Go binaries are self-contained with no runtime dependencies

    From 1 comment
    • Go binaries are self-contained, unlike Ansible, which is a Python module. There are no runtime dependencies, and no worries about which version of Python and module version…
      otterley on HN

Objections

  • Less capable than Ansible for broad configuration tasks

    From 1 comment
    • A comparison to Ansible might be helpful to help clarify why you would choose this instead.
      tyingq on HN

Requests

  • Add rsync as a transfer option

    From 2 comments
    • This definitely looks interesting, have you considered an option to use rsync instead of scp?
      yunyu on HN
    • Yes, rsync communicates with the rsync at the other end automatically over SSH. You could use rsync by default and then fallback to scp if rsync isn't usable.
      silverglass on HN
  • Add conditionals and looping in the template language

    From 2 comments
    • This. I think Go Templates can be nearly or equally as powerful as Jinja2, but there may need to be additional filters and shortcodes added like Hugo.
      techntoke on HN
    • To make this useful I guess you'd probably want more filters in the "language", to allow conditionals, looping, etc. Those are things I deliberately left out, but I could be open…
      stevekemp on HN

Questions

  • Why redirect stderr to /dev/null in the adduser example

    From 2 comments
    • Small question: In the readme (first section) you use, as an example, the command: "Run adduser bob 2>/dev/null" why do you add the "2>/dev/null" part? I see a lot of…
      hexmiles on HN
    • Adduser will fail a second time, and show "user already exists" or similar. We hide that via the redirect
      stevekemp2 on HN

Alternatives named

  • Ansible

    From 1 comment
    • A comparison to Ansible might be helpful to help clarify why you would choose this instead.
      tyingq on HN
  • Python Fabric

    From 1 comment
  • sup

    From 1 comment
    • Looks a lot like sup[1]. [1]: https://github.com/pressly/sup
      atmosx on HN
  • Capistrano

    From 1 comment
    • So, capistrano? https://capistranorb.com/ But you don't need Ruby installed?
      mooreds on HN
  • shipitjs

    From 1 comment
    • A similar tool, but npm/js, I successfully use in a few apps: https://github.com/shipitjs/shipit
      mahesh_rm on HN
  • judo

    From 1 comment
    • > I believe that we are getting to a point where config management might as well be in a programming language instead of a bunch of ad-hoc scripts in templates that defer to…
      rollcat on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/17933628)