Skip to content

Unclear doc: Uploading an extension to pootle  #7

@boite

Description

@boite

I'm having difficulty understanding how to get files to be maintained by the pootle server. The README gives two options, the first being:-

In order to get the files there you can either add a SFTP container that has access to a specific repo folder e.g.

sftp:
  image: atmoz/sftp
  volumes:
    - /host/share:/home/foo/share
  ports:
    - "2222:22"
  command: foo:123:1001

I tried adding something like the example to docker-compose.yml:-

version: '2'

services: 
  ...
  sftp:
    image: atmoz/sftp
    volumes:
      - /path/to/my.repo:/srv/pootle/git-clones/repos/my.repo
    ports:
      - "2222:22"
    command: repowner:123:1001

volumes:
  mysql-data:
  l10n-ter:
  pootle-po:
  pootle-git:

but this doesn't get the files into pootle:-

$ docker-compose exec pootle bash -c "ls -al /srv/pootle/git-clones"
total 8
drwxr-xr-x 2 root root 4096 Aug 18 14:53 .
drwxr-xr-x 4 root root 4096 Aug 21 11:39 ..
$

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions