git-annex/doc/design/assistant/blog/day_314__quvi.mdwn
Joey Hess b6d46c212e git-annex (5.20140402) unstable; urgency=medium
* 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
2014-04-02 21:42:53 +01:00

27 lines
1.4 KiB
Markdown

Made some good progress on the backlog today. Fixed some bugs, applied some
patches. Noticing that without me around, things still get followed up
on, to a point, for example incomplete test cases for bugs get corrected so
they work. This is a very good thing. Community!
I had to stop going through the backlog when I got to one message from
Anarcat mentioning [quvi](http://quvi.sourceforge.net/). That turns
out to be just what is needed to implement the often-requested feature
of `git-annex addurl` supporting YouTube and other similar sites. So I
spent the rest of the day making that work. For example:
<pre>
% git annex addurl --fast 'http://www.youtube.com/watch?v=1mxPFHBCfuU&list=PL4F80C7D2DC8D9B6C&index=1'
addurl Star_Wars_X_Wing__Seth_Green__Clare_Grant__and_Mike_Lamond_Join_Wil_on_TableTop_SE2E09.webm ok
</pre>
Yes, that got the video title and used it as the filename, and yes,
I can commit this file and run `git annex get` later, and it will be
able to go download the video! I can even use `git annex fsck --fast`
to make sure YouTube still has my videos. Awesome.
The great thing about quvi is it takes the url to a video webpage, and
returns an url that can be used to download the actual video file. So it
simplifies ugly flash videos as far out of existence as is possible.
However, since the direct url to the video file may not keep working for long.
addurl actually records the page's url, with an added indication that quvi
should be used to get it.