tractive 1.0.17 → 1.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ead46f0c5389125439e3e887de0c60205625d751c86737ba4477e9967c4ae46e
4
- data.tar.gz: d93dd5f42054afe56f91cb9fbbb7d1dac9a0fcf42bca4307ab18097135809758
3
+ metadata.gz: e08becfcae314c82bdc793b7eb6bc2f7b52f9a7be040b7141da825753a9f1af2
4
+ data.tar.gz: 51385bdf7fcf7b12b110c852b9d0b9dc277240abf0b8c2f94b68b77db2839c32
5
5
  SHA512:
6
- metadata.gz: e385bd618aa607da18e7fddb41c4ecedc5a91cf981332bc825a951c1267555f8c351ee83ba3481411e32fc809a0771b52248a3f4971ed6e281d23e477362153b
7
- data.tar.gz: d3fcce3c20a4f5c004ed51d0548eb9f1b60f3bc70b78f8614fc02aa7fde2a47d522ec0e6afa410f7b6b4f02d6e4c73545167c44e53dc355bf4d27225cc8c2fc7
6
+ metadata.gz: ad89e67997dd07cb3b6d65c5baca788033991122d8a10a73a64b09df79695ed8e2488b033dfaaa5fdd07d4a65c4ee5b4230121f3f7f094c8286bce352bcd6118
7
+ data.tar.gz: 04f60f8190dbc644367c3095f28e4f7fddba04dfa5140a820dfbced58430fb3b1df1bb9c72dd10dadba6e4f66e1cfe9a2ea57f647bbf982452643824e87622f8
data/README.adoc CHANGED
@@ -506,6 +506,8 @@ milestones:
506
506
  ==== Attachments migration configuration
507
507
  `ticket | wiki:`:: specifies the options for the tickets or wikis
508
508
 
509
+ `delete_mocked:`::: Whether to delete mocked tickets after migration or not
510
+
509
511
  `attachments:`::: specifies method of obtaining attachments from Trac.
510
512
 
511
513
  `url:`:::: URL to obtain Trac attachments from
@@ -517,9 +519,12 @@ milestones:
517
519
  `export_script:`:::: output of a script that utilizes `trac-admin` to download
518
520
  all attachments from Trac.
519
521
 
522
+ NOTE: To delete the issues, an organization owner must enable deleting an issue for the organization's repositories, and you must have admin or owner permissions in the repository. For more information, see "https://docs.github.com/en/issues/tracking-your-work-with-issues/deleting-an-issue[deleting an issue]".
523
+
520
524
  [source,yaml]
521
525
  ----
522
526
  ticket:
527
+ delete_mocked: true
523
528
  attachments:
524
529
  url: https://abc.com/raw-attachment/ticket
525
530
  hashed: true
@@ -22,7 +22,7 @@ module Http
22
22
  minutes = retry_after / 60
23
23
  seconds = retry_after % 60
24
24
 
25
- print "\rRate Limit Exceeded, Will retry in #{minutes} min #{seconds} sec"
25
+ $logger.info "Rate Limit Exceeded, Will retry in #{minutes} min #{seconds} sec"
26
26
  sleep(1)
27
27
 
28
28
  retry_after = e.http_headers[:x_ratelimit_reset].to_i - Time.now.to_i
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tractive
4
- VERSION = "1.0.17"
4
+ VERSION = "1.0.18"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tractive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-24 00:00:00.000000000 Z
11
+ date: 2022-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql