Skip to content

remove config extract magic #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

remove config extract magic #362

wants to merge 1 commit into from

Conversation

Segaja
Copy link

@Segaja Segaja commented Mar 26, 2022

relates to #360

  • tests not working yet
  • auto completion is most likely broken
  • removed vcspull sync <url>
  • documentation for config change missing

@CLAassistant
Copy link

CLAassistant commented Mar 26, 2022

CLA assistant check
All committers have signed the CLA.

tony added a commit to vcs-python/libvcs that referenced this pull request Mar 27, 2022
tony added a commit to vcs-python/libvcs that referenced this pull request Apr 1, 2022
@Segaja
Copy link
Author

Segaja commented Apr 1, 2022

${HOME}/develop/github.com/vcs-python/checkouts:
  dotfiles:
    vcs: git
    options:
      remotes:
        origin: ssh://git@gitlab.com/Segaja/dotfiles.git
  procpath:
    vcs: hg
    options:
      url: https://heptapod.host/saajns/procpath
  subversion:
    vcs: svn
    options:
      url: https://svn.apache.org/repos/asf/subversion/trunk
~/develop/github.com/vcs-python/checkouts2:
  discordbot:
    vcs: git
    options:
      remotes:
        origin: ssh://git@gitlab.com/Segaja/discordbot.git
~/develop/github.com/vcs-python/checkouts3:
  discordbot:
    vcs: git
    options:
      remotes:
        origin: ssh://git@gitlab.com/Segaja/discordbot.git

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
@tony
Copy link
Member

tony commented May 10, 2022

@Segaja Nice rebase. 💪

tony added a commit to vcs-python/libvcs that referenced this pull request May 29, 2022
tony added a commit to vcs-python/libvcs that referenced this pull request May 29, 2022
tony added a commit that referenced this pull request May 29, 2022
To make #362 easier,
make sure projects only accept keyword arguments. This eliminates
any ambiguity of arguments not double-splatable via **.
Comment on lines +189 to +195
for parent_path, repos in config2.items():
if parent_path in config1:
for name, repo in repos.items():
if name in config1[parent_path]:
dupes += (repo, config1[parent_path][name])

if not path_duplicates:
return None
return dupes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the area I used in #373 (but changed a lot)

@tony tony force-pushed the master branch 2 times, most recently from 220944d to 9d19f42 Compare August 16, 2022 06:00
@tony tony force-pushed the master branch 2 times, most recently from 0ec0af6 to 7f76836 Compare September 24, 2022 13:04
@tony tony force-pushed the master branch 2 times, most recently from 54b2d28 to b9c0aa1 Compare October 1, 2022 16:00
@tony tony force-pushed the master branch 3 times, most recently from 8fc02b0 to af8cafc Compare May 27, 2023 17:35
@Segaja Segaja closed this by deleting the head repository Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants