Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2012-10-30 12:57:03 -04:00
commit cf427d7b1f
5 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,103 @@
What steps will reproduce the problem?
<pre>
dominik@Atlantis:/var/tmp$ git clone git://github.com/joeyh/git-annex.git
Cloning into 'git-annex'...
remote: Counting objects: 40580, done.
remote: Compressing objects: 100% (10514/10514), done.
remote: Total 40580 (delta 29914), reused 40502 (delta 29837)
Receiving objects: 100% (40580/40580), 9.17 MiB | 238 KiB/s, done.
Resolving deltas: 100% (29914/29914), done.
dominik@Atlantis:/var/tmp$ cd git-annex/
dominik@Atlantis:/var/tmp/git-annex$ cabal update
Downloading the latest package list from hackage.haskell.org
dominik@Atlantis:/var/tmp/git-annex$ cabal install --only-dependencies
Resolving dependencies...
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.
dominik@Atlantis:/var/tmp/git-annex$ cabal configure
Resolving dependencies...
[ 1 of 21] Compiling Utility.FileSystemEncoding ( Utility/FileSystemEncoding.hs, dist/setup/Utility/FileSystemEncoding.o )
[ 2 of 21] Compiling Utility.Applicative ( Utility/Applicative.hs, dist/setup/Utility/Applicative.o )
[ 3 of 21] Compiling Utility.PartialPrelude ( Utility/PartialPrelude.hs, dist/setup/Utility/PartialPrelude.o )
[ 4 of 21] Compiling Utility.UserInfo ( Utility/UserInfo.hs, dist/setup/Utility/UserInfo.o )
[ 5 of 21] Compiling Utility.Monad ( Utility/Monad.hs, dist/setup/Utility/Monad.o )
[ 6 of 21] Compiling Utility.Path ( Utility/Path.hs, dist/setup/Utility/Path.o )
[ 7 of 21] Compiling Utility.OSX ( Utility/OSX.hs, dist/setup/Utility/OSX.o )
[ 8 of 21] Compiling Utility.Exception ( Utility/Exception.hs, dist/setup/Utility/Exception.o )
[ 9 of 21] Compiling Utility.TempFile ( Utility/TempFile.hs, dist/setup/Utility/TempFile.o )
[10 of 21] Compiling Utility.Misc ( Utility/Misc.hs, dist/setup/Utility/Misc.o )
[11 of 21] Compiling Utility.Process ( Utility/Process.hs, dist/setup/Utility/Process.o )
[12 of 21] Compiling Utility.FreeDesktop ( Utility/FreeDesktop.hs, dist/setup/Utility/FreeDesktop.o )
[13 of 21] Compiling Assistant.Install.AutoStart ( Assistant/Install/AutoStart.hs, dist/setup/Assistant/Install/AutoStart.o )
[14 of 21] Compiling Utility.SafeCommand ( Utility/SafeCommand.hs, dist/setup/Utility/SafeCommand.o )
[15 of 21] Compiling Utility.Directory ( Utility/Directory.hs, dist/setup/Utility/Directory.o )
[16 of 21] Compiling Common ( Common.hs, dist/setup/Common.o )
[17 of 21] Compiling Locations.UserConfig ( Locations/UserConfig.hs, dist/setup/Locations/UserConfig.o )
[18 of 21] Compiling Build.TestConfig ( Build/TestConfig.hs, dist/setup/Build/TestConfig.o )
[19 of 21] Compiling Build.Configure ( Build/Configure.hs, dist/setup/Build/Configure.o )
[20 of 21] Compiling Build.InstallDesktopFile ( Build/InstallDesktopFile.hs, dist/setup/Build/InstallDesktopFile.o )
[21 of 21] Compiling Main ( Setup.hs, dist/setup/Main.o )
Linking ./dist/setup/setup ...
checking version... 3.20121018
checking git... yes
checking git version... 1.7.10.4
checking cp -a... yes
checking cp -p... yes
checking cp --reflink=auto... yes
checking uuid generator... uuidgen
checking xargs -0... yes
checking rsync... yes
checking curl... yes
checking wget... yes
checking bup... no
checking gpg... yes
checking lsof... yes
checking host... no
checking ssh connection caching... yes
checking sha1... sha1sum
checking sha256... sha256sum
checking sha512... sha512sum
checking sha224... sha224sum
checking sha384... sha384sum
Configuring git-annex-3.20121018...
dominik@Atlantis:/var/tmp/git-annex$ cabal build
Building git-annex-3.20121018...
Preprocessing executable 'git-annex' for git-annex-3.20121018...
Assistant/Alert.hs:21:8:
Could not find module `Text.Blaze'
It is a member of the hidden package `blaze-markup-0.5.1.1'.
Perhaps you need to add `blaze-markup' to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
</pre>
What is the expected output? What do you see instead?
I expect the latest git HEAD to build without an error message or provide me with a package I need to install. Instead the error above is shown. In fact the package requested is installed:
<pre>
dominik@Atlantis:/var/tmp/git-annex$ cabal install blaze-markup
Resolving dependencies...
All the requested packages are already installed:
blaze-markup-0.5.1.1
Use --reinstall if you want to reinstall anyway.
</pre>
What version of git-annex are you using? On what operating system?
git HEAD, Ubuntu 12.10
Please provide any additional information below.
<pre>
$ cabal --version
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.2
$ uname -a
Linux Atlantis 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
</pre>

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
nickname="Richard"
subject="comment 6"
date="2012-10-30T08:44:32Z"
content="""
Just so this does not get lost: For better or for worse, the vanilla Android devices stopped shipping with micro-SD support in 2011 (or 2010 if the Nexus S does not support them either; on sketchy GPRS so not googling around). Most higher-end Android devices ship with at least 8 GiB of on-board Flash storage, some even go up to 64 GiB.
IMHO, this would make it viable to first get git-annex working on Android without regard for FAT.
The obvious advantage is that porting should be easier and quicker.
The obvious downside is that this may mean revisiting some parts of the code later.
-- Richard
"""]]

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
nickname="Richard"
subject="comment 7"
date="2012-10-30T08:51:17Z"
content="""
Actually, this is something that would be ideal for a poll:
Should FAT-based Android repos be implemented:
* Immediately
* After the initial release of the Android app is working
* Before the kickstarter ends
* Not at all
Also, as another data point, the FAT-based SD card can be mounted as USB storage by any computer an Android device is connected to whereas the EXT4-based root FS can only be accessed via MTP.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
nickname="Richard"
subject="comment 1"
date="2012-10-30T09:07:37Z"
content="""
I think the automatic dropunused part is handled by the assistant already anyway, but in case it's not: The git repo still knows where the symlink pointed to so it should not be a problem to get that info from the last commit that was 'actively' locally and which contained said symlink.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
nickname="Richard"
subject="comment 1"
date="2012-10-30T08:09:13Z"
content="""
I like the idea of using fsck as a pre-run for status.
Basically, it's the same as `updatedb` and `locate`; locate will warn the user if it considers its cache to be too old, as well.
"""]]