My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2393: submodule subscriptions get confused by similarly named repositories
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Project Member Reported by choro...@wikimedia.org, Jan 12, 2014
Affected Version: 2.7-rc2-507-g1e7090b

What steps will reproduce the problem?
1. Have foo/bar/baz.git as a submodule of foo/bar.git, subscribed to auto-update
2. Create bar.git repository
3. submodule_subscriptions updates to new repository, breaking your subscription

What is the expected output? What do you see instead?
The repo should remain subscribed as-is, not get confused by the new repo.

Please provide any additional information below.

Before the new repo:

gerrit> select * from submodule_subscriptions where submodule_project_name like '%VisualEditor%';
 submodule_project_name | submodule_branch_name | super_project_project_name | super_project_branch_name | submodule_path
 -----------------------+-----------------------+----------------------------+---------------------------+---------------
 mediawiki/extensions/VisualEditor           | refs/heads/master     | mediawiki/extensions       | refs/heads/master         | VisualEditor
(1 row; 2 ms)

After the new repo

gerrit> select * from submodule_subscriptions where submodule_project_name like '%VisualEditor%';
 submodule_project_name | submodule_branch_name | super_project_project_name | super_project_branch_name | submodule_path
 -----------------------+-----------------------+----------------------------+---------------------------+---------------
 VisualEditor           | refs/heads/master     | mediawiki/extensions       | refs/heads/master         | VisualEditor
(1 row; 2 ms)
Sign in to add a comment

Powered by Google Project Hosting