Commit Graph

11 Commits

Author SHA1 Message Date
Swapnil Kulkarni (coolsvap) 0414e5fef5 Update typos
Change-Id: Ife36f10944269d94ba33ed04e00db1667d60fc49
2015-12-30 10:50:43 +05:30
Jonathan Brownell 5a415fd453 Enable operating on patches with unicode chars in subject lines
Currently, when run on a repository with commits containing
unicode characters in their subject lines, an exception is
generated when these patch descriptions are written to the
todo file. This patch fixes that issue by writing the todo
file using UTF-8 encoding

Change-Id: I7ed61d5432cde842b09ec106011e584dd0d5a3d0
2014-10-08 11:05:38 -07:00
Davide Guerri 5a46587405 General documentation improvements
Add more details about supersede and drop commands.
Fix typos.
2014-07-21 11:52:27 +01:00
Davide Guerri b06a4e49a0 Remove remaining HP references 2014-07-15 17:45:22 +01:00
Monty Taylor 99caa52b01 Fixed pep8 errors 2014-07-15 12:22:20 +01:00
Monty Taylor 942de1ae2e Prepared for upstream integration
Migrate build to pbr. Add tox.ini file. Removed debian dir.
2014-07-15 12:22:09 +01:00
Davide Guerri f2e38df455 Rename hpgit to git-upstream, also changing its license
* rename hpgit to git-upstream
* rename import-upstream commadn to import
* change all occurrences of hpgit and import-upstream in code,
  comments and tests
* code cleanup (remove some typos, improve PEP8 compliance)
* change license from "HP propietary" to "Apache License v2.0"

Change-Id: Ia4f00d662d79ac9725316027a65f4d23ebbd0f02
JIRA:CICD-1319
JIRA:CICD-1318
2014-03-03 14:32:26 +00:00
Davide Guerri 24df2f38af Add drop and supersede commands
* supersede command allows the marking of commits as superceded by a
  set of upstream changes
* drop command allows the marking of commits that should be dropped

Both commands add git notes to a given sha1 in the upstream-merge
namespace (refs/notes/upstream-merge).
The notes are read by the import-upstream command during import and
the appropriate actions are then taken.

Add functional and unit tests for the two newly created commands.

JIRA: CICD-248
Change-Id: I6f69dd890af18e77a9affdb958afde1ec8b1cab8
2014-02-17 15:03:49 +00:00
Davide Guerri 0161c88b97 Allow running of a set of functional tests
Test numbers can be now specified after the run_tests.sh command to run a set of tests

Change-Id: I08a7d47c6308085629da6a4f4ef80f07f13fdcc3
2014-02-06 22:26:06 +00:00
Davide Guerri 1803a8b1aa Fix simple_rebase functional test
Change-Id: I5ba5cdaa8b088ba42d53cdb3c58b1632d31c5139
2014-02-06 22:22:11 +00:00
Davide Guerri 8e066904b5 Add functional test framework and some basic tests
hpgit lacks of functional tests that ensure it works as expected and
that can be used to automate code verifications.
Functional tests will help to improve hpgit software quality.

JIRA: CICD-1089
Change-Id: Id9764b93c504da3fcc8d8c56415120536388a432
2014-02-03 17:14:46 +00:00