[Qemu-devel] [PATCH for 2.10 0/8] docs: fix broken paths

Philippe Mathieu-Daudé posted 8 patches 6 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170728012542.29975-1-f4bug@amsat.org
Test FreeBSD passed
Test checkpatch passed
Test s390x passed
There is a newer version of this series
audio/trace-events                  | 2 +-
block/trace-events                  | 2 +-
chardev/trace-events                | 2 +-
crypto/trace-events                 | 2 +-
docs/devel/lockcnt.txt              | 2 +-
docs/devel/writing-qmp-commands.txt | 4 ++--
docs/qcow2-cache.txt                | 2 +-
docs/specs/pci-ids.txt              | 2 +-
docs/spin/aio_notify.promela        | 6 +++---
docs/spin/aio_notify_accept.promela | 4 ++--
docs/spin/aio_notify_bug.promela    | 4 ++--
docs/spin/tcg-exclusive.promela     | 2 +-
docs/usb2.txt                       | 2 +-
hw/9pfs/trace-events                | 2 +-
hw/acpi/trace-events                | 2 +-
hw/alpha/trace-events               | 2 +-
hw/arm/trace-events                 | 2 +-
hw/audio/trace-events               | 2 +-
hw/block/dataplane/trace-events     | 2 +-
hw/block/trace-events               | 2 +-
hw/char/trace-events                | 2 +-
hw/display/trace-events             | 2 +-
hw/dma/trace-events                 | 2 +-
hw/i386/trace-events                | 2 +-
hw/input/trace-events               | 2 +-
hw/intc/trace-events                | 2 +-
hw/isa/trace-events                 | 2 +-
hw/mem/trace-events                 | 2 +-
hw/misc/trace-events                | 2 +-
hw/net/trace-events                 | 2 +-
hw/nvram/trace-events               | 2 +-
hw/pci/trace-events                 | 2 +-
hw/ppc/trace-events                 | 2 +-
hw/s390x/trace-events               | 2 +-
hw/scsi/trace-events                | 2 +-
hw/sd/trace-events                  | 2 +-
hw/sparc/trace-events               | 2 +-
hw/timer/trace-events               | 2 +-
hw/usb/trace-events                 | 2 +-
hw/vfio/trace-events                | 2 +-
hw/virtio/trace-events              | 2 +-
hw/xen/trace-events                 | 2 +-
include/block/aio.h                 | 2 +-
include/qapi/visitor.h              | 2 +-
include/qemu/atomic.h               | 4 ++--
io/trace-events                     | 2 +-
linux-user/trace-events             | 2 +-
migration/trace-events              | 2 +-
net/trace-events                    | 2 +-
qapi-schema.json                    | 4 ++--
qapi/introspect.json                | 2 +-
qapi/qapi-util.c                    | 2 +-
qom/trace-events                    | 2 +-
scripts/qapi2texi.py                | 2 +-
scripts/simpletrace.py              | 2 +-
target/arm/trace-events             | 2 +-
target/i386/trace-events            | 2 +-
target/mips/trace-events            | 2 +-
target/ppc/trace-events             | 2 +-
target/s390x/trace-events           | 2 +-
target/sparc/trace-events           | 2 +-
tcg/README                          | 2 +-
ui/trace-events                     | 2 +-
util/trace-events                   | 2 +-
64 files changed, 71 insertions(+), 71 deletions(-)
[Qemu-devel] [PATCH for 2.10 0/8] docs: fix broken paths
Posted by Philippe Mathieu-Daudé 6 years, 8 months ago
Hi, following Cleber Rosa example I cleaned more invalid references.

Eric said this can wait 2.11, however these patches don't change any code
generated, I think the 2.10 users deserve an up-to-date doc :p

I used the following command (and consider include it in some CI test job):

$ git grep docs/ \
      | sed -ne "s/.* \(docs[^ :)}\"\']*\).*/\1/p" \
      | sed -e 's/\(.*\)\.$/\1/p' | sort -u | while read p;do
    ls -ld $p 1>/dev/null
  done

Regards,

Phil.

Cleber Rosa (1):
  docs: fix broken paths to docs/interop dir

