Comments (3)
Just want to mention that I think this is an important feature to have so I personally can start advising users to use Swiftly over https://swiftlang.xyz.
If I were to mention a second-important feature to make sure there is no longer a reason to advise https://swiftlang.xyz, it would be #42 (making sure users don't have to manually deal with PATH).
Just throwing my thoughts out here for what they're worth since I see Swiftly is approaching a release and @0xTim is hopeful we can start using Swiftly in the Vapor Discord server.
from swiftly.
Your feedback is much appreciated, thanks for providing it! And yeah I agree, I think this and #42 are probably worth having for the initial release to help ensure good first experiences with swiftly. Regarding the dependencies, the design for swiftly has a plan for a more complicated approach to system dependencies that involves trying to detect them in case a user installed them manually, but I think for an initial release at least (if not indefinitely), just handing it in the install script is probably fine.
Regarding the PATH, ~/.local/bin
is already on the PATH for most distributions, so users shouldn't have to mess with it unless they configure it otherwise. That said, sometimes it doesn't exist on the path (e.g. for the root user), and sometimes users will want to configure other directories, and in either case #42 is very useful.
from swiftly.
Can't remember what that more complex plan was for installing dependencies. Shouldn't we leave that to apt-get
or yum
. We can easily add to the install script the dependency installation. We can scrap the dependencies from the docker image scripts in swift-docker.
from swiftly.
Related Issues (20)
- Provide wrappers for tool binaries instead of symlink HOT 8
- Allow installation on derived and unsupported platforms HOT 5
- GitHub API limitation issue HOT 2
- Run shellcheck on swiftly-install.sh HOT 3
- Validate permission to toolchain directory prior download
- Update PROFILE_FILE for system when running as root HOT 2
- Global ld.conf or switching symlinks to activate toolchain HOT 2
- Ensure swiftly can parse tags from apple/swift repository
- Print currently in-use toolchain if no arguments are provided to `use`
- Provide option to use the newly installed toolchain
- Support fish shell in swiftly-install.sh HOT 1
- Error: `getopt` must be installed HOT 1
- Add support for shell autocompletion HOT 2
- Swift REPL not working HOT 2
- Overwrite prompt of Use gets cancelled in non-interactive Linux environments HOT 2
- Possible usage of URLSession For Greater Portability HOT 5
- `swiftly-install.sh` doesn't clean up existing symlinks when performing a clean installation
- Support upgrading the swiftly installation via `swiftly-install.sh`
- Add `self-uninstall` command
- Prompt to remove existing Swift installation HOT 5
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 swiftly.