-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Merged changes made outside of Github #13
base: master
Are you sure you want to change the base?
Conversation
Changes made outside of Github but referenced in threads on SoureForge have been merged here.
Fixed some syntax errors
Moved to Visual Studio 2015 Removed invalid setup project for now
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.
Looks good overall. Just a few minor tweaks needed.
<?xml version="1.0"?> | ||
<configuration> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> | ||
<?xml version="1.0"?> |
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.
It looks like this file has invalid chars introduced into it.
|
||
Release Notes: | ||
|
||
0.0.0.17- 13 Jan 2017 (beta) - merge changes from Github contributors |
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.
Should this stay in beta?
If you want, I can send you a compiled exe of this pull request for testing. If you find it is working well and addresses the issues, I will then merge the pull request and post to sourceforge.
Let me know...you will need to send me your email address so I can attach the setup program.
Regards,
Ken
From: "Dennis Hoer" <notifications@github.com>
To: "plecos/logrotatewin" <logrotatewin@noreply.github.com>
Cc: "Ken Salter" <ken@thesalters.net>, "Author" <author@noreply.github.com>
Sent: Saturday, January 14, 2017 1:41:53 PM
Subject: Re: [plecos/logrotatewin] Merged changes made outside of Github (#13)
@dhoer commented on this pull request.
Looks good overall. Just a few minor tweaks needed.
In logrotate/app.config :
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
-<configuration>
-<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
+<?xml version="1.0"?>
It looks like this file has invalid chars introduced into it.
In logrotate/Content/README.txt :
+
+https://sourceforge.net/projects/logrotatewin/
+
+Requirements:
+
+.NET Framework v4.5 or better
+
+Installation:
+
+Run the setup.exe to install.
+
+This installation will copy the executable, README.txt, gnu_license.txt, and a sample .conf file to the folder you specify.
+
+Release Notes:
+
+0.0.0.17- 13 Jan 2017 (beta) - merge changes from Github contributors
Should this stay in beta?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .
|
I sent you an email. Question: have you thought about building, unit and integration testing this with appveyor? |
Got your email and sent a reply. As to your question, I'm not familiar with appveyor. |
Thanks. https://www.appveyor.com/ is a windows continuous integration tool that is free to opensource projects. You check-in a appveyor.yml that describes the steps to build and test your code: https://www.appveyor.com/docs/build-configuration/. |
I'm having issues with comments. Logrotatewin sucks up the next uncommented line as part of the comment and throws Unknown directive error at the end, e.g.,
Would result in the following output:
Let me know if you would like this written up as another issue. |
Yes please so I can track it better. |
Done: Comments in conf causes Unknown directive error #14 |
On windows is SCHTASKS the best way to run logrotate periodically? |
Yeah I think so, at this point at least. |
I have the chef cookbook close to release. Just need to finish up the readme. Here is an example of using appveyor to lint, unit, and integration test on windows 2012r2: https://ci.appveyor.com/project/dhoer/chef-windows-logrotate |
The only other issue I ran into is that when I have the schtask running every hour and I do not set the Thanks for getting this out there for me. It is much appreciated! |
One more interesting thing to mention. If the following vars are global (at the top), the logrotate will not keep a test.log file after it rotates, but if I have them inside e.g. c:\test.log { }, then it does.
I don't know if this is expected behavior or not. |
This cookbook is now released: https://supermarket.chef.io/cookbooks/windows_logrotate |
Changes made outside of Github but referenced in threads on SoureForge have been merged here.