Hi,

On Sat, Oct 10, 2015 at 8:38 AM, Justin Lecher (jlec) <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 10/10/15 12:42, François Bissey wrote:
>> I am annoyed by the tree in that regard. A simple user doesn’t have
>> access to the changelog anymore because the git history is not
>> shipped as far as I can see.
>>
>> The overlay would be a bit better because we can still call git log
>> on it.
>>
>> Any tools out there to get changelog without syncing the tree with
>> git?
>>
>> François
>>
>
> Hi,
>
> the ChangeLogs are recreated for rsync. If you are using rsync as
> normal users should do, you will have the ChangeLog in place.
> egencache --update-changelogs is used for that.

I use rsync to get the portage tree and the Changelog have not been
touched since the migration. Did I miss something here ?

Out of curiosity, I tried egencache --update-changelogs on the
gentoo-science repo. It created most Changelog, while complaining
several time and failing due to I think, utf8 characters being used.
See the attached file.

<shameless plug>

A few weeks back I was frustrated enough with the lack of Changelog
that I hacked a small tool to query the changes made on a file using
the GitHub API. You don't need to clone any git repo. It tries to
mimic the Changelog layout and colors. It's far from being perfect,
but it does the job for me. It is now available here:
https://github.com/xhub/changelog-gentoo Maybe it is also useful for
others ...

</shameless plug>

-- 
Olivier
$ egencache --update-changelogs --repo science
ERROR: unexpected git file status for dev-cpp/eigen: [uT, ueigen-3.2.4.ebuild]
ERROR: unexpected git file status for dev-cpp/eigen: [uT, ueigen-3.2.2.ebuild]
ERROR: unexpected git file status for dev-python/brewer2mpl: [uT, 
ubrewer2mpl-1.4.1.ebuild]
ERROR: unexpected git file status for dev-python/ipykernel: [uT, 
uipykernel-4.0.3.ebuild]
ERROR: unexpected git file status for dev-python/line_profiler: [uT, 
uline_profiler-1.0.ebuild]
ERROR: unexpected git file status for dev-python/matlab_wrapper: [uT, 
umatlab_wrapper-0.9.6.ebuild]
ERROR: unexpected git file status for dev-python/prettyplotlib: [uT, 
uprettyplotlib-0.1.7.ebuild]
ERROR: unexpected git file status for dev-python/pyfftw: [uT, 
upyfftw-0.9.2.ebuild]
ERROR: unexpected git file status for dev-python/python-ivi: [uT, 
upython-ivi-0.14.9.ebuild]
ERROR: unexpected git file status for dev-python/simplepam: [uT, 
usimplepam-0.1.5.ebuild]
ERROR: unexpected git file status for sci-astronomy/missfits: [uT, 
umissfits-2.8.0.ebuild]
ERROR: unexpected git file status for sci-astronomy/psfex: [uT, 
upsfex-3.9.1.ebuild]
ERROR: unexpected git file status for sci-astronomy/psfex: [uT, 
upsfex-3.17.0.ebuild]
ERROR: unexpected git file status for sci-astronomy/sextractor: [uT, 
usextractor-2.19.5.ebuild]
ERROR: unexpected git file status for sci-astronomy/skymaker: [uT, 
uskymaker-3.10.5.ebuild]
ERROR: unexpected git file status for sci-astronomy/stiff: [uT, 
ustiff-2.4.0.ebuild]
ERROR: unexpected git file status for sci-astronomy/stuff: [uT, 
ustuff-1.26.0.ebuild]
ERROR: unexpected git file status for sci-astronomy/swarp: [uT, 
uswarp-2.38.0.ebuild]
ERROR: unexpected git file status for sci-astronomy/weightwatcher: [uT, 
uweightwatcher-1.12.ebuild]
ERROR: unexpected git file status for sci-biology/biopieces: [uT, 
ubiopieces-0.51.ebuild]
ERROR: unexpected git file status for sci-biology/biopieces: [uT, 
ubiopieces-0.51.ebuild]
ERROR: unexpected git file status for sci-biology/ngs_backbone: [uT, 
ungs_backbone-1.4.0.ebuild]
ERROR: unexpected git file status for sci-biology/tablet: [uT, 
utablet-1.14.04.10.ebuild]
ERROR: unexpected git file status for sci-biology/tablet: [uT, 
utablet-1.14.04.10.ebuild]
ERROR: unexpected git file status for sci-libs/asl: [uT, uasl-0.1.5.ebuild]
ERROR: unexpected git file status for sci-libs/asl: [uT, uasl-0.1.5.ebuild]
ERROR: unexpected git file status for sci-libs/blas-reference: [uT, 
ublas-reference-20131116-r1.ebuild]
ERROR: unexpected git file status for sci-libs/blas-reference: [uT, 
ublas-reference-20131116.ebuild]
ERROR: unexpected git file status for sci-libs/blas-reference: [uT, 
ublas-reference-20120925.ebuild]
ERROR: unexpected git file status for sci-libs/clfft: [uT, uclfft-0.9999.ebuild]
ERROR: unexpected git file status for sci-libs/clfft: [uT, uclfft-2.4.ebuild]
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/egencache", line 1154, in <module>
    sys.exit(egencache_main(sys.argv[1:]))
  File "/usr/lib/python-exec/python2.7/egencache", line 1136, in egencache_main
    gen_clogs.run()
  File "/usr/lib/python-exec/python2.7/egencache", line 896, in run
    self.generate_changelog(cp)
  File "/usr/lib/python-exec/python2.7/egencache", line 791, in 
generate_changelog
    c, --, .]).rstrip(n).split(n)
  File "/usr/lib/python-exec/python2.7/egencache", line 755, in grab
    encoding=_encodings[stdio], errors=strict)
  File "/usr/lib64/python2.7/site-packages/portage/__init__.py", line 209, in 
_unicode_decode
    s = unicode(s, encoding=encoding, errors=errors)
  File "/usr/lib64/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: utf8 codec cant decode byte 0xe1 in position 14: invalid 
continuation byte

Reply via email to