Code Monkey home page Code Monkey logo

Comments (11)

tracker1 avatar tracker1 commented on July 23, 2024 7

A minimal Docker image would be nice as well, something that's easy to run as a packaged command, or copy the binary from into another container in Dockerfile.

from go-sqlcmd.

dzsquared avatar dzsquared commented on July 23, 2024 1

priority towards ubuntu (apt) and centos (yum), please

from go-sqlcmd.

grrlgeek avatar grrlgeek commented on July 23, 2024 1

@stuartpa Can this issue be closed now?

from go-sqlcmd.

dzsquared avatar dzsquared commented on July 23, 2024

macOS would be brew
Windows would be choco
Not sure how to get added to Microsoft's packages repo for apt on Linux as seen in https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools?view=sql-server-ver15#ubuntu

from go-sqlcmd.

shueybubbles avatar shueybubbles commented on July 23, 2024

how about winget?

from go-sqlcmd.

dzsquared avatar dzsquared commented on July 23, 2024

Prior art on accepting licensing:

Debian install command line flag: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#debian17

visual analog from SSMS:
image

from go-sqlcmd.

almguru avatar almguru commented on July 23, 2024

macOS would be brew
Windows would be choco
Not sure how to get added to Microsoft's packages repo for apt on Linux as seen in https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools?view=sql-server-ver15#ubuntu

The list looks good and I would support winget on Windows as well.

from go-sqlcmd.

tracker1 avatar tracker1 commented on July 23, 2024

Regarding Linux...

Would suggest looking into appimage, flatpak (flathub) and snap. Not sure if flatpak or appimage are good for cli apps. There are snap packages in ubuntu for cli apps.

The three are pretty much supported everywhere, appimage doesn't tether to a repo, would need to be in github releases... for flathub and snapcraft, probably quickest path to users being able to get to it.

from go-sqlcmd.

stuartpa avatar stuartpa commented on July 23, 2024

Suggested rough order of implementation:

Docker, Apt (Debian/Ubuntu), RPM (Yum & Zypper) for (Centos, Fedora), MSI/Choco/Winget (Windows), Brew (Mac), Snap/Flatpack/AppImage (Ubuntu), MacPorts (Mac)

from go-sqlcmd.

stuartpa avatar stuartpa commented on July 23, 2024

1st PR (of 5) out for RPM/Yum/Zypper/Centos/Fedora/Suse packages

#62

from go-sqlcmd.

stuartpa avatar stuartpa commented on July 23, 2024

Yep. We have sqlcmd in all the common package managers, will add more as users request them.

from go-sqlcmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.