Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone 1 #10

Merged
merged 16 commits into from Nov 20, 2020
Merged

Milestone 1 #10

merged 16 commits into from Nov 20, 2020

Conversation

DigiLive
Copy link
Owner

@DigiLive DigiLive commented Nov 2, 2020

  • Renamed option headSubject to headTagName because the option
    involves a tag name instead of subject.

  • Renamed option nextTagDate to headTagDate.

  • Option headSubject headTagName can't be set to an existing tag
    name anymore. Having duplicate tag names is ambiguous.

  • Reference to HEAD revision in Gitchangelog::gitTags changed from
    'HEAD' to ''. Any non empty value could result in duplicate tag names.

- Renamed option `headSubject` to `headTagName` because the option
  involves a tag name instead of subject.

- Renamed option `nextTagDate` to `headTagDate`.

- Option ~~headSubject~~ headTagName can't be set to an existing tag
  name anymore. Having duplicate tag names is ambiguous.

- Reference to HEAD revision in Gitchangelog::gitTags changed from
  'HEAD' to ''. Any non empty value could result in duplicate tag names.
@DigiLive DigiLive self-assigned this Nov 2, 2020
- Changed shell_exec function calls to exec function call where
  multiline output is expected. This avoid the overhead of exploding the
  single output string of shell_exec.

- GitChangelog::$setToTag now refers to head revision of repository with
  value null instead of empty string.

- Fixed thrown exceptions at docBlocks.
DigiLive added 7 commits November 3, 2020 20:06
Closes #9
- The html and markdown renderer, convert issues ids (like #7) into a
  hyperlink which is set as class property.
- The html and markdown renderer, convert hashes (like 2587485) into a
  hyperlink which is set as class property.
- Header 1 tag inside Paragraph tag when there's no commit data.
- Issues are always formatted, even with no issueUrl specified.
- Hashes are formatted while no commitUrl is specified.
- Removed default value of MarkDown::$issueUrl.
- New line prepended to changelog instead of separating the header and
  message when there's no commit data.
- Message has trailing space when there are no subjects.
- Hashes are formatted while no commitUrl is specified.
- GitChangeLogTest::testFetchTagsCached expects wrong value.
- Changed visibility of GitChangeLogTest::setPrivateProperty().
- Added typehints for parameters of
  GitChangeLogTest::setPrivateProperty().
- Added typehints for parameters of
  GitChangeLogTest::getPrivateProperty().
- Removed GitChangeLogTest::testBuildAscendingCommitOrder().
- Removed GitChangeLogTest::testBuildDescendingCommitOrder().
- GitChangeLogTest::testRemoveLabel() tests without default labels.
- Add test for removing a label that doesn't exist.
- Unreachable lines taken out from code coverage.
@DigiLive DigiLive requested a review from JBlond November 3, 2020 22:09
@DigiLive DigiLive linked an issue Nov 3, 2020 that may be closed by this pull request
@DigiLive DigiLive marked this pull request as draft November 11, 2020 06:28
DigiLive added 7 commits November 11, 2020 13:43
Instead of defining a path to a file which content is used to append the
generated changelog, the generated changelog can now also be appended by
any string value.
Remove redundant comments.
Updated to content to reflect changes since commit a6f72c6.
@DigiLive DigiLive changed the title Milstone 1 Milestone 1 Nov 19, 2020
@DigiLive DigiLive marked this pull request as ready for review November 20, 2020 14:38
@DigiLive DigiLive merged commit 9a28bb2 into main Nov 20, 2020
@DigiLive DigiLive deleted the bugFixes branch November 20, 2020 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants