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

send itp mail via npm2deb #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nileshpatra
Copy link
Contributor

Solves #45

npm2deb/scripts.py Outdated Show resolved Hide resolved
@nileshpatra
Copy link
Contributor Author

@guimard , did the changes as desired, using mail + editor.(seems to work on my machine) Could you please review?

@nileshpatra nileshpatra force-pushed the automate_itp_mail branch 2 times, most recently from f2969c9 to 544f31a Compare October 16, 2019 10:07
@guimard
Copy link
Collaborator

guimard commented Oct 16, 2019

@guimard , did the changes as desired, using mail + editor.(seems to work on my machine) Could you please review?

Seems good for me. However, I've no talents in Python. I let review for someone else

@nileshpatra
Copy link
Contributor Author

@guimard , did the changes as desired, using mail + editor.(seems to work on my machine) Could you please review?

Seems good for me. However, I've no talents in Python. I let review for someone else

Noted, Thanks a lot for guiding me, :)

@shanavas786 @LeoIannacone could you please review the PR?

@@ -147,6 +147,11 @@ def main(argv=None):
'name', nargs='?', help='the license name to show')
parser_license.set_defaults(func=print_license)

parser_senditpmail = subparsers.add_parser('senditpmail', help="send itp mail from template")
parser_senditpmail.add_argument(
'file', help='pass file location toend mail from')
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

@shanavas786
Copy link
Collaborator

@nileshpatra Thanks for your contribution

did the changes as desired, using mail + editor.(seems to work on my machine)

Does it invoke editor in your system ?

@nileshpatra
Copy link
Contributor Author

nileshpatra commented Oct 22, 2019

@nileshpatra Thanks for your contribution

did the changes as desired, using mail + editor.(seems to work on my machine)

Does it invoke editor in your system ?

No, you would need to modify the template (_itp.mail) on doing npm2deb senditpmail package-name_itp.mail, it should send the mail.

@shanavas786
Copy link
Collaborator

well, then the subject should not contain 'FIX_ME', would be better to capture it from user.
You may also warn/abort if the ITP file contains any 'FIX_ME' s

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