Cannot update readme of group repos

Issue #390 resolved
Hiroyuki Tanaka created an issue

If repo A belongs to groupG, repository G/A's readme file (e.g. readme.rst) are not updated if I push a new changeset.

Near line 213, in __get_readme_data, rhodecode/controllers/summary.py: {{{ key = repo.name + '_README' inv = CacheInvalidation.invalidate(key) }}}

In this situation, repo.name == 'A'.

But in in mark_for_invalidation, rhodecode/model/scm.py: {{{ CacheInvalidation.set_invalidate(repo_name + "_README") }}}

In this, repo_name == 'G/A'.

So I suppose cache key is incorrect.

Thanks for really awesome software!!

Comments (2)

  1. Log in to comment