Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(43)

Issue 10693045: Subscriptions cleanup and update (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by ana.balica
Modified:
10 years, 10 months ago
Reviewers:
thomas.j.waldmann, waldi
Visibility:
Public.

Description

Subscriptions cleanup and update

Patch Set 1 #

Patch Set 2 : Fix namespace in itemid subscription #

Total comments: 13

Patch Set 3 : Migrating subscriptions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M MoinMoin/script/migration/moin19/import19.py View 1 2 2 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 4
Thomas.J.Waldmann
https://codereview.appspot.com/10693045/diff/3001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/10693045/diff/3001/MoinMoin/apps/frontend/views.py#newcode840 MoinMoin/apps/frontend/views.py:840: abort(403) these kind of changes look like a bugfix ...
10 years, 10 months ago (2013-07-14 08:10:21 UTC) #1
ana.balica
https://codereview.appspot.com/10693045/diff/3001/MoinMoin/constants/keys.py File MoinMoin/constants/keys.py (right): https://codereview.appspot.com/10693045/diff/3001/MoinMoin/constants/keys.py#newcode72 MoinMoin/constants/keys.py:72: SUBSCRIPTION_PATTERNS = u"subscription_patterns" On 2013/07/14 08:10:21, Thomas.J.Waldmann wrote: > ...
10 years, 10 months ago (2013-07-14 08:29:28 UTC) #2
ana.balica
https://codereview.appspot.com/10693045/diff/3001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/10693045/diff/3001/MoinMoin/apps/frontend/views.py#newcode840 MoinMoin/apps/frontend/views.py:840: abort(403) On 2013/07/14 08:10:21, Thomas.J.Waldmann wrote: > these kind ...
10 years, 10 months ago (2013-07-19 14:23:03 UTC) #3
Thomas.J.Waldmann
10 years, 10 months ago (2013-07-20 12:09:04 UTC) #4
https://codereview.appspot.com/10693045/diff/3001/MoinMoin/script/migration/m...
File MoinMoin/script/migration/moin19/import19.py (right):

https://codereview.appspot.com/10693045/diff/3001/MoinMoin/script/migration/m...
MoinMoin/script/migration/moin19/import19.py:650: wikiname, namespace, pagename
= split_interwiki(subscribed_item)
1.9 did not have namespace, so yes, it is all the default namespace.

BUT, we will need that interwiki component (which is somehow similar to a
namespace, but on a higher level).

I suggest for now you add a "# TODO support interwiki wikiname" and fix it in a
separate changeset.

https://codereview.appspot.com/10693045/diff/3001/MoinMoin/script/migration/m...
MoinMoin/script/migration/moin19/import19.py:651:
subscriptions.append("{0}:{1}:{2}".format(NAMERE, namespace, pagename))

> Hmm.. of what use can be the wikiname for subscriptions meta?


e.g. multiple wiki installations (with different interwikinames) could share the
same user backend (this was a quite usual scenario in 1.9).

will also need some thinking for the item matching.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b