Skip to content

Commit f9caa8a

Browse files
authored
Merge pull request #140 from neithernut/release-prep
Preparations for the 0.3.0 release
2 parents 8b21e2a + 33e81fd commit f9caa8a

File tree

9 files changed

+103
-27
lines changed

9 files changed

+103
-27
lines changed

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,81 @@
11
# git-dit ChangeLog
22

3+
## v0.3.0 (2017-08-13)
4+
5+
### Binary
6+
7+
Changes:
8+
* "tag" now doesn't require a local head reference to be present in advance.
9+
* "check-message" does not require a repository to be present any more.
10+
11+
Added features:
12+
* New git-config option "dit.remote-prios" controlling how remote references
13+
are chosen for various actions.
14+
* New "mirror" subcommand for mirroring remote references as local ones.
15+
* New "gc" subcommand for collecting old references.
16+
* New "check-refname" subcommand for extracting information from reference
17+
names.
18+
* The "list" subcommand now supports a small set simple filters for filtering
19+
issues based on metadata.
20+
* "get-issue-metadata" can now be used for querying a single piece of metadata.
21+
* Example server-side update hook for a dit-only policy for repositories with
22+
global unauthenticated push access.
23+
24+
Bug-fixes:
25+
* "fetch" and "push" tried fetching/pushing issues multiple times under some
26+
circumstances.
27+
* "list" and "get-issue-tree-init-hashes" reported issues multiple times under
28+
some circumstances.
29+
30+
### Library
31+
32+
Changes:
33+
* `RepositoryExt::issues_with_prefix()` and `RepositoryExt::issues()` now
34+
return a unique set of issues.
35+
* `Issue::update_head()` now takes an additional parameter controlling whether
36+
an existing head reference is replaced.
37+
* `Issue::messages_revwalk()` was replaced by new `Issue::messages()` function.
38+
* `Issue::first_parent_revwalk()` was replaced by new
39+
`Issue::first_parent_messages()` function.
40+
* Function `Issue::find_local_head()` was renamed to `Issue::local_head()`.
41+
* `Issue::local_refs()` now has an additional parameter controlling the type of
42+
references returned.
43+
* `Issue::issue_leaves()` was removed.
44+
* `message::line` module was replaces by `message::block` module, including
45+
associated types.
46+
* `LineIteratorExt::categorized_lines()` was replaced by
47+
`LineIteratorExt::line_blocks()`.
48+
* `Message::categorized_body()` was replaced by `Message::body_blocks()`.
49+
* `TrailerValue::append()` now operates in-place, on a mutable reference.
50+
51+
Added features:
52+
* New type `Messages` for iterating over messages.
53+
* New function `Issue::terminated_messages()` for preparing a `Messages`
54+
instance which terminates at the initial message.
55+
* New function `Issue::messages_from()` for creating a `Messages` instance
56+
returning messages from one specific commit to the initial message.
57+
* New module `message::accumulation` for accumulating issue metadata.
58+
* New module `message::metadata` providing specification of a small set of
59+
predefined pieces of issue metadata
60+
* New type `IssueRefType` representing the type of a reference (e.g. "head" or
61+
"leaf").
62+
* New `PairsToTrailers` iterator for assembling trailers from key-value pairs.
63+
* New `Issue::remote_refs()` and `Issue::all_refs()` functions for retrieving
64+
references.
65+
* Implemented `PartialEq`, `Eq` and `Hash` for `Issue`.
66+
* Implemented `From<Messages>` for `IssueMessagesIter`.
67+
* Implemented `AsRef<String>` for `TrailerKey`
68+
69+
Bug-fixes:
70+
* Fixed lifetimes of return values of several `Issue` functions.
71+
72+
### Documentation
73+
* Building the manpage is now controlled via the `manpage` feature rather than
74+
an environment variable.
75+
* The subcommand descriptions are now longer set as code snippets.
76+
* Various small fixes and updates.
77+
78+
379
## v0.2.1 (2017-07-16)
480

