neetob 0.5.43 → 0.5.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fd6eea13ad465c8b0d584765755d5a5bb981f49a9b9da080490d149a8b62940
4
- data.tar.gz: deaf788483b6f3b36c4e5fd6a9188e097eed073601ba99cdeaf9975e48de7e52
3
+ metadata.gz: 1d441c40753315d88d983cc7078089e924f9e384679fd281b3bb5de86c9cdb9b
4
+ data.tar.gz: 4f69e4dd9acc120e69ae9e776e762c0fb7c28205a739d046c57b0493ee69d002
5
5
  SHA512:
6
- metadata.gz: edf88aaf5b90749f4e29df4dc9edfd22fc53f53d8870bb94299d0b8af9eaa274514d407f8e5a2fc411a0378c882a14bc8216d9fc45a0a232a6d50f3ccdca56f3
7
- data.tar.gz: 71d5324fe6f91048f077e6164d5ee6574147516abfd1ed5e0f0e1ae39c23726483db2961686df6fcc94876a535fdeef757f692e017281f8ff8846072ca6989d7
6
+ metadata.gz: 061a1cfd811d5df1ba1137e6d3b0df035541c9401a5addd9a3d0cc567a00a79926ca7192d66e0c4bad4f8cc7d9490d14182725ceb423badf3b7bfda5a5fcb194
7
+ data.tar.gz: 42cf1649d1e04200fa2959b64da33052b9d406a74b0f7e9d528ddb18de57bf414685289a4e42f195884ea4e93e2151b35c0d5921dd3199bd6de2966acf03770c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.43)
4
+ neetob (0.5.44)
5
5
  actionview
6
6
  activesupport
7
7
  brakeman (~> 5.0)
data/bookmarks.md CHANGED
@@ -3,6 +3,8 @@
3
3
 
4
4
  [Bugs](https://github.com/search?q=org%3Abigbinary+state%3Aopen+is%3Aissue+sort%3Acreated-asc+label%3Abug&type=issues)
5
5
 
6
+ [Features](https://github.com/search?q=org%3Abigbinary+state%3Aopen+is%3Aissue+sort%3Acreated-asc+label%3Afeature&type=issues)
7
+
6
8
  [Honeybadger staging issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+sort%3Acreated-asc+author%3Aapp%2Fhoneybadger+label%3Astaging+-repo%3Abigbinary%2Fintellectio)
7
9
 
8
10
  [All Honeybadger issues](https://github.com/issues?page=1&q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+sort%3Acreated-asc+author%3Aapp%2Fhoneybadger+-repo%3Abigbinary%2Fintellectio)
@@ -89,7 +91,7 @@ example: [All nano issues created before the 20th Mar 2024](https://github.com/i
89
91
  - [Chirag's Board](https://github.com/orgs/bigbinary/projects/52/views/3):
90
92
  [RN work](https://github.com/orgs/bigbinary/projects/52/views/6),
91
93
  [neeto-form-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-form-web%22),
92
- [neetoRecord](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-record-web%22%2C%22bigbinary%2Fneeto-record-chrome-extension%22+),
94
+ [neetoRecord](https://github.com/orgs/bigbinary/projects/52/views/18),
93
95
  [neeto-crm-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-crm-web%22),
94
96
  [neeto-engineering-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-engineering-web%22),
95
97
  [neeto-testify-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-testify-web%22),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.43"
4
+ VERSION = "0.5.44"
5
5
  end
@@ -1,7 +1,38 @@
1
- gh project item-list <your-board-number> --format json --owner bigbinary --limit 1000 > issues.json
1
+ # **Description**
2
+ # At the beginning of a milestone, the TLs would have created all the issues for the milestone and would have added them to their
3
+ # project boards with status for the milestone (eg: The issues for the M31 milestone would be visible under the status "M31(Feb24-Mar09)").
4
+ # Apart from this work we additionally need to add a tag to the issues in the milestone with the milestone number so that the milestone progress
5
+ # can be tracked using NeetoGit(Link: https://neeto-engineering.neetogit.com/admin/milestones). This script can help in simplifying this process.
6
+ # It will iterate through all the issues in a milestone under a particular status and add the specified label to those issues.
7
+ #
8
+ # **Sample usage**
9
+ # ./add_label_to_milestone_issues.sh -b 96 -t "M31(Feb24-Mar09)" -l m31
10
+ #
11
+ # The above command will go through all the issues in the board https://github.com/orgs/bigbinary/projects/96 under the status "M31(Feb24-Mar09)"
12
+ # and add the label "m31" to it.
13
+ # https://github.com/user-attachments/assets/348aa092-4fcb-40de-a9e6-2cd6df418aff
14
+ #
15
+ # **Flags**
16
+ # -b: Your board number (Example for the board number of Neeto Automation board is 96)
17
+ # -t: The milestone status title in the board (Eg: "M31(Feb24-Mar09)")
18
+ # -l: The label to be added to the issues to the milestone (Eg: m31)
2
19
 
3
- jq -r '.items[] | select(.status == "<milestone-status-title>") | .content.url' issues.json > issue_urls.txt
20
+ while getopts b:t:l: flag
21
+ do
22
+ case "${flag}" in
23
+ b) board_number=${OPTARG};;
24
+ t) milestone_status_title=${OPTARG};;
25
+ l) label=${OPTARG};;
26
+ esac
27
+ done
28
+ echo "Board number: $board_number";
29
+ echo "Milestone status title: $milestone_status_title";
30
+ echo "Label: $label";
31
+
32
+ gh project item-list $board_number --format json --owner bigbinary --limit 1000 > issues.json
33
+
34
+ jq -r ".items[] | select(.status == \"$milestone_status_title\") | .content.url" issues.json > issue_urls.txt
4
35
 
5
36
  while read issue; do
6
- gh issue edit "$issue" --add-label "<label-name>";
37
+ gh issue edit "$issue" --add-label "$label";
7
38
  done < issue_urls.txt
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neetob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.43
4
+ version: 0.5.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-11 00:00:00.000000000 Z
11
+ date: 2025-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor