osxc / legacy-boot Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED: Script that prepares your OS X for provisioning with osxc
Home Page: http://osxc.github.io
License: MIT License
DEPRECATED: Script that prepares your OS X for provisioning with osxc
Home Page: http://osxc.github.io
License: MIT License
CFLAGS="-Wunused-command-line-argument-hard-error-in-future" pip install ansible
# Git remote path to osxc-maintained roles
for CM_REMOTE, I personally find it weird to specify where the git repo happens to be hosted as part of the project working directory path, but that's just meI'll cook up a PR to discuss this with working code sooner rather than later
the only response I get from this script is that 'authentication failed'
I'm running 10.9.2 with Xcode and the dev tools installed. I've used homebrew to install a handful of things.
I was surprised when boot.sh decided that it needed to install them, given that homebrew has been happy. Is it really necessary?
Xcode appears to have been installed via the app store, I believe that it was part of the image with which the machine was handed to me.
This homebrew issue discusses some funny business with Mavericks and the dev tools. It mentions using xcode-select to print the path to the install, heres what I get:
georgewh-L0DKQ1:xc-boot georgewh$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
So, is it really necessary to reinstall the dev tools to use osxc? If not, is there a way I can help improve boot.sh to avoid it?
-p
'ing the mkdir
means it sets 0777 on all intermediate folders, which may be all well and good in single-user systems with good security hardening practices already in place, but it should be addressed by instead creating the ~/src directory first with 700 if not present, with a chmod +a everyone deny delete" ~/src
for good measure.
If you'd like I can whip up a branch/PR for this as well, but it's also weird when the boot script creates the folders(which it seems assumes the short username == github name? I don't understand the CS_REMOTE=${1:-github.com/osxc/xc-custom}
) it essentially runs a 'clean' on both the common and custom folders by rm -rf'ing
after creation. We know mkdir -p will not error if it sees directories are already there, so this would be uncaught with the current code and could cause data loss. If you want to add an optional 'clean' function and variable that's off by default but around for troubleshooting, it may make more sense.
It seems like that you changed the repo name from xc-common/xc-custom to legacy-common/legacy-custom.
In this way, $CM_REPO and $CS_REPO should be changed as well.
or:
Cloning into '/Users/zhangchen/src/github.com/Michaelizm/xc-custom'...
Username for 'https://github.com': Michaelizm
Password for 'https://[email protected]':
remote: Repository not found.
fatal: repository 'https://github.com/Michaelizm/xc-custom.git/' not found
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.