581
Changes:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git-dit"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
description = "A CLI frontend for libgitdit - a distributed issue tracker"
55
authors = ["Matthias Beyer <[email protected]>",
66
"Julian Ganz <[email protected]>"]

git-dit.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% GIT-DIT(1) User Manuals
22
% Matthias Beyer, Julian Ganz
3-
% July 16, 2017
3+
% August 13, 2017
44

55
# NAME
66

lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libgitdit"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
description = "A library for distributed issue tracking in git"
55
authors = ["Matthias Beyer <[email protected]>",
66
"Julian Ganz <[email protected]>"]

src/cli.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: git-dit
2-
version: 0.2.1
2+
version: 0.3.0
33
authors:
44
- Julian Ganz <[email protected]>
55
- Matthias Beyer <mail@beyermatthias>
@@ -23,7 +23,7 @@ subcommands:
2323
# Plumbing subcommands
2424
- check-message:
2525
about: This command checks the message in file for validity
26-
version: 0.2.1
26+
version: 0.3.0
2727
authors:
2828
- Matthias Beyer <[email protected]>
2929
- Julian Ganz <[email protected]>
@@ -36,7 +36,7 @@ subcommands:
3636

3737
- check-refname:
3838
about: Checks whether a reference is a dit reference of a known type, by name
39-
version: 0.2.1
39+
version: 0.3.0
4040
authors:
4141
- Matthias Beyer <[email protected]>
4242
- Julian Ganz <[email protected]>
@@ -70,7 +70,7 @@ subcommands:
7070
Supplying an issue hash but no parent is considered an error.
7171
Returns (prints) the hash of the new commit.
7272
73-
version: 0.2.1
73+
version: 0.3.0
7474
authors:
7575
- Matthias Beyer <[email protected]>
7676
- Julian Ganz <[email protected]>
@@ -88,7 +88,7 @@ subcommands:
8888

8989
- find-tree-init-hash:
9090
about: This command prints the init hash of the issue commit belongs to.
91-
version: 0.2.1
91+
version: 0.3.0
9292
authors:
9393
- Matthias Beyer <[email protected]>
9494
- Julian Ganz <[email protected]>
@@ -103,7 +103,7 @@ subcommands:
103103
about: >
104104
Prints a log of commit tags, from the supplied issue head to
105105
the initial issue message.
106-
version: 0.2.1
106+
version: 0.3.0
107107
authors:
108108
- Matthias Beyer <[email protected]>
109109
- Julian Ganz <[email protected]>
@@ -140,7 +140,7 @@ subcommands:
140140

141141
- get-issue-tree-init-hashes:
142142
about: Lists all SHA1 hashes of all issues (introducing commit)
143-
version: 0.2.1
143+
version: 0.3.0
144144
authors:
145145
- Matthias Beyer <[email protected]>
146146
- Julian Ganz <[email protected]>
@@ -149,7 +149,7 @@ subcommands:
149149
# Porcelain subcommands
150150
- fetch:
151151
about: Fetch issues
152-
version: 0.2.1
152+
version: 0.3.0
153153
authors:
154154
- Matthias Beyer <[email protected]>
155155
- Julian Ganz <[email protected]>
@@ -179,7 +179,7 @@ subcommands:
179179
Perform garbage collection:
180180
delete references which are no longer required
181181
182-
version: 0.2.1
182+
version: 0.3.0
183183
authors:
184184
- Matthias Beyer <[email protected]>
185185
- Julian Ganz <[email protected]>
@@ -208,7 +208,7 @@ subcommands:
208208
<hash> (<date when the issue was added, human readable>) <header line>
209209
More functionality may come and the output format may change.
210210
211-
version: 0.2.1
211+
version: 0.3.0
212212
authors:
213213
- Matthias Beyer <[email protected]>
214214
- Julian Ganz <[email protected]>
@@ -238,7 +238,7 @@ subcommands:
238238

