summaryrefslogtreecommitdiff
path: root/doc/bugs/info_file_contains_wrong_version.mdwn
blob: 629fd6399a20ae91b6d71ce8e0121f082b3c16df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
### Please describe the problem.

The script producing the .info file along with the binary tarball seems to generate the wrong version.


### What steps will reproduce the problem?

    % curl https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz.info
    GitAnnexDistribution {distributionUrl = "https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz",
    distributionKey = Key {keyName = "2a01f853b08dc0f47392b50cda41d5f589f46413073fdf4ffd5b817d6638a502.tar.gz", keyBackendName = "SHA256E",
    keySize = Just 27578790, keyMtime = Nothing}, distributionVersion = "5.20131222",
    distributionReleasedate = 2013-12-30 18:56:44.908259 UTC, distributionUrgentUpgrade = Nothing}        


`distributionVersion` is 5.20131222, but `git annex version` returns 5.20131230-g4aa88d8.

This may look anecdotical, but at least the `git-annex-bin` package of Arch Linux uses the .info data to retrieve the version information.


> [[fixed|done]] --[[Joey]]