-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Blank line after/before license #78
Comments
Yes, and please make this optional. For example, I would want something like this on a JSP file: <%--
Licensed to Apereo under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Apereo licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a
copy of the License at the following location:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--%><%= "xyz" %> Rather than: <%--
Licensed to Apereo under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Apereo licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a
copy of the License at the following location:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
--%>
<%= "xyz" %> |
Additionally, it would be nice to say: one blank line, but none above if the licence block is the first thing in the file, and never more than one blank line (i.e. don’t add one if one exists, or even collapse them all into one empty line). |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@bot see #78 (comment) |
@rnc @mmoayyed @mirabilos : Stable Bot automatically mark and closes stale issues. If nobody resurrects or open a PR for that issue, it will just be closed. I understand the feature (nice to have IMO), but as an OSS projects and not having any bandwidth for such nice to have thing, people in need also are welcomed to contribute. |
@mathieucarbou I perfectly understand. From my perspective, you're welcome to close this issue. We are no longer using this particular feature or plugin, and have moved on for about 6 years. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Yay for bots… |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
bot, ey…
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale[bot] dixit:
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
yes, as always
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale[bot] dixit:
Is this still relevant? If so, what is blocking it? Is there anything
[…] *sigh…*
see also: ***@***.***/109712205752112196
bye,
//mirabilos
--
Yes, I hate users and I want them to suffer.
-- Marco d'Itri on gmane.linux.debian.devel.general
|
@mirabilos, I admire your persistence 😆 |
Tim Schwenke dixit:
@mirabilos, I admire your persistence 😆
I hate the “stalebot” concept on principle (there recently was a good
article about that on Fediverse, too).
bye,
//mirabilos
--
"Using Lynx is like wearing a really good pair of shades: cuts out
the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
-- Henry Nelson, March 1999
|
Two sides to that. First, I have this thread bookmarked as an example of what not to do with a stale bot. :-) If a repo is not really actively maintained, the bot is noise. Second, on the opposite end, if a repo is actively maintained, there are often bug report/issues where the maintainer asks a question and it just sits there... forever. And having a bot close these old, useless issues is sometimes helpful. Third, this is open source. Maintainers aren't paid for their work, and often end up with competing priorities on their time. This is part of the design of open source. If an issue is important to you, feel free to contribute a fix for it! |
The project is actively maintained but new features are not actively added for the reasons mentioned above. And I am baffled to see how many people would find something useful, but none is courageous enough to send a complete PR. As such, the bot serves the right purpose here: if a feature is asked by 2-3 people but no one implement it, then it is not an important feature, or these people can work around it. Otherwise, if this is really a no-brainer feature, it would have been implemented because it would have bothered more people. In the case of this issue, I think only a few people find this interesting, and amongst them, none dares contribute. That's why it is really low priority. |
Daniel Widdis dixit:
Second, on the opposite end, if a repo is actively maintained, there
are often bug report/issues where the maintainer asks a question and it
just sits there... forever. And having a bot close these old, useless
issues is sometimes helpful.
Perhaps, but I’d rather a maintainer do that, not a bot, as they can
see when a moreinfo thing lacks responses.
Third, this is open source. Maintainers aren't paid for their work
Of course this argument comes. Do you know how much Open Source I
maintain? *sigh…* and almost all of it in whatever spare time I can
manage.
bye,
//mirabilos
--
<ch> you introduced a merge commit │<mika> % g rebase -i HEAD^^
<mika> sorry, no idea and rebasing just fscked │<mika> Segmentation
<ch> should have cloned into a clean repo │ fault (core dumped)
<ch> if I rebase that now, it's really ugh │<mika:#grml> wuahhhhhh
|
Mathieu Carbou dixit:
And I am baffled to see how many people would find something useful,
but none is courageous enough to send a complete PR.
Can you imagine people being experienced programmers but in
completely different areas and not having the headspace to
begin to learn developing a Maven plugin in Java (especially
when they’re not experienced in the latter)?
Give me an i386 bootloader problem in assembly rather…
and most of the things I do nowadays are in Korn Shell or C.
bye,
//mirabilos
--
„Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund,
mksh auf jedem System zu installieren.“
-- XTaran auf der OpenRheinRuhr, ganz begeistert
(EN: “[…]uhr.gz is a reason to install mksh on every system.”)
|
Totally :-) But my point still remains true ;-) This is an OSS project. Either use it the way it works, or contribute to make it better, or do not use it at all. But don't expect maintainers or contributors to work on your needs. |
@mmoayyed Hello, which one do you use instead? |
Not using maven anymore. |
@mmoayyed Thanks. I was wondering how to resolve this issue while using Do you use gradle? If so, it would be great to know which one you're using to avoid this issue :) |
I think that I have worked around this, at least for my needs with Java. I have added a header definitions line:
I then overrode the SLASHSTAR_STYLE as follows in the header definitions file:
The key point here is the addition of EOL to |
@iansergeant I have applied that…
… but it sometimes leads to an extra blank line when updating the licence headers. |
It would be nice to have an option to add a blank line before the license block or / and after the license block.
The text was updated successfully, but these errors were encountered: