Re: [Debconf-discuss] slides an git annex

2015-08-24 Thread martin f krafft
also sprach Antonio Terceiro terce...@debian.org [2015-08-24 16:19 +0200]:
 git annex add $file_or_directory
 git commit
 git annex copy --auto --to incoming
 git annex sync

Does
  git annex copy --to origin filename

work for you?

-- 
 .''`.   martin f. krafft madd...@debconf.org @martinkrafft
: :'  :  DebConf orga team
`. `'`
  `-  DebConf16: Cape Town: https://wiki.debconf.org/wiki/DebConf16
  DebConf17 in your country? https://wiki.debconf.org/wiki/DebConf17


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
___
Debconf-discuss mailing list
Debconf-discuss@lists.debconf.org
http://lists.debconf.org/mailman/listinfo/debconf-discuss


Re: [Debconf-discuss] slides an git annex

2015-08-24 Thread Gaudenz Steinlin

Hi

Antonio Terceiro terce...@debian.org writes:

 Hi,

 I tried uploading my slides using git annex, and even though I followed
 the steps in README very closely, they never showep up on
 http://annex.debconf.org/debconf-share/debconf15/slides/

 Looking at the git repository, it seems other people had the same issue,
 so there are slides in the git repo that are not published yet. Is this
 just waiting someone with the correct access to do something, or did I
 and others missed some step?

 What I did, according to the README, was

 git annex add $file_or_directory
 git commit
 git annex copy --auto --to incoming
 git annex sync

 I am sorry but I don't have the terminal output anymore, but there were no
 error messages, and AFAICT it seems to have worked.

I had the same problem when adding the lernstick presentation slides.
What fixed it for me was to do

git annex copy --to incoming --not --in website

This command is mentioned in the README for stable. I'm on testing and
have git-annex 5.20150731-1. So there is probably a bug somewhere. Not
sure if it's in the README or git-annex.

Gaudenz


 $ git remote -v
 incomingssh://git.debian.org/git/collab-maint/debconf-share (fetch)
 incomingssh://git.debian.org/git/collab-maint/debconf-share (push)
 origin  git+ssh://git.debian.org/git/collab-maint/debconf-share.git (fetch)
 origin  git+ssh://git.debian.org/git/collab-maint/debconf-share.git (push)
 website http://annex.debconf.org/debconf-share/.git/ (fetch)
 website http://annex.debconf.org/debconf-share/.git/ (push)


 -- 
 Antonio Terceiro terce...@debian.org
 ___
 Debconf-discuss mailing list
 Debconf-discuss@lists.debconf.org
 http://lists.debconf.org/mailman/listinfo/debconf-discuss


signature.asc
Description: PGP signature
___
Debconf-discuss mailing list
Debconf-discuss@lists.debconf.org
http://lists.debconf.org/mailman/listinfo/debconf-discuss


Re: [Debconf-discuss] slides an git annex

2015-08-24 Thread Antonio Terceiro
On Mon, Aug 24, 2015 at 04:32:31PM +0200, martin f krafft wrote:
 also sprach Antonio Terceiro terce...@debian.org [2015-08-24 16:19 +0200]:
  git annex add $file_or_directory
  git commit
  git annex copy --auto --to incoming
  git annex sync
 
 Does
   git annex copy --to origin filename
 
 work for you?

it did, and now the files are published. Thanks!

Is the diff below what we want to change in the README (which I assume is
targetted at git-annex newbies like myself)?

diff --git a/README b/README
index fd31e09..4bb6ac3 100644
--- a/README
+++ b/README
@@ -49,13 +49,9 @@ You can copy in your files, and publish them as follows:
 
 git annex add $file_or_directory
 git commit
-git annex copy --auto --to incoming
+git annex copy --to origin $file_or_directory
 git annex sync
 
-Note: If using git-annex from stable, the --auto in the above line won't
-work and nothing will be transferred. Instead, use:
-git annex copy --to incoming --not --in website
-
 This transfer goes via the collab-maint group on alioth, which everyone has
 access to. After your files are transferred there, they are automatically
 moved on to annex.debconf.org.

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature
___
Debconf-discuss mailing list
Debconf-discuss@lists.debconf.org
http://lists.debconf.org/mailman/listinfo/debconf-discuss


Re: [Debconf-discuss] slides an git annex

2015-08-24 Thread martin f krafft
also sprach Antonio Terceiro terce...@debian.org [2015-08-24 17:06 +0200]:
 it did, and now the files are published. Thanks!
 
 Is the diff below what we want to change in the README (which I assume is
 targetted at git-annex newbies like myself)?

Are you using git-annex from stable?

-- 
 .''`.   martin f. krafft madd...@debconf.org @martinkrafft
: :'  :  DebConf orga team
`. `'`
  `-  DebConf16: Cape Town: https://wiki.debconf.org/wiki/DebConf16
  DebConf17 in your country? https://wiki.debconf.org/wiki/DebConf17


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
___
Debconf-discuss mailing list
Debconf-discuss@lists.debconf.org
http://lists.debconf.org/mailman/listinfo/debconf-discuss


Re: [Debconf-discuss] slides an git annex

2015-08-24 Thread Antonio Terceiro
On Mon, Aug 24, 2015 at 06:11:42PM +0200, martin f krafft wrote:
 also sprach Antonio Terceiro terce...@debian.org [2015-08-24 17:06 +0200]:
  it did, and now the files are published. Thanks!
  
  Is the diff below what we want to change in the README (which I assume is
  targetted at git-annex newbies like myself)?
 
 Are you using git-annex from stable?

I'm using git-annex from unstable, and that's why I didn't follow the
advice for those running from stable/..

$ dpkg-query --show git-annex
git-annex 5.20150812-2

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature
___
Debconf-discuss mailing list
Debconf-discuss@lists.debconf.org
http://lists.debconf.org/mailman/listinfo/debconf-discuss