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

Fix Bugs #46

Closed
wants to merge 3 commits into from
Closed

Fix Bugs #46

wants to merge 3 commits into from

Conversation

joaopedrocsilva
Copy link
Contributor

Implement mechanism to seach specific spaces. Fix bug
To do that user must specify the spaceKey. We are searching for spaceKey because Confluence Documentation API doesn't have a query parameter to seach by spaceName.

We can implement that I just didn't do that because I'm not sure if it makes sense. But we can get all spaces and use only the ones with the name selected.

This PR also fix this BUG
It's related to an authentication issue previously identifed by me and solved in other pending PRs.

@joaopedrocsilva joaopedrocsilva linked an issue Apr 14, 2023 that may be closed by this pull request
Comment on lines 128 to 130
for _, space := range p.Spaces {
url += fmt.Sprintf("spaceKey=%s&", space)
}
Copy link
Member

Choose a reason for hiding this comment

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

add this to getSpaces implementation instead of creating a duplicate function getSpecificSpaces()

jossef pushed a commit that referenced this pull request Apr 17, 2023
This PR if replacing #46. 

@baruchiro made a PR with a better mechanism to search for only
specified spaces.

Now on this PR I'm just fixing a small issue with that implementation
that is to replace the --confluence-spaces argument from string to
stringArray.

This will fix a issue we got when no spaces selected.
@joaopedrocsilva joaopedrocsilva deleted the conf_spaces_flag branch April 17, 2023 20:34
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.

confluence - unexpected error --confluence-spaces flag not honored
2 participants