pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [incubator-pulsar] branch master updated: Don't dirty the tree when building in CI (#2175)
Date Tue, 17 Jul 2018 22:08:41 GMT
This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 3dfc217  Don't dirty the tree when building in CI (#2175)
3dfc217 is described below

commit 3dfc217e9c2855ab4b42c81d453a3023c5dade32
Author: Ivan Kelly <ivank@apache.org>
AuthorDate: Tue Jul 17 23:08:39 2018 +0100

    Don't dirty the tree when building in CI (#2175)
    
    When we build a package, mvn inserts the sha of the commit we are
    building from into the tarball. If there have been any changes to the
    work tree, it will add the suffix "(dirty)".
    
    CI makes a couple of modifications to the worktree. It creates its own
    .repository for maven artifacts. And it create a docker debugging
    logfile.
    
    This patch adds these to .gitignore so that they won't be picked up by
    git status and won't cause the tree to be 'dirty'.
---
 .gitignore | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index cd4f8ad..8808c8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -64,4 +64,6 @@ pulsar-client-cpp/python/pkg/osx/**/*.whl
 pulsar-client-cpp/python/pkg/osx/**/*.template2
 pulsar-client-cpp/python/wheelhouse
 
-
+# CI generated files
+.repository
+docker.debug-info


Mime
View raw message