239239
- mirror:
240240
about: Clone issue references from remotes
241-
version: 0.2.1
241+
version: 0.3.0
242242
authors:
243243
- Matthias Beyer <[email protected]>
244244
- Julian Ganz <[email protected]>
@@ -287,7 +287,7 @@ subcommands:
287287

288288
- new:
289289
about: Create a new bug report
290-
version: 0.2.1
290+
version: 0.3.0
291291
authors:
292292
- Matthias Beyer <[email protected]>
293293
- Julian Ganz <[email protected]>
@@ -343,7 +343,7 @@ subcommands:
343343
about: >
344344
Push all refs associated with issues.
345345
If no issue were supplied, all issues will be pushed.
346-
version: 0.2.1
346+
version: 0.3.0
347347
authors:
348348
- Matthias Beyer <[email protected]>
349349
- Julian Ganz <[email protected]>
@@ -360,7 +360,7 @@ subcommands:
360360

361361
- reply:
362362
about: Reply to a specific message in an issue.
363-
version: 0.2.1
363+
version: 0.3.0
364364
authors:
365365
- Matthias Beyer <[email protected]>
366366
- Julian Ganz <[email protected]>
@@ -414,7 +414,7 @@ subcommands:
414414

415415
- show:
416416
about: This uses 'git log' to print the issues.
417-
version: 0.2.1
417+
version: 0.3.0
418418
authors:
419419
- Matthias Beyer <[email protected]>
420420
- Julian Ganz <[email protected]>
@@ -480,7 +480,7 @@ subcommands:
480480
<value> part can be in quotes to permit spaces.
481481
Multiple -s are permitted, later specified values will override
482482
former. Alter tags of an issue.
483-
version: 0.2.1
483+
version: 0.3.0
484484
authors:
485485
- Matthias Beyer <[email protected]>
486486
- Julian Ganz <[email protected]>

src/logger.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// git-dit - the distributed issue tracker for git
2-
// Copyright (C) 2016 Matthias Beyer <[email protected]>
3-
// Copyright (C) 2016 Julian Ganz <[email protected]>
2+
// Copyright (C) 2016, 2017 Matthias Beyer <[email protected]>
3+
// Copyright (C) 2016, 2017 Julian Ganz <[email protected]>
44
//
55
// This program is free software; you can redistribute it and/or modify
66
// it under the terms of the GNU General Public License version 2 as

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// git-dit - the distributed issue tracker for git
2-
// Copyright (C) 2016 Matthias Beyer <[email protected]>
3-
// Copyright (C) 2016 Julian Ganz <[email protected]>
2+
// Copyright (C) 2016, 2017 Matthias Beyer <[email protected]>
3+
// Copyright (C) 2016, 2017 Julian Ganz <[email protected]>
44
//
55
// This program is free software; you can redistribute it and/or modify
66
// it under the terms of the GNU General Public License version 2 as

src/msgtree.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// git-dit - the distributed issue tracker for git
2-
// Copyright (C) 2016 Matthias Beyer <[email protected]>
3-
// Copyright (C) 2016 Julian Ganz <[email protected]>
2+
// Copyright (C) 2016, 2017 Matthias Beyer <[email protected]>
3+
// Copyright (C) 2016, 2017 Julian Ganz <[email protected]>
44
//
55
// This program is free software; you can redistribute it and/or modify
66
// it under the terms of the GNU General Public License version 2 as

src/write.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// git-dit - the distributed issue tracker for git
2-
// Copyright (C) 2016 Matthias Beyer <[email protected]>
3-
// Copyright (C) 2016 Julian Ganz <[email protected]>
2+
// Copyright (C) 2016, 2017 Matthias Beyer <[email protected]>
3+
// Copyright (C) 2016, 2017 Julian Ganz <[email protected]>
44
//
55
// This program is free software; you can redistribute it and/or modify
66
// it under the terms of the GNU General Public License version 2 as

0 commit comments

Comments
 (0)