110 Commits

Author SHA1 Message Date
Jayson Reis
c770783f17
Merge branch 'master' into master 2022-07-27 20:23:32 +02:00
Jayson Reis
22ac4dab5f chore: fix panic compose example 2022-07-27 17:04:10 +02:00
Jane Losare-Lusby
bbe5705612
Merge pull request #115 from sciguy16/version-update
Update version in setup instructions to 0.6
2022-07-26 11:05:43 -07:00
David Young
9e6280be23 Update version in setup instructions to 0.6 2022-07-26 11:57:29 +01:00
Jayson Reis
48037df311 fix: Do not panic on multiple install calls 2022-07-26 09:27:37 +02:00
Jane Losare-Lusby
ede865079d
Merge pull request #112 from yaahc/release
Release 0.6.2
2022-07-11 16:14:38 -07:00
Jane Lusby
6a9b70b44d (cargo-release) version 0.6.2 2022-07-11 16:06:14 -07:00
Jane Lusby
6ebf8453ea Update changelog for new release 2022-07-11 16:04:26 -07:00
Jane Losare-Lusby
5f8b4754be
Merge pull request #111 from yaahc/appeasement
fix clippy warnings
2022-07-11 16:02:05 -07:00
Jane Lusby
5890bab176 fix clippy warnings 2022-07-11 15:55:30 -07:00
Jane Losare-Lusby
08e216de30
Merge pull request #106 from Emilgardis/display_location_section
add config option to disable location section
2022-07-11 11:22:35 -07:00
Emil Gardström
9cbcd93490 add config option to disable location section 2022-06-11 19:27:26 +02:00
Jane Lusby
2128f074a9
Merge pull request #104 from dbanty/master
Add LICENSE files
2022-05-05 11:19:47 -07:00
Dylan Anthony
615d16ca0d
Add LICENSE files to close #90 2022-03-15 18:07:25 -06:00
Jane Lusby
801aa67004
Merge pull request #101 from yaahc/release
Release 0.6.1
2022-03-02 10:34:36 -08:00
Jane Lusby
04319d72df (cargo-release) version 0.6.1 2022-02-24 22:45:05 -08:00
Jane Lusby
c5440796fe rustfmt you bitch 2022-02-24 21:56:44 -08:00
Jane Lusby
8a8564d5bf update changelog 2022-02-24 21:09:54 -08:00
Jane Lusby
a2cbb4468e fix clippy warning 2022-02-24 21:09:21 -08:00
Jane Lusby
702f71f475
Merge pull request #100 from Hoverbear-Consulting/merge-backtrace-omitted-lines
Join backtrace omission lines
2022-02-24 17:45:44 -08:00
Ana Hobden
e9e68adc82 fmt
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-02-24 17:23:03 -08:00
Ana Hobden
10dfd8dda3 Join backtrace omission lines
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-02-24 17:10:04 -08:00
Jane Lusby
3c3641c5d6
Merge pull request #98 from yaahc/release
Prepare for 0.6 release
2022-01-12 16:47:50 -08:00
Jane Lusby
d79aab1782 (cargo-release) version 0.6.0 2022-01-12 16:31:45 -08:00
Jane Lusby
5cd0abd210 Prepare for 0.6 release 2022-01-12 16:30:28 -08:00
Jane Lusby
5624f10c50
Merge pull request #92 from asonix/asonix/update-tracing-error
Update tracing error (and tracing subscriber)
2022-01-12 16:26:47 -08:00
Jane Lusby
316efcc570 integrate the rest of the changes by asonix 2022-01-12 16:22:41 -08:00
Jane Lusby
aaa87c2a6a update the rest of the tests/data files 2022-01-12 16:20:07 -08:00
Jane Lusby
73cd61fdba fix clippy warnings 2022-01-12 16:15:54 -08:00
Jane Lusby
3df3e93fb6 integrate color-spantrace release 2022-01-12 16:09:26 -08:00
Aode (lion)
d8f8657886 Fix tests (these seem very brittle) 2021-12-26 11:49:29 -06:00
Aode (lion)
088ed536c3 Depend on proper subscriber features 2021-12-26 11:40:58 -06:00
Aode (lion)
1480982a4b Update tracing error 2021-12-26 11:23:26 -06:00
Jane Lusby
07b9f03515
Merge pull request #87 from yaahc/helpful
update references to renamed Help trait
2021-07-23 09:21:21 -07:00
Jane Lusby
fa3695bf66 update references to renamed Help trait 2021-07-23 09:17:07 -07:00
Jane Lusby
472997e9d6
Merge pull request #81 from yaahc/tracing-layer-msg
Update tracing layer message to be more intuitive
2021-04-14 14:04:14 -07:00
Jane Lusby
7009a52530 (cargo-release) version 0.5.11 2021-04-13 12:46:53 -07:00
Jane Lusby
8916972d5c Update tracing layer message to be more intuitive 2021-04-12 17:15:59 -07:00
d4h0
097ae873d6
Support for custom styles (#69)
* Add color scheme backwards compatibility test

* Rewrote test case for color schemes

* implementation

* Add missing test data

* Update src/config.rs

Co-authored-by: Jane Lusby <jlusby42@gmail.com>

* Update src/config.rs

Co-authored-by: Jane Lusby <jlusby42@gmail.com>

* Update src/config.rs

Co-authored-by: Jane Lusby <jlusby42@gmail.com>

* Implement suggestions

* bump versions and update control copy of test output

* move THEME setting into core method

* update theme install and propagation to avoid a once-cell

* disable spantrace theme-ing with feature

* fix panic theme test to include a spantrace in the panic itself

* fix inconsistent theme propagation

* disable panic test for different feature configs

* cleanup logs

* try copying control from raw github test logs

* add rust-src for test consistency

* update test outputs

* just dont bother testing source resolution

* format unknown files consistently with known ones

* test format for multiple feature combinations

* store data for alternate theme configurations

* fix dependency coloration when missing hash suffix

* update changelog

* depend on as of yet unreleased owo-colors version

* (cargo-release) version 0.5.10

Co-authored-by: d4h0 <d4h0@obyz.de>
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-12-04 10:39:02 -08:00
Jane Lusby
716621f84d
bump spantrace version to fix a panic (#76)
* bump spantrace version to fix a panic

* (cargo-release) version 0.5.9
2020-12-02 11:19:54 -08:00
Dominik Boehi
6063ec81c5
Fix broken link in README (#75)
The link to the `Section` trait wasn't working.
2020-11-27 11:53:58 -08:00
Luke Frisken
60e426e43e
#66 work in progress make print_panic_info() public (#67)
* add example of desired usage

* reimplement all of kellpossibles pr

* reorganizing to minimize diff

* update changelog for release

* (cargo-release) version 0.5.8

* (cargo-release) start next development iteration 0.5.9-alpha.0

Co-authored-by: Jane Lusby <jlusby@yaah.dev>
2020-11-23 16:33:06 -08:00
Jane Lusby
198600fa05
new minor version release (#71)
* update changelog for new release

* update gitignore so cargo release likes me again

* (cargo-release) version 0.5.7

* (cargo-release) start next development iteration 0.5.8-alpha.0

* try using matrix for feature combinations
2020-11-05 16:37:49 -08:00
Paul Horn
030dc5a547
Add feature more gates for capture-spantrace (#70)
* Add feature more gates for capture-spantrace

When only the `issue-url` features is enabled, with the default
features being disabled, the crate fails to build

```
$ cargo build --no-default-features --features issue-url
   Compiling color-eyre v0.5.7-alpha.0 (/Users/paul/dev/color-eyre)
error[E0432]: unresolved import `tracing_error`
 --> src/section/github.rs:5:5
  |
5 | use tracing_error::SpanTrace;
  |     ^^^^^^^^^^^^^ use of undeclared type or module `tracing_error`

error[E0282]: type annotations needed
  --> src/section/github.rs:28:25
   |
28 |             span_trace: None,
   |                         ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`

error: aborting due to 2 previous errors
```

This commit add feature gates for capture-spantrace to the github
issue module, so that the issue-url feature can be used standalone.

* ignore broken doctest and add new ci configs

* make the ci configs differentiable

Co-authored-by: Jane Lusby <jlusby@yaah.dev>
2020-11-05 16:24:05 -08:00
Jane Lusby
dd2103291a
Add support for track caller via new feature flag (#68)
* Add support for track caller via new feature flag

* edit changelog

* add missing cfgs

* (cargo-release) version 0.5.6

* (cargo-release) start next development iteration 0.5.7-alpha.0
2020-10-02 18:16:12 -07:00
Jane Lusby
4ddaeb2126
add support for filtering issue generation for errors (#64)
* add support for filtering issue generation for errors

* cleanup for release candidate

* fix error in doc test

* fix other errors in doctest

* now the doc test actually passes

* (cargo-release) version 0.5.5-rc.1

* (cargo-release) version 0.5.5

* (cargo-release) start next development iteration 0.5.6-alpha.0
2020-09-21 16:02:02 -07:00
Jane Lusby
9c738c3a39
Implement github issue generator (#62)
* Initial implementation of github issue generator

* document the hookbuilder methods

* fix doctest

* make issue generation feature optional

* update changelog

* (cargo-release) version 0.5.4-rc.1

* add doc cfg attr to new methods

* (cargo-release) version 0.5.4-rc.2

* supress issue sections when they'd be empty

* (cargo-release) version 0.5.4-rc.3

* (cargo-release) version 0.5.4

* (cargo-release) start next development iteration 0.5.5-alpha.0
2020-09-17 14:14:38 -07:00
Alex Chan
05809302b3
Fix a typo: indenteted ~> indented (#63) 2020-09-16 13:30:02 -07:00
Jane Lusby
d1ff3e8bd5
bump version for next release (#61)
* (cargo-release) version 0.5.3

* (cargo-release) start next development iteration 0.5.4-alpha.0

* add alpha.0 to html_root_url

* change of plan
2020-09-14 19:52:18 -07:00
Jane Lusby
74fa2c9dea
oops that didn't quite work (#60) 2020-09-14 19:15:07 -07:00