neetob 0.5.42 → 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 +4 -4
- data/Gemfile.lock +1 -1
- data/bookmarks.md +3 -1
- data/lib/neetob/version.rb +1 -1
- data/scripts/add_label_to_milestone_issues.sh +34 -3
- data/scripts/delete_unused_assets.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d441c40753315d88d983cc7078089e924f9e384679fd281b3bb5de86c9cdb9b
|
4
|
+
data.tar.gz: 4f69e4dd9acc120e69ae9e776e762c0fb7c28205a739d046c57b0493ee69d002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061a1cfd811d5df1ba1137e6d3b0df035541c9401a5addd9a3d0cc567a00a79926ca7192d66e0c4bad4f8cc7d9490d14182725ceb423badf3b7bfda5a5fcb194
|
7
|
+
data.tar.gz: 42cf1649d1e04200fa2959b64da33052b9d406a74b0f7e9d528ddb18de57bf414685289a4e42f195884ea4e93e2151b35c0d5921dd3199bd6de2966acf03770c
|
data/Gemfile.lock
CHANGED
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/
|
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),
|
data/lib/neetob/version.rb
CHANGED
@@ -1,7 +1,38 @@
|
|
1
|
-
|
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
|
-
|
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 "
|
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.
|
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
|
+
date: 2025-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|