Commit Graph

18 Commits

Author SHA1 Message Date
Matt Foley f3c0a0e06d
HBASE-24318 Create-release scripts fixes and enhancements (#1643)
* narrow 'dry-run' limits so see svn activity up to just before check-in.
* Fix several typos and, in case of dry run, enable build step to chain from tag step by keeping the tagged git repo.
* Improve Maven settings.xml file, and names of variables related to it. Remove unnecessary use of "-Dmaven.repo.local", put it in settings.xml instead. Stop putting password literals in settings.xml. 
* stop deleting maven settings file, now that it doesn't contain password strings
* Merge 'tag' into release-build.sh as another stage. Also found and fixed a couple bugs in the current release-tag.sh.
* Delete redundant release-tag.sh script.
* Small changes to make dev-support/create-release tools less focused
on hbase project only, while retaining special behaviors for
hbase sub-projects which share the hbase dist and jira locations.
* Changed terminology of release publish steps, from <build|publish>
to <publish-dist|publish-release>. In fact, what was formerly called
"build" built the distribution tarballs AND published them to dist,
while "publish" built the  maven artifacts AND published them to Nexus.
The new terminology clarifies what's happening, and removes the appearance
of order dependendency.
* Fix publish-snapshot so it does same checks as publish-release.
* Factor out common maven usages, and move them to build-util.sh.
* Change default polarity of DRY_RUN to default to true. Change -n ("no-publish") to -f ("force publish") to actually publish.
* Fix problems in do-release.sh so it runs correctly outside of docker,
  including DRY_RUN being exported.
* Have do-release.sh set REPO (shared maven local repository) if doing all three stages.
* Cleaned up REPO directory creation.
* General cleanup of comments and usage.
*  fix all 'shellcheck' errors
* use ${BASH_SOURCE[0]} instead of $0 to determine script directory path
* smarter way to read version from pom with mvn
* do maven-gpg-plugin config settings in maven settings file correctly as documented
* fix gpg signing failure on Mac due to gpg-agent timeout
* fix various bugs to enable publish-dist, publish-snapshot, and publish-release to work correctly as individual steps and/or without docker
* improve log reporting from publish-release step
*  fix bug in argument to checkcompatibility.py: replace PACKAGE_VERSION with GIT_REF
* demote "PACKAGE_VERSION" to "package_version_name" and undocument it in favor of RELEASE_TAG. Still enable appropriate defaulting in case RELEASE_TAG is undefined.
* unify RELEASE_VERSION with VERSION, to remove ambiguity and allow it to be set when only running 'publish' step without 'tag'
* query confirm RELEASE_TAG
* emphasize that release-build.sh is called for a single action at a time, and should be called from do-release.sh.
* add '-s' option to do-release.sh
* suppress maven "Download from central:" messages
* Replace human wait for tag propagation

Signed-off-by: Cesar Delgado <cdelgado@apple.com>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-05-09 10:46:41 -05:00
Jan Hentschel 5f2699e02f HBASE-22593 Added Jenv file to gitignore (#314)
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2019-06-17 10:05:22 +02:00
zhangduo 3317b8738d HBASE-19637 Add .checkstyle to gitignore 2017-12-27 11:24:35 +08:00
Jan Hentschel 9d63bda8ff HBASE-19175 Added linklint files to gitignore 2017-11-07 08:25:48 +01:00
Deon Huang 483c42a756 HBASE-18670 Add .DS_Store to .gitignore
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-27 18:52:11 +08:00
Konstantin Ryakhovskiy d4bd99312d HBASE-16116 Remove redundant pattern *.iml
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-03 00:22:45 +08:00
Gary Helmling de5a3a006a HBASE-16518 Remove unused .arcconfig file 2016-08-29 15:05:46 -07:00
Elliott Clark d2c19416a2 HBASE-13517 Publish a client artifact with shaded dependencies
Summary: Add in shaded versions of server and shaded versions of client

Test Plan: HBase downstreamer

Differential Revision: https://reviews.facebook.net/D37467
2015-04-28 09:41:52 -07:00
Andrew Purtell 76a3b50f1f HBASE-13039 Add patchprocess/* to .gitignore to fix builds of branches ( Adrey Stepachev) 2015-02-13 12:35:26 -08:00
Enis Soztutar fee7668b6c HBASE-7281. Add svn and git ignore for IntelliJ Idea files (Henry Saputra)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1440232 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 00:57:40 +00:00
Michael Stack 390f32d79f HBASE-4336 Convert source tree into maven modules
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342856 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 05:56:04 +00:00
Nicolas Spiegelberg c7489d1ebb HBASE-4611 Add support for Phabricator/Differential as an alternative code review tool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196257 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 20:23:50 +00:00
Michael Stack e019542660 HBASE-2718 Update .gitignore for trunk after removal of contribs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954264 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 17:07:55 +00:00
Michael Stack a8806266b8 HBASE-1200 Add bloomfilters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946464 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 22:19:24 +00:00
Michael Stack 4770ea178a HBASE-2279 Hbase Shell does not have any tests
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922110 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 01:36:04 +00:00
Ryan Rawson 81d947ab3f Javadoc, copyright, static analysis cleanup. Bug fix in HConnectionManager.java, code removal in Put.java.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@920548 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:25:06 +00:00
Michael Stack d5a9b7f67f HBASE-2282 More directories should be ignored when using git for development
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919087 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 17:46:50 +00:00
Nitay Joffe 82675aae86 HBASE-1489 Basic git ignores for people who use git and eclipse
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@782508 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 02:34:08 +00:00