=== _salem is now known as salem_ | ||
=== salem_ is now known as _salem | ||
=== chihchun_afk is now known as chihchun | ||
mlankhorst | wgrant: thank you :) | 07:35 |
---|---|---|
=== _salem is now known as salem_ | ||
scootergrisen | How do i download all the po files from https://translations.launchpad.net/linuxmint/latest/+lang/da in a smart way? | 12:29 |
scootergrisen | I don't want to request to download each file, then wait for e-mails and open like 20 e-mail with links to download the files. | 12:30 |
=== yofel_ is now known as yofel | ||
=== chihchun is now known as chihchun_afk | ||
sergio-br2 | git-commit variable is git rev-parse --short=7 HEAD | 18:00 |
sergio-br2 | right? | 18:00 |
sergio-br2 | is it explicit 7 characters? git 2.10/2.11 changes default from 7 to something that depends on the number of objects in the repository | 18:01 |
sergio-br2 | cjwatson, you that? ^ | 18:07 |
sergio-br2 | * you know that | 18:09 |
cjwatson | We call --short, so it'll (perhaps unfortunately) depend on the version of git | 18:11 |
cjwatson | return self.branch.git_output( | 18:11 |
cjwatson | "rev-parse", "--short", self.commit).rstrip("\n") | 18:11 |
cjwatson | you can't use that for version ordering anyway - it can only be informational - so it doesn't matter too much | 18:12 |
sergio-br2 | I need hash match exactly between launchpad build and others builds | 18:13 |
cjwatson | what else implements source package generation using recipes? | 18:13 |
sergio-br2 | some emulators rely in the git hash for netplay stuff | 18:13 |
sergio-br2 | dolphin devs use hash in their builds | 18:14 |
sergio-br2 | then i need to match it on launchpad | 18:14 |
cjwatson | why are you doing that by parsing it out of the package version? that's extremely baroque | 18:14 |
sergio-br2 | 5.0+git-r201701261747-0a07df1-23~ubuntu16.04.1 | 18:15 |
sergio-br2 | are there any problem with that? | 18:15 |
cjwatson | it's very strange to pick out a hash from that and then use it to control the behaviour of the software | 18:15 |
cjwatson | surely there's some other way you can embed the hash | 18:15 |
sergio-br2 | also, it's the only way I found, getting from the version, since tarball does not have the git stuff | 18:15 |
cjwatson | we could perhaps add a git-commit-long substitution variable that doesn't truncate? | 18:16 |
cjwatson | or git-commit-full or whatever | 18:16 |
sergio-br2 | urgh, then the version will be very big | 18:17 |
cjwatson | yes | 18:17 |
cjwatson | or we could explicitly force it to be --short=7 | 18:17 |
sergio-br2 | yup | 18:17 |
cjwatson | a bit odd, but it would match the docs and match bzr-builder ... | 18:17 |
cjwatson | (for bzr recipes based on git-to-bzr imports, git-commit is always the first 7) | 18:18 |
cjwatson | file a bug on git-build-recipe? | 18:18 |
scootergrisen | How do i download all the po files from https://translations.launchpad.net/linuxmint/latest/+lang/da in a smart way? | 18:21 |
cjwatson | I don't know of a sensible way, unfortunately, but my knowledge of the Translations component is a bit sparse. | 18:22 |
cjwatson | We should probably add an export-tarball function there just as we have for packages. | 18:22 |
dobey | if it's importing from a branch that's hosted on lp, you can configure translations to export back directly into the branch, and lp will automatically commit po files into the project | 18:25 |
cjwatson | dobey: they're asking for an efficient way to do this for lots of packages but a single language | 18:26 |
dobey | but if it's a branch import, that won't work; you'd need to make a separate branch just for translations and use it as an intermediary, copying the pot file and po files out, when needed | 18:26 |
dobey | oh | 18:26 |
cjwatson | not just one branch | 18:26 |
dobey | i guess would need to do langpack building magic like ubuntu does | 18:27 |
cjwatson | it's sort of like a language pack, but different audience | 18:28 |
dobey | not sure if there is a sensible wa to do that though | 18:28 |
dobey | right | 18:28 |
sergio-br2 | cjwatson, filled | 18:28 |
sergio-br2 | #1659624 | 18:29 |
cjwatson | it would also be terribly slow if the DistroSeriesLanguage was more like Ubuntu-sized than Mint-sized | 18:29 |
cjwatson | thanks | 18:30 |
sergio-br2 | https://bugs.launchpad.net/ubuntu/+source/git-build-recipe/+bug/1659624 | 18:33 |
ubot5 | Ubuntu bug 1659624 in git-build-recipe (Ubuntu) "git-commit should be explicitly --short=7" [Undecided,New] | 18:33 |
scootergrisen | How can i delete a string suggestion? | 19:09 |
scootergrisen | The person reviewing don't want to review my suggestions so i just want to delete them. | 19:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!