b6d46c212e
* unannex, uninit: Avoid committing after every file is unannexed, for massive speedup. * --notify-finish switch will cause desktop notifications after each file upload/download/drop completes (using the dbus Desktop Notifications Specification) * --notify-start switch will show desktop notifications when each file upload/download starts. * webapp: Automatically install Nautilus integration scripts to get and drop files. * tahoe: Pass -d parameter before subcommand; putting it after the subcommand no longer works with tahoe-lafs version 1.10. (Thanks, Alberto Berti) * forget --drop-dead: Avoid removing the dead remote from the trust.log, so that if git remotes for it still exist anywhere, git annex info will still know it's dead and not show it. * git-annex-shell: Make configlist automatically initialize a remote git repository, as long as a git-annex branch has been pushed to it, to simplify setup of remote git repositories, including via gitolite. * add --include-dotfiles: New option, perhaps useful for backups. * Version 5.20140227 broke creation of glacier repositories, not including the datacenter and vault in their configuration. This bug is fixed, but glacier repositories set up with the broken version of git-annex need to have the datacenter and vault set in order to be usable. This can be done using git annex enableremote to add the missing settings. For details, see http://git-annex.branchable.com/bugs/problems_with_glacier/ * Added required content configuration. * assistant: Improve ssh authorized keys line generated in local pairing or for a remote ssh server to set environment variables in an alternative way that works with the non-POSIX fish shell, as well as POSIX shells. # imported from the archive
50 lines
1.7 KiB
Markdown
50 lines
1.7 KiB
Markdown
flickrannex
|
|
=========
|
|
|
|
Hook program for gitannex to use flickr as backend
|
|
|
|
# Requirements:
|
|
|
|
python2
|
|
|
|
Credit for the flickr api interface goes to: http://stuvel.eu/flickrapi
|
|
Credit for the png library goes to: https://github.com/drj11/pypng
|
|
Credit for the png tEXt patch goes to: https://code.google.com/p/pypng/issues/detail?id=65
|
|
|
|
# Install
|
|
Clone the git repository in your home folder.
|
|
|
|
git clone git://github.com/TobiasTheViking/flickrannex.git
|
|
|
|
This should make a ~/flickrannex folder
|
|
|
|
# Setup
|
|
Make the file executable, and link it into PATH
|
|
|
|
cd ~/flickrannex; chmod +x git-annex-remote-flickr; sudo ln -sf `pwd`/git-annex-remote-flickr /usr/local/bin/git-annex-remote-flickr
|
|
|
|
# Commands for gitannex:
|
|
|
|
USERNAME="username@provider.com" git annex initremote flickr type=external externaltype=flickr encryption=shared folder=gitannex
|
|
|
|
An oauth authentication link should now be launched in the default browser. The hook will wait for 30s for you to login and authenticate.
|
|
|
|
git annex describe dropbox "the flickr library"
|
|
|
|
# Notes
|
|
|
|
## Unencrypted mode
|
|
The photo name on flickr is currently the GPGHMACSHA1 version.
|
|
|
|
## Encrypted mode
|
|
The current version base64 encodes all the data, which results in ~35% larger filesize.
|
|
|
|
## Including directories as tags
|
|
This feature is currently disabled, if it gets implemented again it will most likely not require user action to enable it.
|
|
|
|
In this case the image:
|
|
/home/me/annex-photos/holidays/2013/Greenland/img001.jpg
|
|
would get the following tags: "holidays" "2013" "Greenland"
|
|
(assuming "/home/me/annex-photos" is the top level in the annex...)
|
|
|
|
Caveat Emptor - Tags will *always* be NULL for indirect repos - we don't (easily) know the human-readable file name.
|