Comments (14)
The flow I've found that works is to commit and push on the local end, then git reset --hard HEAD
followed by git pull origin branchname
on the remote
from dripbox.
Yep, that's usually what I do, too
from dripbox.
I think I have an alternative, better solution with bfaf9f4. There really shouldn't be a git repo on the remote host. Instead, the remote state should look just like the local state, which we can accomplish with rsync at start.
from dripbox.
Ok. I've never used rsync before. How do I set this up?
from dripbox.
rsync comes with OSX, so all you need to do is git pull + pip install .
When you run drip now, choose either -f to get the old behavior or --sync to sync the local copy up to the remote host, overwriting everything and DELETING any files that aren't found in the local copy.
from dripbox.
Very interesting. Should be usefull, I just have to figure out the details for my particular setup. Thanks.
from dripbox.
I installed pip, and then ran pip install setup.py and pip install dripbox.py. Both told me:
Jeezbook|dripbox: pip install dripbox.py
Downloading/unpacking dripbox.py
Could not find any downloads that satisfy the requirement dripbox.py
No distributions at all found for dripbox.py
Storing complete log in /Users/Jordan/.pip/pi
And that log says:
------------------------------------------------------------
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pip run on Wed Feb 9 11:03:53 2011
Downloading/unpacking dripbox.py
Getting page http://pypi.python.org/simple/dripbox.py
Could not fetch URL http://pypi.python.org/simple/dripbox.py: HTTP Error 404: Not Found (dripbox.py does not have any releases)
Will skip URL http://pypi.python.org/simple/dripbox.py when looking for download links for dripbox.py
Getting page http://pypi.python.org/simple/
URLs to search for versions for dripbox.py:
* http://pypi.python.org/simple/dripbox.py/
Getting page http://pypi.python.org/simple/dripbox.py/
Could not fetch URL http://pypi.python.org/simple/dripbox.py/: HTTP Error 404: Not Found (dripbox.py does not have any releases)
Will skip URL http://pypi.python.org/simple/dripbox.py/ when looking for download links for dripbox.py
Could not find any downloads that satisfy the requirement dripbox.py
No distributions at all found for dripbox.py
Exception information:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip/basecommand.py", line 124, in main
self.run(options, args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip/commands/install.py", line 178, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip/req.py", line 896, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pip/index.py", line 141, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for dripbox.py
I've never used pip before (I stick to macports / homebrew), am I doing something wrong?
from dripbox.
Forget about pip. Just do "python setup.py install"
from dripbox.
New error while connecting:
Jeezbook|local_code_stash: drip [email protected]:local/trunk
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken
RandomPool_DeprecationWarning)
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/drip", line 56, in <module>
dripbox.rsync(remote, host, args.remote_port, args.sync)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dripbox.py", line 58, in rsync
port = _get_ssh_config_port(host) or 22
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dripbox.py", line 48, in _get_ssh_config_port
with open(SSH_CONFIG, 'r') as cfile:
IOError: [Errno 2] No such file or directory: '/Users/Jordan/.ssh/config'
from dripbox.
I rolled back to 1b37595 which put me before the other ssh changes, it works now. I've never seen an ~/.ssh/config file used before, not sure what goes in one.
from dripbox.
Fixed SSH config failure — SHA: 6fb9f08
from dripbox.
jfeldstein: can you confirm that brainsik has fixed this issue for you?
from dripbox.
Fixed.
from dripbox.
Great!
from dripbox.
Related Issues (9)
- Epic fail on non-epall system HOT 1
- Untitled HOT 2
- Files in local root dir don't get watched HOT 2
- rsync failure HOT 3
- Unknown distribution option: 'install_requires', python26 via macports HOT 8
- Does not reopen closed connection HOT 2
- Docs: pip to install the repo and get the dependencies downloaded HOT 1
- Rewrite in ruby 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 dripbox.