linear-cli 0.9.9 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -1
- data/Readme.adoc +0 -1
- data/lib/linear/cli/version.rb +1 -1
- data/lib/linear/cli/what_for.rb +1 -1
- data/linear-cli.gemspec +1 -1
- data/oci/Containerfile +15 -7
- data/oci/build_image +2 -1
- metadata +2 -51
- data/changelog/0.5.2/added_new_changelog_management_system_changelog_rb.yml +0 -4
- data/changelog/0.5.2/tag.yml +0 -1
- data/changelog/0.5.3/added_support_for_multiline_descriptions_without_failing.yml +0 -4
- data/changelog/0.5.3/changed_default_branch_to_use_upstream_default_branch_name.yml +0 -4
- data/changelog/0.5.3/tag.yml +0 -1
- data/changelog/0.5.4/tag.yml +0 -1
- data/changelog/0.5.5/added_lclose_alias_and_issue_update_subcommand.yml +0 -4
- data/changelog/0.5.5/tag.yml +0 -1
- data/changelog/0.6.0/tag.yml +0 -1
- data/changelog/0.6.1/added_lcreate_alias.yml +0 -4
- data/changelog/0.6.1/tag.yml +0 -1
- data/changelog/0.7.0/added_better_help_when_using_the_lc_bin_and_aliases.yml +0 -4
- data/changelog/0.7.0/tag.yml +0 -1
- data/changelog/0.7.1/fixed_extra_output_when_commenting_on_an_inssue.yml +0 -4
- data/changelog/0.7.1/tag.yml +0 -1
- data/changelog/0.7.2/fixed_problem_when_trying_to_develop_an_unassigned_issue.yml +0 -4
- data/changelog/0.7.2/tag.yml +0 -1
- data/changelog/0.7.3/fixed_problem_with_issue_relationship_to_user.yml +0 -4
- data/changelog/0.7.3/tag.yml +0 -1
- data/changelog/0.7.5/fixed_problem_when_choosing_from_multiple_completed_states.yml +0 -4
- data/changelog/0.7.5/tag.yml +0 -1
- data/changelog/0.7.7/added_ability_to_attach_project_to_command.yml +0 -4
- data/changelog/0.7.7/added_issue_pr_command.yml +0 -4
- data/changelog/0.7.7/added_lcomment_alias_to_add_comments_to_issues.yml +0 -4
- data/changelog/0.7.7/tag.yml +0 -1
- data/changelog/0.8.0/added_containerfile_to_build_oci_image.yml +0 -4
- data/changelog/0.8.0/tag.yml +0 -1
- data/changelog/0.8.1/fixed_problem_with_setting_verbosity.yml +0 -4
- data/changelog/0.8.1/tag.yml +0 -1
- data/changelog/0.8.4/added_version_command.yml +0 -4
- data/changelog/0.8.4/tag.yml +0 -1
- data/changelog/0.8.6/fixed_completion_for_lc_alias.yml +0 -4
- data/changelog/0.8.6/tag.yml +0 -1
- data/changelog/0.9.0/added_version_ready_for_0_9_0_now_test_test_test_test_before_1_0.yml +0 -4
- data/changelog/0.9.0/tag.yml +0 -1
- data/changelog/0.9.1/fixed_wrapper_to_be_more_normal_about_help_when_listing_leaf_commands.yml +0 -4
- data/changelog/0.9.1/tag.yml +0 -1
- data/changelog/0.9.3/fixed_probblem_with_tempfile_for_editing_operations.yml +0 -4
- data/changelog/0.9.3/tag.yml +0 -1
- data/changelog/0.9.4/fixed_issue_with_canceled_issues_showing_up_in_lcls.yml +0 -4
- data/changelog/0.9.4/tag.yml +0 -1
- data/changelog/0.9.5/added_build_image_to_build_push_container_image.yml +0 -4
- data/changelog/0.9.5/added_user_information_to_comment_list_in_issue_view.yml +0 -4
- data/changelog/0.9.5/tag.yml +0 -1
- data/changelog/0.9.7/added_the_plc_wrapper_for_container_running_and_ssh_for_git_ops_in_the_container.yml +0 -4
- data/changelog/0.9.7/tag.yml +0 -1
- data/changelog/0.9.8/added_the_console_subcommand_to_get_a_pry_console.yml +0 -4
- data/changelog/0.9.8/tag.yml +0 -1
- data/changelog/unreleased/.gitkeep +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbe2c93fb352c00fa0d6f4e70eefe97b8c7b186286bc2b697f0bec7db47733be
|
4
|
+
data.tar.gz: a1b8af70868fae5dbc79a687d94cdd52cd7d1443a258bdf536ba4fb4d5dfae3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10353e69600a732adb0add519feaf75d2682a4a0558486f383b4515d7d7a3fe20f4c6042666f4836f03efe38c49da9efd8ea127545d3f6799a63d4bfeda50a01
|
7
|
+
data.tar.gz: 351134bcf762d2787d86a8520147f55e0bafec99094f993e32643dd1b0cf467f7dc737f6ffa2af7b93b1aead08ec7fc56c89f2f5d901546f1d525e6a1831658f
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.9.11] - 2024-02-20
|
6
|
+
### Changed
|
7
|
+
- Reduced the container image size by 60% (@bougyman)
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
- Fixed sqlite problem with ruby 3.3 (https://github.com/sparklemotion/sqlite3-ruby/issues/434) by pinning to alpine 3.18 (@bougyman)
|
11
|
+
|
12
|
+
## [0.9.10] - 2024-02-08
|
13
|
+
### Fixed
|
14
|
+
- Fixed rubocop offenses (@bougyman)
|
15
|
+
|
5
16
|
## [0.9.8] - 2024-02-08
|
6
17
|
### Added
|
7
18
|
- Added the console subcommand to get a pry console (@bougyman)
|
@@ -96,7 +107,9 @@
|
|
96
107
|
### Added
|
97
108
|
- Added new changelog management system (changelog-rb) (@bougyman)
|
98
109
|
|
99
|
-
[Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.
|
110
|
+
[Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.11...HEAD
|
111
|
+
[0.9.11]: https://github.com/rubyists/linear-cli/compare/v0.9.10...0.9.11
|
112
|
+
[0.9.10]: https://github.com/rubyists/linear-cli/compare/0.9.8...v0.9.10
|
100
113
|
[0.9.8]: https://github.com/rubyists/linear-cli/compare/v0.9.7...0.9.8
|
101
114
|
[0.9.7]: https://github.com/rubyists/linear-cli/compare/v0.9.5...v0.9.7
|
102
115
|
[0.9.5]: https://github.com/rubyists/linear-cli/compare/v0.9.4...v0.9.5
|
data/Readme.adoc
CHANGED
@@ -206,5 +206,4 @@ Some command aliases are available to make things easier to type.
|
|
206
206
|
$ lcls
|
207
207
|
$ lcreate --description "This is a new issue" --labels Bug,Feature --team CRY
|
208
208
|
$ lclose --reason "This issue sucks" CRY-1234 CRY-456
|
209
|
-
$ lcancel --reason "These should never have been here" --trash CRY-1234 CRY-456
|
210
209
|
----
|
data/lib/linear/cli/version.rb
CHANGED
data/lib/linear/cli/what_for.rb
CHANGED
@@ -4,7 +4,7 @@ module Rubyists
|
|
4
4
|
module Linear
|
5
5
|
module CLI
|
6
6
|
# Module for the _for methods
|
7
|
-
module WhatFor
|
7
|
+
module WhatFor # rubocop:disable Metrics/ModuleLength
|
8
8
|
# TODO: Make this configurable
|
9
9
|
ALLOWED_PR_TYPES = 'bug|fix|sec(urity)|feat(ure)|chore|refactor|test|docs|style|ci|perf'
|
10
10
|
|
data/linear-cli.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.files = Dir.chdir(__dir__) do
|
26
26
|
`git ls-files -z`.split("\x0").reject do |f|
|
27
27
|
(File.expand_path(f) == __FILE__) ||
|
28
|
-
f.start_with?(*%w[pkg/ bin/ test/ spec/ features/ .git .github appveyor .rspec .rubocop cucumber.yml Gemfile])
|
28
|
+
f.start_with?(*%w[changelog/ pkg/ bin/ test/ spec/ features/ .git .github appveyor .rspec .rubocop cucumber.yml Gemfile])
|
29
29
|
end
|
30
30
|
end
|
31
31
|
spec.bindir = 'exe'
|
data/oci/Containerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
FROM docker.io/ruby:3.3.0-alpine3.
|
1
|
+
FROM docker.io/ruby:3.3.0-alpine3.18 AS build-env
|
2
2
|
|
3
3
|
|
4
4
|
# Setting env up
|
5
5
|
ARG APP_ROOT=/app
|
6
6
|
ARG APP_VERSION
|
7
|
+
ARG BUNDLE_JOBS=8
|
7
8
|
ENV LANG C.UTF-8
|
8
9
|
ENV BUNDLE_SILENCE_ROOT_WARNING=1
|
9
10
|
|
@@ -13,17 +14,24 @@ RUN apk --update add bash ruby-dev build-base git sqlite-dev
|
|
13
14
|
WORKDIR $APP_ROOT
|
14
15
|
|
15
16
|
COPY . $APP_ROOT
|
16
|
-
RUN gem i semantic_logger &&
|
17
|
+
RUN gem i semantic_logger && \
|
18
|
+
bundle config set build.nokogiri --use-system-libraries && \
|
19
|
+
bundle config set without 'test assets' && \
|
20
|
+
bundle install && \
|
21
|
+
bundle exec rake build
|
17
22
|
|
18
23
|
############### Build step done ###############
|
19
|
-
FROM docker.io/ruby:3.3.0-alpine3.
|
20
|
-
ARG PACKAGES="bash sqlite
|
24
|
+
FROM docker.io/ruby:3.3.0-alpine3.18
|
25
|
+
ARG PACKAGES="bash sqlite github-cli openssh"
|
21
26
|
ARG APP_VERSION
|
27
|
+
ARG APP_ROOT=/app
|
22
28
|
|
23
29
|
# install packages
|
24
30
|
RUN apk --update --no-cache add $PACKAGES
|
25
|
-
COPY --from=build-env /app
|
26
|
-
|
31
|
+
COPY --from=build-env /app /app
|
32
|
+
COPY --from=build-env /usr/local/bundle /usr/local/bundle
|
33
|
+
WORKDIR $APP_ROOT
|
34
|
+
RUN bundle exec gem i /app/pkg/linear-cli-${APP_VERSION}.gem
|
27
35
|
|
28
|
-
CMD ["
|
36
|
+
CMD ["lc"]
|
29
37
|
|
data/oci/build_image
CHANGED
@@ -106,7 +106,8 @@ else
|
|
106
106
|
die 6 "No container runtime found"
|
107
107
|
fi
|
108
108
|
|
109
|
-
|
109
|
+
app_version=$(bundle exec lc version)
|
110
|
+
$runtime build --build-arg "APP_VERSION=${app_version}" -t "$IMAGE_NAME:$tag" -f "$containerfile" "$BUILD_CONTEXT" || die 7 "Failed to build image"
|
110
111
|
|
111
112
|
set -x
|
112
113
|
[ $push -eq 1 ] || exit 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linear-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tj (bougyman) Vanderpoel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|
@@ -209,55 +209,6 @@ files:
|
|
209
209
|
- LICENSE.txt
|
210
210
|
- Rakefile
|
211
211
|
- Readme.adoc
|
212
|
-
- changelog/0.5.2/added_new_changelog_management_system_changelog_rb.yml
|
213
|
-
- changelog/0.5.2/tag.yml
|
214
|
-
- changelog/0.5.3/added_support_for_multiline_descriptions_without_failing.yml
|
215
|
-
- changelog/0.5.3/changed_default_branch_to_use_upstream_default_branch_name.yml
|
216
|
-
- changelog/0.5.3/tag.yml
|
217
|
-
- changelog/0.5.4/tag.yml
|
218
|
-
- changelog/0.5.5/added_lclose_alias_and_issue_update_subcommand.yml
|
219
|
-
- changelog/0.5.5/tag.yml
|
220
|
-
- changelog/0.6.0/tag.yml
|
221
|
-
- changelog/0.6.1/added_lcreate_alias.yml
|
222
|
-
- changelog/0.6.1/tag.yml
|
223
|
-
- changelog/0.7.0/added_better_help_when_using_the_lc_bin_and_aliases.yml
|
224
|
-
- changelog/0.7.0/tag.yml
|
225
|
-
- changelog/0.7.1/fixed_extra_output_when_commenting_on_an_inssue.yml
|
226
|
-
- changelog/0.7.1/tag.yml
|
227
|
-
- changelog/0.7.2/fixed_problem_when_trying_to_develop_an_unassigned_issue.yml
|
228
|
-
- changelog/0.7.2/tag.yml
|
229
|
-
- changelog/0.7.3/fixed_problem_with_issue_relationship_to_user.yml
|
230
|
-
- changelog/0.7.3/tag.yml
|
231
|
-
- changelog/0.7.5/fixed_problem_when_choosing_from_multiple_completed_states.yml
|
232
|
-
- changelog/0.7.5/tag.yml
|
233
|
-
- changelog/0.7.7/added_ability_to_attach_project_to_command.yml
|
234
|
-
- changelog/0.7.7/added_issue_pr_command.yml
|
235
|
-
- changelog/0.7.7/added_lcomment_alias_to_add_comments_to_issues.yml
|
236
|
-
- changelog/0.7.7/tag.yml
|
237
|
-
- changelog/0.8.0/added_containerfile_to_build_oci_image.yml
|
238
|
-
- changelog/0.8.0/tag.yml
|
239
|
-
- changelog/0.8.1/fixed_problem_with_setting_verbosity.yml
|
240
|
-
- changelog/0.8.1/tag.yml
|
241
|
-
- changelog/0.8.4/added_version_command.yml
|
242
|
-
- changelog/0.8.4/tag.yml
|
243
|
-
- changelog/0.8.6/fixed_completion_for_lc_alias.yml
|
244
|
-
- changelog/0.8.6/tag.yml
|
245
|
-
- changelog/0.9.0/added_version_ready_for_0_9_0_now_test_test_test_test_before_1_0.yml
|
246
|
-
- changelog/0.9.0/tag.yml
|
247
|
-
- changelog/0.9.1/fixed_wrapper_to_be_more_normal_about_help_when_listing_leaf_commands.yml
|
248
|
-
- changelog/0.9.1/tag.yml
|
249
|
-
- changelog/0.9.3/fixed_probblem_with_tempfile_for_editing_operations.yml
|
250
|
-
- changelog/0.9.3/tag.yml
|
251
|
-
- changelog/0.9.4/fixed_issue_with_canceled_issues_showing_up_in_lcls.yml
|
252
|
-
- changelog/0.9.4/tag.yml
|
253
|
-
- changelog/0.9.5/added_build_image_to_build_push_container_image.yml
|
254
|
-
- changelog/0.9.5/added_user_information_to_comment_list_in_issue_view.yml
|
255
|
-
- changelog/0.9.5/tag.yml
|
256
|
-
- changelog/0.9.7/added_the_plc_wrapper_for_container_running_and_ssh_for_git_ops_in_the_container.yml
|
257
|
-
- changelog/0.9.7/tag.yml
|
258
|
-
- changelog/0.9.8/added_the_console_subcommand_to_get_a_pry_console.yml
|
259
|
-
- changelog/0.9.8/tag.yml
|
260
|
-
- changelog/unreleased/.gitkeep
|
261
212
|
- cinemas/listings.cinema
|
262
213
|
- cinemas/listings.cinema.gif
|
263
214
|
- exe/lc
|
data/changelog/0.5.2/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-03
|
data/changelog/0.5.3/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-03
|
data/changelog/0.5.4/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.5.5/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.6.0/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.6.1/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.7.0/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.7.1/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.7.2/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.7.3/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-04
|
data/changelog/0.7.5/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-05
|
data/changelog/0.7.7/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.8.0/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.8.1/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.8.4/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.8.6/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.9.0/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.9.1/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-06
|
data/changelog/0.9.3/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-07
|
data/changelog/0.9.4/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-07
|
data/changelog/0.9.5/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-08
|
data/changelog/0.9.7/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-08
|
data/changelog/0.9.8/tag.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
date: 2024-02-08
|
File without changes
|