{"push_id":871951211,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"61eb10c70e14c2d7a6247b70177ca93b6b7ecce0","before":"f4f3c11b1553aabce6444836fd4ba1d2bd7caf77","commits":[{"sha":"61eb10c70e14c2d7a6247b70177ca93b6b7ecce0","author":{"email":"e260d3bce7ebdf2b872b611fd23ca302a2bc8a49@desy.de","name":"Paul Millar"},"message":"rpm: build SNAPSHOT RPM with filenames using only commit id\n\nCurrently, RPM package filenames are built from the dCache version\n(e.g., '2.14.0' or '2.15.0-SNAPSHOT') and replacing any '-SNAPSHOT' with\n'.' followed by the output from 'git describe'.\n\nFor 'master' branch, there are no annotated tags in the history, so git\ndescribe fails.  Under these circumstances, '-SNAPSHOT' is replaced with\njust the commit id, plus optionally whether the code is dirty.\n\nFor branches (such as 2.14), the git describe command succeeds and the\noutput contains more information:\n\n    <last-tag>-<commit-count>-<commit-ID>\n\nwith the optional dirty mark ('+dirty+<user>') appended if the current\ndirectory is dirty.\n\nUnfortunately, the '-' characters in the git describe output breaks\nbuilding RPMs.\n\nThis patch fixes this by substituting any '-SNAPSHOT' with simply the\ncommit id, as it currently done for 'master' branch.  While the greater\ndetail available with the git describe output is desirable; it is not\neasily achievable currently with maven.\n\nTarget: master\nPatch: https://rb.dcache.org/r/8788/\nAcked-by: Gerd Behrmann\nRequest: 2.14\nRequires-notes: false\nRequires-book: false","distinct":true,"url":"https://api.github.com/repos/dCache/dcache/commits/61eb10c70e14c2d7a6247b70177ca93b6b7ecce0"}]}