Comments (7)
Wouldn't a simple system() call with the URL be enough?
from deb-simple.
System call, that is unacceptable! Golang has native support for HTTP transport. os.Exec
as you mention as system()
is 100% unportable across systems!
The native Client approach is fairly easy to implement.
from deb-simple.
from deb-simple.
Ooh no, don't feel attacked. I know how you feel when writing in C/C++. I write mostly C for embedded systems and know how hard it is!
from deb-simple.
Oh, that is good, i am always concerned pissing someone off... The reason for a system call would be, that other languages could use it too, and cross platform wouldn't be a problem IMO. I will look into libcurl for C (and the equivalent for python). Let's see if we can do something 👍
from deb-simple.
Probably an API build on top of Curl + some sort of JSON library would take 400% more time than a package in Golang :+)
from deb-simple.
I think since deb-simple exposes REST endpoints, it might make sense to just have other go programs use those. I'll close this for now but if there is a good reason to add this we can open it back up.
from deb-simple.
Related Issues (18)
- Look at memory usage HOT 1
- Create additional createPackagesGz() test HOT 1
- Ability to use a directory containing deb pkgs HOT 7
- Handle trailing whitespace in control files HOT 6
- Mention building of debian packages with `debpkg` HOT 1
- Add support for Let's Encrypt HOT 2
- Access control? HOT 5
- Why is there no deb repository for this project? HOT 2
- Where are the binaries? HOT 2
- no Package: header / Problem with MergeList HOT 5
- Usage as CLI tool HOT 2
- Changes from ubuntu 16.04 to 18.04 HOT 8
- Make fsnotify configurable HOT 1
- Illegal option -s
- MAINTAINER WANTED HOT 8
- Update documentation HOT 1
- Add ability to set distro and section
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deb-simple.