Philippe Mathieu-Daudé (7):
  docs: fix broken paths to docs/interop/qcow2.txt
  docs: fix broken paths to docs/devel/qapi-code-gen.txt
  docs: fix broken paths to docs/devel/atomics.txt
  docs: fix broken paths to docs/devel/tracing.txt
  docs: fix broken paths to docs/config/ich9-ehci-uhci.cfg
  docs: fix broken paths to docs/specs/ivshmem-spec.txt
  docs: fix broken paths to docs/spin/

 audio/trace-events                  | 2 +-
 block/trace-events                  | 2 +-
 chardev/trace-events                | 2 +-
 crypto/trace-events                 | 2 +-
 docs/devel/lockcnt.txt              | 2 +-
 docs/devel/writing-qmp-commands.txt | 4 ++--
 docs/qcow2-cache.txt                | 2 +-
 docs/specs/pci-ids.txt              | 2 +-
 docs/spin/aio_notify.promela        | 6 +++---
 docs/spin/aio_notify_accept.promela | 4 ++--
 docs/spin/aio_notify_bug.promela    | 4 ++--
 docs/spin/tcg-exclusive.promela     | 2 +-
 docs/usb2.txt                       | 2 +-
 hw/9pfs/trace-events                | 2 +-
 hw/acpi/trace-events                | 2 +-
 hw/alpha/trace-events               | 2 +-
 hw/arm/trace-events                 | 2 +-
 hw/audio/trace-events               | 2 +-
 hw/block/dataplane/trace-events     | 2 +-
 hw/block/trace-events               | 2 +-
 hw/char/trace-events                | 2 +-
 hw/display/trace-events             | 2 +-
 hw/dma/trace-events                 | 2 +-
 hw/i386/trace-events                | 2 +-
 hw/input/trace-events               | 2 +-
 hw/intc/trace-events                | 2 +-
 hw/isa/trace-events                 | 2 +-
 hw/mem/trace-events                 | 2 +-
 hw/misc/trace-events                | 2 +-
 hw/net/trace-events                 | 2 +-
 hw/nvram/trace-events               | 2 +-
 hw/pci/trace-events                 | 2 +-
 hw/ppc/trace-events                 | 2 +-
 hw/s390x/trace-events               | 2 +-
 hw/scsi/trace-events                | 2 +-
 hw/sd/trace-events                  | 2 +-
 hw/sparc/trace-events               | 2 +-
 hw/timer/trace-events               | 2 +-
 hw/usb/trace-events                 | 2 +-
 hw/vfio/trace-events                | 2 +-
 hw/virtio/trace-events              | 2 +-
 hw/xen/trace-events                 | 2 +-
 include/block/aio.h                 | 2 +-
 include/qapi/visitor.h              | 2 +-
 include/qemu/atomic.h               | 4 ++--
 io/trace-events                     | 2 +-
 linux-user/trace-events             | 2 +-
 migration/trace-events              | 2 +-
 net/trace-events                    | 2 +-
 qapi-schema.json                    | 4 ++--
 qapi/introspect.json                | 2 +-
 qapi/qapi-util.c                    | 2 +-
 qom/trace-events                    | 2 +-
 scripts/qapi2texi.py                | 2 +-
 scripts/simpletrace.py              | 2 +-
 target/arm/trace-events             | 2 +-
 target/i386/trace-events            | 2 +-
 target/mips/trace-events            | 2 +-
 target/ppc/trace-events             | 2 +-
 target/s390x/trace-events           | 2 +-
 target/sparc/trace-events           | 2 +-
 tcg/README                          | 2 +-
 ui/trace-events                     | 2 +-
 util/trace-events                   | 2 +-
 64 files changed, 71 insertions(+), 71 deletions(-)

-- 
2.13.3


Re: [Qemu-devel] [PATCH for 2.10 0/8] docs: fix broken paths
Posted by Philippe Mathieu-Daudé 6 years, 8 months ago
On 07/27/2017 10:25 PM, Philippe Mathieu-Daudé wrote:
> Hi, following Cleber Rosa example I cleaned more invalid references.
> 
> Eric said this can wait 2.11, however these patches don't change any code
> generated, I think the 2.10 users deserve an up-to-date doc :p

Well if someone is looking at that doc he'll rapidly end up cloning the 
repository... so this can wait 2.11 :)

Re: [Qemu-devel] [PATCH for 2.10 0/8] docs: fix broken paths
Posted by Eric Blake 6 years, 8 months ago
On 07/27/2017 08:25 PM, Philippe Mathieu-Daudé wrote:
> Hi, following Cleber Rosa example I cleaned more invalid references.
> 
> Eric said this can wait 2.11, however these patches don't change any code
> generated, I think the 2.10 users deserve an up-to-date doc :p

I think what I said was: this doesn't change code and doc updates are
find during freeze, so this is a GOOD candidate for 2.10; but if it
misses 2.10, slipping to 2.11 doesn't hurt.  (If I didn't say that, it's
what I should have done).  But you caught on to my intention, even if in
the process it sounds like I was asking you to wait.

> 
> I used the following command (and consider include it in some CI test job):
> 
> $ git grep docs/ \
>       | sed -ne "s/.* \(docs[^ :)}\"\']*\).*/\1/p" \
>       | sed -e 's/\(.*\)\.$/\1/p' | sort -u | while read p;do
>     ls -ld $p 1>/dev/null

Wait. What? 'ls -ld' with stdout sent to /dev/null?  (I never cease to
be amazed at the random shell constructs that people come up with).  I
guess you are just trying to check for file existence, by going off of
the stderr droppings from ls?  'ls -d' is less effort than 'ls -ld'; and
if all you care about is stderr messages, spawning one ls per filename
is much slower than just doing it wholesale via xargs to minimize ls calls:

git grep ... | sort -u | xargs ls -d >/dev/null

But then again, efficiency in generating the list of problems isn't a
bottleneck.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Re: [Qemu-devel] [PATCH for 2.10 0/8] docs: fix broken paths
Posted by Paolo Bonzini 6 years, 8 months ago
On 28/07/2017 03:25, Philippe Mathieu-Daudé wrote:
> Eric said this can wait 2.11, however these patches don't change any code
> generated, I think the 2.10 users deserve an up-to-date doc :p

I agree, especially because this is a 2.10 regression.

Paolo

Re: [Qemu-devel] [PATCH for 2.10 0/8] docs: fix broken paths
Posted by Michael Tokarev 6 years, 8 months ago
28.07.2017 04:25, Philippe Mathieu-Daudé wrote:
> Hi, following Cleber Rosa example I cleaned more invalid references.
> 
> Eric said this can wait 2.11, however these patches don't change any code
> generated, I think the 2.10 users deserve an up-to-date doc :p

Applied all to -trivial, thanks!

/mjt