* [Qemu-devel] [PATCH] Fix regressions caused by renaming README
@ 2016-07-19 17:47 Stefan Weil
2016-07-19 18:15 ` Pranith Kumar
2016-07-19 20:53 ` Peter Maydell
0 siblings, 2 replies; 11+ messages in thread
From: Stefan Weil @ 2016-07-19 17:47 UTC (permalink / raw)
To: QEMU Developer
Cc: Peter Maydell, Daniel P. Berrange, Pranith Kumar, Paolo Bonzini,
Stefan Weil
Commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7 renamed README but did not
update scripts/checkpatch.pl. Fix this.
An update was also needed for qemu.nsi (Windows).
Reported-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
qemu.nsi | 4 ++--
scripts/checkpatch.pl | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/qemu.nsi b/qemu.nsi
index a20f6ef..c037017 100644
--- a/qemu.nsi
+++ b/qemu.nsi
@@ -116,7 +116,7 @@ Section "${PRODUCT} (required)"
File "${SRCDIR}\Changelog"
File "${SRCDIR}\COPYING"
File "${SRCDIR}\COPYING.LIB"
- File "${SRCDIR}\README"
+ File "${SRCDIR}\README.md"
File "${SRCDIR}\VERSION"
File "${BINDIR}\*.bmp"
@@ -206,7 +206,7 @@ Section "Uninstall"
Delete "$INSTDIR\Changelog"
Delete "$INSTDIR\COPYING"
Delete "$INSTDIR\COPYING.LIB"
- Delete "$INSTDIR\README"
+ Delete "$INSTDIR\README.md"
Delete "$INSTDIR\VERSION"
Delete "$INSTDIR\*.bmp"
Delete "$INSTDIR\*.bin"
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index afa7f79..8247305 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -286,7 +286,7 @@ sub top_of_kernel_tree {
my @tree_check = (
"COPYING", "MAINTAINERS", "Makefile",
- "README", "docs", "VERSION",
+ "README.md", "docs", "VERSION",
"vl.c"
);
--
2.1.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-19 17:47 [Qemu-devel] [PATCH] Fix regressions caused by renaming README Stefan Weil
@ 2016-07-19 18:15 ` Pranith Kumar
2016-07-19 20:53 ` Peter Maydell
1 sibling, 0 replies; 11+ messages in thread
From: Pranith Kumar @ 2016-07-19 18:15 UTC (permalink / raw)
To: Stefan Weil
Cc: QEMU Developer, Peter Maydell, Daniel P. Berrange, Paolo Bonzini
On Tue, Jul 19, 2016 at 1:47 PM, Stefan Weil <sw@weilnetz.de> wrote:
> Commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7 renamed README but did not
> update scripts/checkpatch.pl. Fix this.
>
> An update was also needed for qemu.nsi (Windows).
>
> Reported-by: Daniel P. Berrange <berrange@redhat.com>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Thank you for fixing this.
--
Pranith
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-19 17:47 [Qemu-devel] [PATCH] Fix regressions caused by renaming README Stefan Weil
2016-07-19 18:15 ` Pranith Kumar
@ 2016-07-19 20:53 ` Peter Maydell
2016-07-19 21:17 ` Pranith Kumar
2016-07-20 8:47 ` Daniel P. Berrange
1 sibling, 2 replies; 11+ messages in thread
From: Peter Maydell @ 2016-07-19 20:53 UTC (permalink / raw)
To: Stefan Weil
Cc: QEMU Developer, Daniel P. Berrange, Pranith Kumar, Paolo Bonzini
On 19 July 2016 at 18:47, Stefan Weil <sw@weilnetz.de> wrote:
> Commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7 renamed README but did not
> update scripts/checkpatch.pl. Fix this.
>
> An update was also needed for qemu.nsi (Windows).
>
> Reported-by: Daniel P. Berrange <berrange@redhat.com>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> qemu.nsi | 4 ++--
> scripts/checkpatch.pl | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/qemu.nsi b/qemu.nsi
> index a20f6ef..c037017 100644
> --- a/qemu.nsi
> +++ b/qemu.nsi
> @@ -116,7 +116,7 @@ Section "${PRODUCT} (required)"
> File "${SRCDIR}\Changelog"
> File "${SRCDIR}\COPYING"
> File "${SRCDIR}\COPYING.LIB"
> - File "${SRCDIR}\README"
> + File "${SRCDIR}\README.md"
> File "${SRCDIR}\VERSION"
>
> File "${BINDIR}\*.bmp"
> @@ -206,7 +206,7 @@ Section "Uninstall"
> Delete "$INSTDIR\Changelog"
> Delete "$INSTDIR\COPYING"
> Delete "$INSTDIR\COPYING.LIB"
> - Delete "$INSTDIR\README"
> + Delete "$INSTDIR\README.md"
> Delete "$INSTDIR\VERSION"
> Delete "$INSTDIR\*.bmp"
> Delete "$INSTDIR\*.bin"
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index afa7f79..8247305 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -286,7 +286,7 @@ sub top_of_kernel_tree {
>
> my @tree_check = (
> "COPYING", "MAINTAINERS", "Makefile",
> - "README", "docs", "VERSION",
> + "README.md", "docs", "VERSION",
> "vl.c"
> );
Does raise the question of whether we should be renaming
the file in the first place. README is the traditional
name and fits with all our other basically-plain-text
document names like COPYING, MAINTAINERS, HACKING.
thanks
-- PMM
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-19 20:53 ` Peter Maydell
@ 2016-07-19 21:17 ` Pranith Kumar
2016-07-19 21:33 ` Peter Maydell
2016-07-20 8:47 ` Daniel P. Berrange
1 sibling, 1 reply; 11+ messages in thread
From: Pranith Kumar @ 2016-07-19 21:17 UTC (permalink / raw)
To: Peter Maydell
Cc: Stefan Weil, QEMU Developer, Daniel P. Berrange, Paolo Bonzini
On Tue, Jul 19, 2016 at 4:53 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
> Does raise the question of whether we should be renaming
> the file in the first place. README is the traditional
> name and fits with all our other basically-plain-text
> document names like COPYING, MAINTAINERS, HACKING.
>
I was hoping that this change would be helpful since mark
down(at-least the way we have it) still looks like plain text if you
open in a text editor. The advantage is that github repositories look
way better since mark down is formatted well there. I am open to
getting it reverted if it really is bothering.
--
Pranith
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-19 21:17 ` Pranith Kumar
@ 2016-07-19 21:33 ` Peter Maydell
2016-07-20 6:37 ` Markus Armbruster
0 siblings, 1 reply; 11+ messages in thread
From: Peter Maydell @ 2016-07-19 21:33 UTC (permalink / raw)
To: Pranith Kumar
Cc: Stefan Weil, QEMU Developer, Daniel P. Berrange, Paolo Bonzini
On 19 July 2016 at 22:17, Pranith Kumar <bobby.prani@gmail.com> wrote:
> On Tue, Jul 19, 2016 at 4:53 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
>> Does raise the question of whether we should be renaming
>> the file in the first place. README is the traditional
>> name and fits with all our other basically-plain-text
>> document names like COPYING, MAINTAINERS, HACKING.
>>
>
> I was hoping that this change would be helpful since mark
> down(at-least the way we have it) still looks like plain text if you
> open in a text editor. The advantage is that github repositories look
> way better since mark down is formatted well there. I am open to
> getting it reverted if it really is bothering.
On the other hand we don't use github as our primary git
repo, and we don't try to render the markdown anywhere
in our build process. The documentation really is a
plain text file in my view, and I'm not hugely enthusiastic
about switching the filename to placate a website we
don't even use except as a backup/mirror.
thanks
-- PMM
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-19 21:33 ` Peter Maydell
@ 2016-07-20 6:37 ` Markus Armbruster
2016-07-20 7:00 ` Paolo Bonzini
0 siblings, 1 reply; 11+ messages in thread
From: Markus Armbruster @ 2016-07-20 6:37 UTC (permalink / raw)
To: Peter Maydell; +Cc: Pranith Kumar, Stefan Weil, QEMU Developer, Paolo Bonzini
Peter Maydell <peter.maydell@linaro.org> writes:
> On 19 July 2016 at 22:17, Pranith Kumar <bobby.prani@gmail.com> wrote:
>> On Tue, Jul 19, 2016 at 4:53 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
>>> Does raise the question of whether we should be renaming
>>> the file in the first place. README is the traditional
>>> name and fits with all our other basically-plain-text
>>> document names like COPYING, MAINTAINERS, HACKING.
>>>
>>
>> I was hoping that this change would be helpful since mark
>> down(at-least the way we have it) still looks like plain text if you
>> open in a text editor. The advantage is that github repositories look
>> way better since mark down is formatted well there. I am open to
>> getting it reverted if it really is bothering.
>
> On the other hand we don't use github as our primary git
> repo, and we don't try to render the markdown anywhere
> in our build process. The documentation really is a
> plain text file in my view, and I'm not hugely enthusiastic
> about switching the filename to placate a website we
> don't even use except as a backup/mirror.
I'd less unenthusiastic if MarkDown worked the same everywhere. Its
common core does, but how would we ensure we stick to the common core?
How would we even know what the core common to the various MarkDown
dialects is? Or are we ready to commit to GitHub's dialect?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-20 6:37 ` Markus Armbruster
@ 2016-07-20 7:00 ` Paolo Bonzini
2016-07-20 7:07 ` Fam Zheng
0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2016-07-20 7:00 UTC (permalink / raw)
To: Markus Armbruster, Peter Maydell
Cc: Stefan Weil, Pranith Kumar, QEMU Developer
On 20/07/2016 08:37, Markus Armbruster wrote:
> I'd less unenthusiastic if MarkDown worked the same everywhere. Its
> common core does, but how would we ensure we stick to the common core?
> How would we even know what the core common to the various MarkDown
> dialects is?
README.md uses exactly three features:
* monospace text
* headings
* lists
> Or are we ready to commit to GitHub's dialect?
We probably want to rely on GitHub's stricter interpretation of
underscores, where they only start/end italic formatting if they are
respectively the first or the last character in the word. This is a
common extension (for example Stack Exchange does the same).
The question is: is anyone actually viewing formatted markdown anywhere
else than on github?
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-20 7:00 ` Paolo Bonzini
@ 2016-07-20 7:07 ` Fam Zheng
2016-07-20 7:09 ` Paolo Bonzini
0 siblings, 1 reply; 11+ messages in thread
From: Fam Zheng @ 2016-07-20 7:07 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Markus Armbruster, Peter Maydell, Stefan Weil, Pranith Kumar,
QEMU Developer
On Wed, 07/20 09:00, Paolo Bonzini wrote:
> We probably want to rely on GitHub's stricter interpretation of
> underscores, where they only start/end italic formatting if they are
> respectively the first or the last character in the word. This is a
> common extension (for example Stack Exchange does the same).
>
> The question is: is anyone actually viewing formatted markdown anywhere
> else than on github?
It may have slightly better syntax highlighting in editors.
Out of curiosity, I'm wondering if it's acceptable to commit a "ln -s README.md
README" change in the repo, at all?
Fam
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-20 7:07 ` Fam Zheng
@ 2016-07-20 7:09 ` Paolo Bonzini
2016-07-20 7:18 ` Fam Zheng
0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2016-07-20 7:09 UTC (permalink / raw)
To: Fam Zheng
Cc: QEMU Developer, Peter Maydell, Pranith Kumar, Markus Armbruster,
Stefan Weil
On 20/07/2016 09:07, Fam Zheng wrote:
>> > The question is: is anyone actually viewing formatted markdown anywhere
>> > else than on github?
> It may have slightly better syntax highlighting in editors.
>
> Out of curiosity, I'm wondering if it's acceptable to commit a "ln -s README.md
> README" change in the repo, at all?
Yes, that's a good idea.
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-20 7:09 ` Paolo Bonzini
@ 2016-07-20 7:18 ` Fam Zheng
0 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2016-07-20 7:18 UTC (permalink / raw)
To: Paolo Bonzini
Cc: QEMU Developer, Peter Maydell, Pranith Kumar, Markus Armbruster,
Stefan Weil
On Wed, 07/20 09:09, Paolo Bonzini wrote:
>
>
> On 20/07/2016 09:07, Fam Zheng wrote:
> >> > The question is: is anyone actually viewing formatted markdown anywhere
> >> > else than on github?
> > It may have slightly better syntax highlighting in editors.
> >
> > Out of curiosity, I'm wondering if it's acceptable to commit a "ln -s README.md
> > README" change in the repo, at all?
>
> Yes, that's a good idea.
I'll see if github likes that. :)
Fam
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix regressions caused by renaming README
2016-07-19 20:53 ` Peter Maydell
2016-07-19 21:17 ` Pranith Kumar
@ 2016-07-20 8:47 ` Daniel P. Berrange
1 sibling, 0 replies; 11+ messages in thread
From: Daniel P. Berrange @ 2016-07-20 8:47 UTC (permalink / raw)
To: Peter Maydell; +Cc: Stefan Weil, QEMU Developer, Pranith Kumar, Paolo Bonzini
On Tue, Jul 19, 2016 at 09:53:30PM +0100, Peter Maydell wrote:
> On 19 July 2016 at 18:47, Stefan Weil <sw@weilnetz.de> wrote:
> > Commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7 renamed README but did not
> > update scripts/checkpatch.pl. Fix this.
> >
> > An update was also needed for qemu.nsi (Windows).
> >
> > Reported-by: Daniel P. Berrange <berrange@redhat.com>
> > Signed-off-by: Stefan Weil <sw@weilnetz.de>
> > ---
> > qemu.nsi | 4 ++--
> > scripts/checkpatch.pl | 2 +-
> > 2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/qemu.nsi b/qemu.nsi
> > index a20f6ef..c037017 100644
> > --- a/qemu.nsi
> > +++ b/qemu.nsi
> > @@ -116,7 +116,7 @@ Section "${PRODUCT} (required)"
> > File "${SRCDIR}\Changelog"
> > File "${SRCDIR}\COPYING"
> > File "${SRCDIR}\COPYING.LIB"
> > - File "${SRCDIR}\README"
> > + File "${SRCDIR}\README.md"
> > File "${SRCDIR}\VERSION"
> >
> > File "${BINDIR}\*.bmp"
> > @@ -206,7 +206,7 @@ Section "Uninstall"
> > Delete "$INSTDIR\Changelog"
> > Delete "$INSTDIR\COPYING"
> > Delete "$INSTDIR\COPYING.LIB"
> > - Delete "$INSTDIR\README"
> > + Delete "$INSTDIR\README.md"
> > Delete "$INSTDIR\VERSION"
> > Delete "$INSTDIR\*.bmp"
> > Delete "$INSTDIR\*.bin"
> > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> > index afa7f79..8247305 100755
> > --- a/scripts/checkpatch.pl
> > +++ b/scripts/checkpatch.pl
> > @@ -286,7 +286,7 @@ sub top_of_kernel_tree {
> >
> > my @tree_check = (
> > "COPYING", "MAINTAINERS", "Makefile",
> > - "README", "docs", "VERSION",
> > + "README.md", "docs", "VERSION",
> > "vl.c"
> > );
>
> Does raise the question of whether we should be renaming
> the file in the first place. README is the traditional
> name and fits with all our other basically-plain-text
> document names like COPYING, MAINTAINERS, HACKING.
As mentioned in my original review, we could just create a symlink
between READE & README.md or vica-verca if we wish to preserve the
"normal" filename, but still have github do its magic.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-07-20 8:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 17:47 [Qemu-devel] [PATCH] Fix regressions caused by renaming README Stefan Weil
2016-07-19 18:15 ` Pranith Kumar
2016-07-19 20:53 ` Peter Maydell
2016-07-19 21:17 ` Pranith Kumar
2016-07-19 21:33 ` Peter Maydell
2016-07-20 6:37 ` Markus Armbruster
2016-07-20 7:00 ` Paolo Bonzini
2016-07-20 7:07 ` Fam Zheng
2016-07-20 7:09 ` Paolo Bonzini
2016-07-20 7:18 ` Fam Zheng
2016-07-20 8:47 ` Daniel P. Berrange
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).