Comments (10)
I would make a PR but I cannot find the source for apt.syncthing.net
from old-web.
Can't we work on the assumption that people who know how to modify package setups and so on via command line on Linux know that they need root access to do so?
However an alternate (and better option in my opinion) is to add a syncthing specific sources list:
echo "deb http://apt.syncthing.net/ syncthing release" >/tmp/syncthing.list
sudo cp /tmp/syncthing.list /etc/apt/sources.list.d/
That's probably a good idea. Does this work on every recent Debianish distribution?
from old-web.
Can't we work on the assumption that people who know how to modify package setups and so on via command line on Linux know that they need root access to do so?
Sure, I think that's a good assumption. The distinction I'm making is the 2 ways of how people gain root access. A good number of people have been trained to never use root in favor of jumping in and out of sudo. In fact the general convention for command line tutorials is to heavily discourage root usage for safety... and this generates a bias against using the root account itself.
So to that end it would be good to have a command which is sudo compatible as your current commands require the usage of the root account. (for example >>
is executed first, so it fails if you're trying to use it with sudo) While I don't mind the current commands they will be problematic in the future without sudo compatibility of some kind.
I'm not trying to be pedantic, just trying to prevent a lot of future issues and support requests of: I can't get this to work help me please etc etc etc
That's probably a good idea. Does this work on every recent Debianish distribution?
It should, as it's a current feature of apt. Debian squeeze man page for sources.list details the sources.list.d directory: http://manpages.debian.org/cgi-bin/man.cgi?query=sources.list&apropos=0&sektion=5&manpath=Debian+6.0+squeeze&format=html&locale=en
from old-web.
You're probably right, most similar things online seem to use sudo so I guess that's what people are used to - if nothing else then just as a "this command needs root" marker.
Then there's the ever popular curl | sh... ;)
from old-web.
Then there's the ever popular curl | sh... ;)
The horror... shudders...
from old-web.
So is the source for apt.syncthing.net here on github somewhere? If it is I'm happy to make a pull request.
from old-web.
Yeah, no, it was a quick evening hack. I'm going to clean up and put it in a repo here somewhere.
from old-web.
from old-web.
https://github.com/syncthing/apt-web
from old-web.
For context, here's the first support request related to this issue: https://forum.syncthing.net/t/2761
from old-web.
Related Issues (20)
- Link to data.syncthing.net HOT 9
- add paypal-support for donations HOT 4
- The forums are under attack by spammers
- Not accesible on mobile chrome HOT 4
- Link to Protocol definition HOT 2
- https Version with Cloudflare HOT 4
- Syncthing website dislikes Tor HOT 11
- Why are we using cloudflare? HOT 8
- Include video setup tutorial HOT 3
- Syncthing website, forum, and Debian/Ubuntu repositories are down HOT 1
- bitcoin button is broken HOT 2
- Translations HOT 11
- Stripe donations not working HOT 3
- Website should force https HOT 4
- data on data.syncthing.net seems to be missing, maybe not on purpose HOT 1
- Some syncthing services are down HOT 4
- Syncthing is already in debian! HOT 8
- debian repository keys HOT 4
- Fix link on badge for F-Droid HOT 2
- german translation of website text HOT 1
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 old-web.