Skip to content

Pootle FS snaglist

Dwayne Bailey edited this page Jan 13, 2017 · 21 revisions

Another list of snags. Just throw it away when we're mostly fixed. Don't get yourself attached to the list.

Newer list

  • 'Filesystem backend' dropdown is not sorted alphabetically
  • Command order:
    • pootle fs state mozilla.org_pootle_fs, pootle fs fetch mozilla.org_pootle_fs -- would it not be better to do: pootle fs mozilla.org_pootle_fs fetch, pootle fs mozilla.org_pootle_fs state - much easier on the typing
    • The [options] part of the command can lead to unexpected outcomes. We maybe need to catch options specified in the wrong place to prevent unexpected additions of everything.
  • Adding missing language codes. Once you've selected the language code you can't press Tab to go to the FS code, you have to use the mouse.

Previous list

Haven't rechecked these

  • pootle fs state - should do nothing if you haven’t fetch’ed
  • pootle fs fetch isn’t implemented for localfs, should fail more elegantly
    • not sure about this - localfs has fetch (fka pull) but the base plugin does not
  • pootle fs
    • lists the available fs projects, we should document
    • Lots of warning noise with this command, should eliminate is possible
  • Cache doesn’t seem to expire after a pootle fs sync
    • not sure if this is a localfs thing - worth testing this again
  • Header
    • Meta info has not been updated, i.e. PO-Revision, etc
    • Includes X-Pootle-Path and X-Pootle-Revision which is noise only needed for download
  • When conflict becomes suggestion
    • It simply says “Added suggestion” in timeline and nothing in the actual suggestion, would be good to indicate why the suggestion was added because of a conflict created from Pootle FS
  • poodle fs rm - doesn’t seem to work
  • Looks like fetch subcommand still exists
    • this is now what was fka pull
  • Stats are wrong
    • Even after flushing cache
    • Added files, removed and moved and ended up wth just the one file
    • Stats are double
      • need some more context here - these should be correct
  • Probably want a pager on poodle fs state, or more compact representation of files
  • Sync takes ages on Pootle/locale//.po
  • No way to import langs that are missing in Pootle (well not easily from command line)
  • What happens if things happen while we’re busy
    • Should we prioritise conflict then add new files i.e. do most contentious quickly/frst
  • Adding new language
    • I added Aragonese (an) which wasn’t already there using web ui
    • It wasn’t added, reset cache doesn’t make it appear
      • It is shown on /projects/tutorial2 but its blank (stats) maybe?
    • poodle fs state - nada
    • Could be that my pootle rqworker never actually seems to answer any calls, its heard about an/tutorail2 but didn’t seem to make it happen
  • Can’t rm a file if nothing is in the state i.e. want to rm a language
    • pootle fs rm tutorial2 -p /af/tutorial2/pootle.po <- no work
  • A file is removed and you want to undo that remove
Clone this wiki locally