-
Notifications
You must be signed in to change notification settings - Fork 117
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
Are you looking for maintainers? #350
Comments
Hey @jasekiw - thanks for reaching out, and yes I am open to adding maintainers. If you're interested I can add you right away? I see you're right about a release is pending, I do recall working on some fixes but then everything else took over. I'm not sure if I needed a few fixes included before cutting a new release, but test-wise the library is pretty solid so as they're all passing it should be fine to cut a release. |
I am definitely interested. This library doesn't seem to be a huge time sink so I can definitely help keep the library updated. When you say you recall working on some fixes are you perhaps referring to this pr? #348. I see you have a github action setup for release to nuget so I assume creating a release in github automatically publishes to nuget? |
Added you as maintainer now. Thanks for reaching out, let me know if you have any questions! I do recall starting #348 but also #328 seems to be the un-released stuff. Correct, there's a github action flow that pushes to nuget when tagging a new release here. Only manual thing needed is to update the version and release notes in the project file. |
I'll start familiarizing myself with the codebase and the unfinished work over the week end. I want to double check everything before making a release and potentially messing something up on my first try. I could look at doing a prerelease be extra careful. I noticed the Draft new release button didn't show on the releases page. I assume you still want to create the release yourself after I let you know a release is ready? |
It seems that your invite is still pending, did you click "accept" or similar in an email from GtiHub? |
My apologies, that was it. The repository appeared to show more access but I was mistaken since I hadn't accepted the invite yet. What is your opinion of me doing a prerelease to test waters? |
Cool, good to hear. Give it a go man, feel at home! |
I noticed that all of the classes are marked as public. If someone uses the library in a way the readme doesn't state I could accidentally introduce a breaking change for them. This might be too early of a question but how much of library should I assume public api? |
I can't merge PR's created by me since it requires one approved review but I can't review my own PR. I was able to merge some dependabot PR's however. |
Darn, I thought it was possible to avoid reviews for maintainers. I have removed the requirement of a review, since only maintainers can merge PRs it will not be all up for grabs anyway and the review feature is still available.
I see how this could cause a breaking change. I think the main |
Thanks for making that adjustment! I have been going through the issues and closed ones I confirmed are already completed. I did notice this issue that was not marked as completed but did have a PR that was merged. However I found the next commit reverted it. It seems like an accident. If there are not reasons against, I'll re-add this functionality to the library but under a configuration flag since some people may want to receive these as errors. |
I can't recall why that should be reverted, so I agree that it seems like an accident. Would be great to add back in - nice catch, you're on a roll already! I noticed some possible formatting settings could be out of sync, based on this commit - I thought |
Oh wow, I usually catch large diffs like that. I must have had ignore whitespace checked on my diff. It's probably a line ending issue since it appears on lines with no tabbing too. I'll fix that tomorrow or this week end. Thanks for catching that! |
I think I found the root of the issue. It seems that the line endings of the files in the git index are inconsistent. My git configuration is set to checkout as clrf locally and commit as lf which is the default for a windows git installation. Note: /i stands for index, /w stands for working directory
This was the Premailer.cs file before my commit:
And this is after my commit:
Since my git installation commits as lf, it converted the file and marked every line as changed. I recommend that we normalize the line endings in the repository to prevent this issue from creeping up for other contributors as well. I can make a commit using the git command : Let me know what you think. |
Awesome, seems like the right thing to do! |
@jasekiw I was excited when I saw this, I was hoping for an update soon. This is a great project. |
Hi @TopCoder02 I should have some time this week to try and create a new update. Is there anything specific you were looking for? |
@jasekiw Not at the moment, the only thing I think would be useful is to remove the styles that are inherited down and remove the browser defaults from being inlined. I'm doing after I use pre-mailer. I'm probably doing it wrong too. |
@TopCoder02 A new release has been created see https://github.com/milkshakesoftware/PreMailer.Net/releases/tag/v2.5.0 No browser defaults should be inline from what I am aware of, can you create an issue with a reproduction of what you are referring to? |
@martinnormark I cut a new release. You can see it here: https://github.com/milkshakesoftware/PreMailer.Net/releases/tag/v2.5.0 I did run into one issue however. The action published the new version but then failed on a subsequent line of code. So it worked but is marked as a failure. https://github.com/milkshakesoftware/PreMailer.Net/actions/runs/6983746731 |
@jasekiw Awesome with the new version! You rock! Those actions for pushing a nuget package all seems to be more or less abandoned, I presume since it is quite easy to do with the dotnet cli these days? |
@martinnormark That's what I could find from my research so far. I'll play around with publishing a dummy package from a dummy project to make sure things work right and then I'll just copy the cli command over into the action. |
I was referring to https://www.w3schools.com/cssref/css_default_values.php If someone has the style
Since these values are already the default value, it shouldn't be inlined on an h1 tag, even if it's part of a CSS Class. Since it's already defaulted. I know it's more complicated than this, but that's what I was thinking, it will make the CSS smaller and email size smaller. Because it's more intelligent in inlining, removing unnecessary styles. |
I see that there have been many commits in the main branch since the last release back in 2021. I think a new release should be made to include all of these. It appears there hasn't been a lot of activity however. Are you open to adding maintainers to help keep up with the chore work of the library?
Thanks!
The text was updated successfully, but these errors were encountered: