bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject [06/14] bigtop git commit: BIGTOP-2846. Add DSL documentation for GIT-based builds
Date Wed, 02 Aug 2017 23:24:02 GMT
BIGTOP-2846. Add DSL documentation for GIT-based builds


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/d45b0ff8
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/d45b0ff8
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/d45b0ff8

Branch: refs/heads/BIGTOP-2839
Commit: d45b0ff8d94684f1f87f6924d8167411e582445e
Parents: bd473db
Author: Konstantin Boudnik <konstantin_boudnik@epam.com>
Authored: Fri Jul 21 12:19:59 2017 -0700
Committer: Konstantin Boudnik <konstantin_boudnik@epam.com>
Committed: Fri Jul 21 12:19:59 2017 -0700

----------------------------------------------------------------------
 bigtop.bom | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/d45b0ff8/bigtop.bom
----------------------------------------------------------------------
diff --git a/bigtop.bom b/bigtop.bom
index 72b2b94..ff6d4e1 100644
--- a/bigtop.bom
+++ b/bigtop.bom
@@ -68,6 +68,21 @@
          site          = "${apache.APACHE_MIRROR}/${download_path}"
          archive       = "${apache.APACHE_ARCHIVE}/${download_path}"
        }
+       git {
+         // Setting the info to access a git repository. Ref is any valid git reference.
+         // If git repo information is provided, the *url* element above will be ignored.
+         repo  = "https://github.com/apache/bigtop.git"
+         ref   = "branch-name"
+         // *dir* defines the name of the top-level folder inside of the tar-ball archive.
+         // if set to null, the directory name will be set to tar-ball.dist without
+         // the .tar* suffix
+         // This setting is important to allow build to locate unpacked source code
+         dir   = "${name}-${version.base}-src"
+         // *optional*
+         // You can setup repo-specific user credentials overriding any global settings
+         user  = "john_doe"
+         token = "john's access token"
+       }
      }
    }
  }


Mime
View raw message