Skip to content
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

Allow to specify namespace in module_options #181

Merged
merged 4 commits into from
Jul 20, 2020
Merged

Allow to specify namespace in module_options #181

merged 4 commits into from
Jul 20, 2020

Conversation

raphink
Copy link
Member

@raphink raphink commented Jul 3, 2020

No description provided.

@raphink
Copy link
Member Author

raphink commented Jul 3, 2020

I fail to understand why the cucumber tests don't pass...

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I think there's now 2 ways to override the namespace for a module:

  • Use namespace/repo as a name
  • Set namespace in module_options

Perhaps this should be documented somewhere. Also which takes precedence.

@raphink
Copy link
Member Author

raphink commented Jul 16, 2020

That's right. The first way is probablematic though, when the namespace contains slashes.

@raphink
Copy link
Member Author

raphink commented Jul 17, 2020

@ekohl since #182 also changes the README, I think I'll wait until it's merged.

@ekohl
Copy link
Member

ekohl commented Jul 17, 2020

That's now merged :)

@raphink
Copy link
Member Author

raphink commented Jul 17, 2020

Yep, I'll have a look on Monday, I'm on weekend already!

@ekohl
Copy link
Member

ekohl commented Jul 17, 2020

Enjoy!

@bastelfreak bastelfreak mentioned this pull request Jul 18, 2020
@raphink
Copy link
Member Author

raphink commented Jul 20, 2020

@ekohl good for you?

@@ -276,7 +276,9 @@ msync update -m "Commit message"
Available parameters for modulesync.yml

* `git_base` : The default URL to git clone from (Default: 'git@github.com:')
* `namespace` : Namespace of the projects to manage (Default: 'puppetlabs')
* `namespace` : Namespace of the projects to manage (Default: 'puppetlabs').
Copy link
Member

Choose a reason for hiding this comment

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

Not blocking for this PR, but I think we should drop the default. Puppetlabs is no longer using modulesync so exactly 0 users benefit from this default.

Copy link
Member

Choose a reason for hiding this comment

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

I will provide a new PR for that

@ekohl
Copy link
Member

ekohl commented Jul 20, 2020

Do we want to squash the commits?

@raphink
Copy link
Member Author

raphink commented Jul 20, 2020

Yep, let's squash

@bastelfreak bastelfreak merged commit f3511cf into voxpupuli:master Jul 20, 2020
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