Opened 13 months ago

Last modified 27 hours ago

#26878 assigned defect

translation bot publishes incomplete translations on the translation_completed branches

Reported by: emmapeel Owned by: emmapeel
Priority: Medium Milestone:
Component: Community/Translations Version:
Severity: Normal Keywords:
Cc: arthuredelstein Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When a translation file:

  • Gets completed
  • Gets outdated and is not complete anymore (maybe gets new strings added)

It still appears on https://gitweb.torproject.org/translation.git/log/?h=BRANCH_completed

This is because the transifex client skips the update, but the file is still there in the folder:

https://gitweb.torproject.org/translation-tools.git/tree/update_translations#n30

I need to change this so the not-completed-anymore languages dissapear from the folder (probably with a blunt rm *)

Child Tickets

Change History (3)

comment:1 Changed 12 months ago by traumschule

maybe with a prefix like backup_ and adding it to .gitignore? i am up for testing it, but the script probably needs credentials?

comment:2 Changed 9 months ago by emmapeel

Summary: translation bot publishes uncompleted translations on the translation_completed branchestranslation bot publishes incomplete translations on the translation_completed branches

I get scared of deleting but i guess is the way to go...

comment:3 Changed 27 hours ago by emmapeel

I have tested on the tails files, but there are many updates now that change the 'last translator' without really changing any of the content. i am not sure if it is because the review process, but it seems there is a lot of unnecesary pushes. See https://git.torproject.org/translation.git/ branch tails-misc ebbfd44fd4dfe4ae3ecd67826c2bca0cf2aab164... 361ed5f6854b5331fd234165e8c7043fd862602c

Note: See TracTickets for help on using tickets.