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

Merge Icv3 changes #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Merge Icv3 changes #22

wants to merge 2 commits into from

Conversation

CarliJoy
Copy link
Owner

No description provided.

Copy link
Owner Author

@CarliJoy CarliJoy left a 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",
Copy link
Owner Author

Choose a reason for hiding this comment

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

Suggested change
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
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

Choose a reason for hiding this comment

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

why?

Comment on lines +281 to 284
return Gitlab(server, ssl_verify=False)
else:
return Gitlab(server, private_token=personal_token)
return Gitlab(server, private_token=personal_token, ssl_verify=False)

Copy link
Owner Author

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
Copy link
Owner Author

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.

@CarliJoy
Copy link
Owner Author

And of course you need to run pre-commit :-)

@CarliJoy
Copy link
Owner Author

@lcv3 would you be able to work on the issue? I don't posses MS Projekt anymore, so I would need your help.

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.

2 participants