public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/19428] New: Write a fedabidiff utility which integrates with the Fedora build system
@ 2016-01-01  0:00 dodji at redhat dot com
  2016-01-01  0:00 ` [Bug default/19428] Write a fedabipkgdiff " dodji at redhat dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: dodji at redhat dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=19428

            Bug ID: 19428
           Summary: Write a fedabidiff utility which integrates with the
                    Fedora build system
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: dodji at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

It would be extremely nice (and useful) to write a 'fedabidiff' tool which
integrates with the Fedora build system.

I propose that we use this enhancement request as a casual way to "define" (and
discuss) what would go into that tool.

The primary use case would be to help Fedora Packagers to review the ABI
changes of their packages, should the need arise.

So here are a some early use case which would be supported early:

1/ Suppose the packager has just locally built a package named
foo-3.0.fc24.rpm.  To compare the ABI of this locally build package with the
latest stable package from Fedora 23, one would do:

  fedabidiff --from f23 ./foo-3.0.fc24.rpm

This command would perform the following tasks:
  - Find (locally) the debug info package that corresponds to the local file
./foo-3.0.fc24.rpm that was just built.
  - Download the latest stable version of the foo package, that was built for
fedora 23, as well as its debug info package.
  - Compare the ABIs of the binaries embedded in the packages
  - Show the results

2/ Suppose the packager wants to see how the ABIs of the package foo evolved
between fedora 19 and fedora 22.  She would thus type the command:

  fedabidiff --from f19 --to f22 foo

This command would perform the following tasks:
  - Download the latest stable package (and its associated debug info package)
of foo, built for Fedora 19
  - Download the latest stable package (and its associated debug info package)
of foo, built for Fedora 22
  - Compare the two packages and show the result.

3/ Suppose the packager wants to compare the ABI of two packages designated by
their name and version. She would issue a command like this:

  fedabidiff foo-1.0.fc19 foo-3.0.fc24

This command would perform the following tasks:
  - Download the package foo-1.0.fc19 and its associated debug info package,
for *all* the architectures available in the Fedora build system.
  - Do the same for foo-3.0.fc24
  - Compare the ABIs of the two packages for all architectures and show the
results.

Should the user want to compare the ABI of two packages, but just for one
architecture, she would type:

  fedabidiff foo-1.0.fc19.i686 foo-1.0.fc24.i686

Please, feel free to add more use cases in subsequent comments.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-05-12 23:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01  0:00 [Bug default/19428] New: Write a fedabidiff utility which integrates with the Fedora build system dodji at redhat dot com
2016-01-01  0:00 ` [Bug default/19428] Write a fedabipkgdiff " dodji at redhat dot com
2016-01-01  0:00 ` [Bug default/19428] Write a fedabidiff " cqi at redhat dot com
2016-01-01  0:00 ` cqi at redhat dot com
2016-01-01  0:00 ` sinny at redhat dot com
2016-01-01  0:00 ` sinny at redhat dot com
2016-01-01  0:00 ` sinny at redhat dot com
2016-01-01  0:00 ` [Bug default/19428] Write a fedabipkgdiff " dodji at redhat dot com
2016-01-01  0:00 ` [Bug default/19428] Write a fedabidiff " dodji at seketeli dot org
2016-01-01  0:00 ` cqi at redhat dot com
2016-01-01  0:00 ` cqi at redhat dot com
2016-01-01  0:00 ` cqi at redhat dot com
2016-01-01  0:00   ` Dodji Seketeli

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 read-only IMAP folder(s) and NNTP newsgroup(s).