Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2308

Clean up build directory after sucessfull build of package

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: debian
    • Labels:
      None

      Description

      Debian (ubuntu) package builds leave lots of garbage after a package built in build directory.

        Activity

        Hide
        oflebbe Olaf Flebbe added a comment -

        Ah I see, I used a bad example.

        Show
        oflebbe Olaf Flebbe added a comment - Ah I see, I used a bad example.
        Hide
        oflebbe Olaf Flebbe added a comment -

        Hi Konstantin Boudnik ,

        gradle component-deb
        gradle component-deb
        

        will only build once, since I do not touch the targetfile. The results of the build is left as is, only temporary files have been removed, like the RPM case.

        Will not revert this patch.

        Show
        oflebbe Olaf Flebbe added a comment - Hi Konstantin Boudnik , gradle component-deb gradle component-deb will only build once, since I do not touch the targetfile. The results of the build is left as is, only temporary files have been removed, like the RPM case. Will not revert this patch.
        Hide
        cos Konstantin Boudnik added a comment -

        Whatever suites you

        Show
        cos Konstantin Boudnik added a comment - Whatever suites you
        Hide
        oflebbe Olaf Flebbe added a comment -

        OK, that's not intended. OK, if I revert it?

        Show
        oflebbe Olaf Flebbe added a comment - OK, that's not intended. OK, if I revert it?
        Hide
        cos Konstantin Boudnik added a comment -

        With this in place, if I run

        gradle component-deb
        gradle component-deb
        

        the build will inadvertently run both times? Cause in the original case the second run will just check that the packages are already were build. If you need to re-build them, an explicit clean invocation would be in order.

        Show
        cos Konstantin Boudnik added a comment - With this in place, if I run gradle component-deb gradle component-deb the build will inadvertently run both times? Cause in the original case the second run will just check that the packages are already were build. If you need to re-build them, an explicit clean invocation would be in order.
        Hide
        oflebbe Olaf Flebbe added a comment -

        will commit it in a minute

        Show
        oflebbe Olaf Flebbe added a comment - will commit it in a minute

          People

          • Assignee:
            oflebbe Olaf Flebbe
            Reporter:
            oflebbe Olaf Flebbe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development