-
Notifications
You must be signed in to change notification settings - Fork 1
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
Merge Icv3 changes #22
base: main
Are you sure you want to change the base?
Conversation
… group, an use full reference for Hyperlinkname. Also set ssl_verify to false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lcv3 your changes look like a good starting point. If you are willing to work on the issues noted, I could include them in the official release
"--ignore-project", | ||
"-ip", | ||
dest="ignore_project", | ||
help="Ignore Gitlab Issue with a match to the projec id", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
help="Ignore Gitlab Issue with a match to the projec id", | |
help="Ignore Gitlab Issue with a match to the project id", |
@@ -150,14 +163,17 @@ def has_not_label(issue: Issue, label: str) -> bool: | |||
|
|||
Returns: True if to include the label | |||
""" | |||
global Ignore_project_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Global are an anti pattern
- Add Actual Start from gitlab created_at | ||
- Add option for ignoring given project id within group | ||
- Replaced Hyperlinkname with gitlab full reference | ||
- Access Gitlab with ssl_verify set to false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be the default but only an option, as it is a security risk.
@@ -2,6 +2,15 @@ | |||
Changelog | |||
========= | |||
|
|||
Version 0.0.7 | |||
============= | |||
- Removed Notes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
return Gitlab(server, ssl_verify=False) | ||
else: | ||
return Gitlab(server, private_token=personal_token) | ||
return Gitlab(server, private_token=personal_token, ssl_verify=False) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As written in before: Don't do this by default. You can add an option that disables this changes so.
@@ -129,7 +129,7 @@ def update_task_with_issue_data( | |||
type_setter = task_type_setter(issue) | |||
type_setter.set_task_type_before_sync(task, is_add) | |||
task.name = issue.title | |||
task.notes = issue.description | |||
#task.notes = issue.description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove this?
Make this an option instead. So users can disable the functionality.
And of course you need to run pre-commit :-) |
@lcv3 would you be able to work on the issue? I don't posses MS Projekt anymore, so I would need your help. |
No description provided.