Joey Hess
f913deab78
move programPath out of Config.Files to Annex.Path
...
This works around horribleness in the Mavericks cpp, which falls over on
the #if when configure is running. Moving it avoids the file being built at
that point.
But it's also a location that makes sense..
2013-11-24 16:03:03 -04:00
Joey Hess
b14d03ce7c
Merge branch 'master' of ssh://git-annex.branchable.com
2013-11-24 15:53:42 -04:00
Joey Hess
399ef340f3
completely untested OSX upgrade code
2013-11-24 15:53:15 -04:00
Joey Hess
12fd08be81
tested multi-daemon upgrade
2013-11-24 15:20:18 -04:00
Joey Hess
95feec24d1
create directory for upgraded versio early as a locking mechanism
2013-11-24 15:03:50 -04:00
Joey Hess
5ff5d0a854
cleanup on failed upgrade
2013-11-24 14:04:03 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkI9AR8BqG4RPw_Ov2lnDCJWMuM6WMRobQ
139119fd60
Added a comment: Syncing only a specific branch
2013-11-24 17:48:23 +00:00
Joey Hess
542ae4a855
show version in upgrade alert
2013-11-24 13:28:34 -04:00
Joey Hess
6165284e39
add support for fully automatic upgrades
...
The Upgrader avoids checking for upgrades on startup when it was just
upgraded. This avoids an upgrade loop if something goes wrong. One example
of something going wrong would be if the upgrade info file and the
distribution file get out of sync (or the distribution file is cached in
a proxy), so it thinks it has upgraded to a new version, but has really
not.
2013-11-24 13:20:58 -04:00
Joey Hess
f04786f984
recusive rmdir
2013-11-24 12:56:49 -04:00
Joey Hess
b59998f73d
better handling of upgrade directory
2013-11-24 12:49:03 -04:00
http://joeyh.name/
069ca9b179
Added a comment
2013-11-24 16:04:23 +00:00
http://joeyh.name/
4ad39330a3
Added a comment
2013-11-24 15:58:31 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg
f3d12e7449
Added a comment: Testing a special remote
2013-11-24 08:24:38 +00:00
Joey Hess
4776e1d7b7
use manifest file instead of blindly removing the whole git-annex.linux directory
...
FIXME: dirContentsRecursive does not find empty directories
2013-11-24 01:41:13 -04:00
Joey Hess
919a301818
update
2013-11-24 01:10:45 -04:00
Joey Hess
8cae49ebaf
add git-annex.MANIFEST files to linux and osx standalone images
2013-11-24 00:30:21 -04:00
Joey Hess
fead2941cd
linux upgrade code debugged and working
2013-11-24 00:26:20 -04:00
Joey Hess
fdc10b9436
completely untested linux upgrade code
2013-11-23 23:45:49 -04:00
Joey Hess
fda641d27b
improve android upgrade interface
...
and refactor
2013-11-23 22:12:36 -04:00
Joey Hess
e563c7e6f4
fsck distribution key
2013-11-23 21:58:39 -04:00
abg
c091d8e4fb
Added a comment: Upgrade installation in OSX
2013-11-24 00:28:08 +00:00
Joey Hess
b429ea0cea
devblog
2013-11-23 17:28:42 -04:00
Joey Hess
32acf908bb
queue and start download of git-annex from web, using git-annex, when upgrade is started
2013-11-23 17:21:04 -04:00
Joey Hess
6802123f7d
use global webapp redirects when shutting down
2013-11-23 16:21:09 -04:00
Joey Hess
b1a89c448a
replace horrible old daemon restart code with new method
2013-11-23 15:50:17 -04:00
Joey Hess
cf1f7eb185
Merge branch 'master' of ssh://git-annex.branchable.com
2013-11-23 15:18:15 -04:00
http://joeyh.name/
d5c2bad48b
Added a comment
2013-11-23 19:03:58 +00:00
Joey Hess
183f7355cd
global webapp redirects, to finish upgrades
...
When an automatic upgrade completes, or when the user clicks on the upgrade
button in one webapp, but also has it open in another browser window/tab,
we have a problem: The current web server is going to stop running in
minutes, but there is no way to send a redirect to the web browser to the
new url.
To solve this, used long polling, so the webapp is always listening for
urls it should redirect to. This allows globally redirecting every open
webapp. Works great! Tested with 2 web browsers with 2 tabs each.
May be useful for other purposes later too, dunno.
The overhead is 2 http requests per page load in the webapp. Due to yesod's
speed, this does not seem to noticibly delay it. Only 1 of the requests
could possibly block the page load, the other is async.
2013-11-23 14:47:38 -04:00
Joey Hess
d24f7f94fe
better UI flow through upgrade process
...
Move button to enable automatic upgrades to an alert displayed after
successful upgrade. Unclutters the UI and makes psychological sense.
2013-11-23 13:27:52 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmicVKRM8vJX4wPuAwlLEoS2cjmFXQkjkE
97cc68be2a
2013-11-23 17:09:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkJafmCf-sg9_OM0pynFYM3AO4WCgJiaMI
88fb081939
Added a comment: seems i'm not allowed to attach full logs.
2013-11-23 16:06:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkJafmCf-sg9_OM0pynFYM3AO4WCgJiaMI
e296b40ca6
2013-11-23 15:59:36 +00:00
http://nicolas-schodet.myopenid.com/
d05123b283
Added a comment
2013-11-23 15:42:26 +00:00
http://nicolas-schodet.myopenid.com/
4222a7e743
Added a comment
2013-11-23 14:38:21 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmyEv6SesaYeke389mHdiHlavirPkGHzHI
d6a86a7378
2013-11-23 14:29:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnNqLKszWk9EoD4CDCqNXJRIklKFBCN1Ao
54996f21a2
Added a comment
2013-11-23 13:16:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnZEanlyzay_QlEAL0CWpyZcRTyN7vay8U
249231af96
2013-11-23 11:58:01 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmiqeXJtP04fzHOjXs17kHO33v7dWR2xwA
1b752ea416
Added a comment: Init Script
2013-11-23 08:28:35 +00:00
Joey Hess
6abaf19c41
restart on upgrade is working, including automatic restart
...
Made alerts be able to have multiple buttons, so the alerts about upgrading
can have a button that enables automatic upgrades.
Implemented automatic upgrading when the program file has changed.
Note that when an automatic upgrade happens, the webapp displays an alert
about it for a few minutes, and then closes. This still needs work.
2013-11-23 00:54:08 -04:00
Joey Hess
56e980215f
got assistant upgrade detection to notice when I build a new version with cabal build!
2013-11-22 23:53:24 -04:00
Joey Hess
62e6418e64
Merge branch 'master' of ssh://git-annex.branchable.com
2013-11-22 23:42:48 -04:00
Joey Hess
7cd9f909e4
restart on upgrade now fully working
2013-11-22 23:42:16 -04:00
Joey Hess
0980f3dae6
Fix bug that broke switching between local repositories in the webapp when they use the new guarded direct mode.
...
git treats eg ~/annex as a bare git repository located in ~/.annex/.git
if ~/annex/.git/config has core.bare=true.
2013-11-22 23:27:15 -04:00
Joey Hess
b9cdb55e0c
assistant restart on upgrade
2013-11-22 23:12:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm9tgeFE5v-arAYYftSv3yUTI5Q4qB2C9M
847e39761c
Added a comment
2013-11-23 02:14:12 +00:00
Joey Hess
ad653e49cf
add
2013-11-22 19:24:12 -04:00
Joey Hess
ab83272af5
amend
2013-11-22 19:04:01 -04:00
Joey Hess
8ec854b9a5
Merge branch 'master' of ssh://git-annex.branchable.com
2013-11-22 19:03:22 -04:00
Joey Hess
a3000247b3
devblog
2013-11-22 19:03:01 -04:00