1 |
On 02/19/2017 01:02 PM, Alexandru Elisei wrote: |
2 |
> + valid_repos = [] |
3 |
> + missing_sync_type = [] |
4 |
> + for repo in selected_repos: |
5 |
> + if repo.sync_type is None: |
6 |
> + missing_sync_type.append(repo.name) |
7 |
> + else: |
8 |
> + valid_repos.append(repo) |
9 |
> + if missing_sync_type: |
10 |
> + msgs.append(warn(" * ") + "Missing sync-type for repo(s): %s" % |
11 |
> + " ".join(missing_sync_type) + "\n") |
12 |
> + return (False, valid_repos, msgs) |
13 |
> + |
14 |
> if auto_sync_only: |
15 |
> - return self._filter_auto(selected_repos) |
16 |
> - return selected_repos |
17 |
> + selected_repos = self._filter_auto(selected_repos) |
18 |
|
19 |
Do we support local repos that don't have a sync-uri? If so, what |
20 |
sync-type should be set for such a repo? Is it also necessary to set |
21 |
auto-sync = no, in order to avoid an error for such a repo? |
22 |
-- |
23 |
Thanks, |
24 |
Zac |