Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release DPL-977, DPL-1043 & DPL-1059 #1590

Merged
merged 76 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
ec79eec
Update axios to version 1.6.1
depfu[bot] Nov 10, 2023
9ad6909
wip: attempt to combine multiple code coverage files
StephenHulme Dec 14, 2023
10996e2
build: set coverage file locations
StephenHulme Dec 14, 2023
bc0e535
build: rename github test actions
StephenHulme Dec 15, 2023
f2cdc35
wip: add coverage file caching and retrieval
StephenHulme Dec 15, 2023
c2af99b
Merge branch 'develop' into sh51/combine-coverage
StephenHulme Dec 18, 2023
ab42e13
wip: debug
StephenHulme Dec 18, 2023
2c8c6b3
separated out targeted nanoseq customer file handling and made the re…
andrewsparkes Jan 11, 2024
392feea
Merge branch 'dpl-975c-t-nanoseq-limber-poly-metadata-via-api-v2' int…
andrewsparkes Jan 12, 2024
bc7a94a
updated fields array and removed unneeded comments
andrewsparkes Jan 16, 2024
a716af1
added labware creator specific for targeted nanoseq
andrewsparkes Jan 16, 2024
44e7e9b
fix child plate creation in test (incorrect aliquot and request place…
andrewsparkes Jan 16, 2024
54182e6
added check for metadata creation method calls
andrewsparkes Jan 16, 2024
6355a74
Merge branch 'develop' into dpl-976-modify-customer-file-handling
andrewsparkes Jan 19, 2024
676f1b9
updated docs
andrewsparkes Jan 19, 2024
638bbd3
build: add compile test workflow
StephenHulme Jan 19, 2024
840cec1
fix test adding extra metadata pairs
andrewsparkes Jan 19, 2024
4497d45
fix: change workflow name
StephenHulme Jan 19, 2024
02ebefb
fix: hey look, a shift key!
StephenHulme Jan 19, 2024
63942c7
fix: spelling...
StephenHulme Jan 19, 2024
da901b4
Update core-js to version 3.35.1
depfu[bot] Jan 22, 2024
9fab958
removed comments
andrewsparkes Jan 22, 2024
f771d48
Merge branch 'develop' into dpl-976-modify-customer-file-handling
andrewsparkes Jan 22, 2024
ebe0dfd
created merged file to replace existing export file for targeted nano…
andrewsparkes Jan 24, 2024
85937a1
fix includes in test to match code
andrewsparkes Jan 24, 2024
e81af5d
Update rspec-rails to version 6.1.1
depfu[bot] Jan 26, 2024
220278e
refactored to dry out code
andrewsparkes Jan 29, 2024
bff7559
Merge branch 'dpl-976-modify-customer-file-handling' into dpl-977-upd…
andrewsparkes Jan 29, 2024
98c42c0
corrected export file sort order to by column
andrewsparkes Jan 29, 2024
102356d
Create a 'plate_a' label template and use it in the purpose config fo…
KatyTaylor Jan 29, 2024
dd97522
renamed mmodule
andrewsparkes Jan 29, 2024
d440b83
changes after code review
andrewsparkes Feb 2, 2024
97754d6
merged with develop and fix conflict in docs
andrewsparkes Feb 5, 2024
0253167
Merge pull request #1567 from sanger/DPL-1043-Change-label-type-for-L…
KatyTaylor Feb 5, 2024
c17ff01
Merge pull request #1565 from sanger/depfu/update/rspec-rails-6.1.1
yoldas Feb 5, 2024
d08cc42
Merge pull request #1556 from sanger/depfu/update/yarn/core-js-3.35.1
yoldas Feb 5, 2024
c95b061
Update nokogiri to version 1.16.2
depfu[bot] Feb 5, 2024
02c461b
Refactor label template config and processing of that config
KatyTaylor Feb 6, 2024
b70f314
rubocop
KatyTaylor Feb 6, 2024
4b64d78
Add comment to explain that a tube using a plate printer is intentional
KatyTaylor Feb 6, 2024
825abcc
Add some documentation for something that I had to look up
KatyTaylor Feb 6, 2024
3cb4bbd
Changes in auto-generated files from running rake config:generate
KatyTaylor Feb 6, 2024
da7b7f9
Pulled develop in and resolved merge conflicts in auto-generated file…
KatyTaylor Feb 6, 2024
8ca3eeb
Add cell counting functionality onto the LRC PBMC Defrost PBS plate
KatyTaylor Feb 6, 2024
a50587b
Refactored PcrCyclesBinnedPlatePresenter into subclasses to allow bot…
andrewsparkes Feb 10, 2024
da5a117
Updated pipeline filters for scRNA Donor Pooling and cDNA Prep
yoldas Feb 12, 2024
12e5cb1
Merge pull request #1578 from sanger/dpl-913-submit-banked-pbmc-tubes…
yoldas Feb 12, 2024
a7830b7
Merge pull request #1574 from sanger/DPL-915-Count-thawed-cells
KatyTaylor Feb 12, 2024
1598b6a
change naming of keys for default settings in label_templates.yml
KatyTaylor Feb 12, 2024
2bd867b
rubocop
KatyTaylor Feb 12, 2024
4f33667
Merge pull request #1573 from sanger/DPL-1043-Change-label-type-for-L…
KatyTaylor Feb 12, 2024
3aa96b3
fix: remove unnecessary scrollbars on page zoom
StephenHulme Feb 12, 2024
0cce87d
fix: centre text and show over-flow when it happens
StephenHulme Feb 12, 2024
54e7450
Merge pull request #1572 from sanger/depfu/update/nokogiri-1.16.2
yoldas Feb 12, 2024
e8ae98d
Update all Bundler dependencies (2024-02-12)
depfu[bot] Feb 12, 2024
a08fd95
Merge pull request #1557 from sanger/depfu/batch_all/2024-01-22
yoldas Feb 12, 2024
38d2bc8
build: upgrade to axios 0.28.0
StephenHulme Jan 16, 2024
e161699
Merge pull request #1458 from sanger/depfu/update/yarn/axios-1.6.1
StephenHulme Feb 13, 2024
82babf8
Merge pull request #1552 from sanger/sh51/add-compile-test-workflow
StephenHulme Feb 13, 2024
d23561c
Update LICENSE
dasunpubudumal Feb 13, 2024
69c444c
refactor: replace CodeClimate with CodeCov
StephenHulme Feb 13, 2024
25be93b
fix: repair missing token error
StephenHulme Feb 13, 2024
166d5af
fix: prevent duplicate file uploads
StephenHulme Feb 14, 2024
b463b8e
fix: remove old comments
StephenHulme Feb 14, 2024
8e3dd88
fix: restore code climate upload
StephenHulme Feb 14, 2024
ffdb01b
Merge branch 'develop' into sh51/combine-coverage
StephenHulme Feb 14, 2024
1107483
Merge pull request #1581 from sanger/update-licence
dasunpubudumal Feb 15, 2024
c07846c
Merge pull request #1579 from sanger/dpl-1059-fix-scrolling
StephenHulme Feb 15, 2024
29431cc
Merge pull request #1520 from sanger/sh51/combine-coverage
StephenHulme Feb 16, 2024
f0d1119
removed pcr_cycles column from customer file download after uat feedback
andrewsparkes Feb 16, 2024
92358f6
Merge branch 'develop' into dpl-977-update-tnano-export-file
andrewsparkes Feb 16, 2024
0e7954d
Merge pull request #1562 from sanger/dpl-977-update-tnano-export-file
yoldas Feb 20, 2024
45d8027
build: exclude Vue SFC from coverage stats until #1585 is addressed
StephenHulme Feb 21, 2024
c9cb872
style: lint
StephenHulme Feb 21, 2024
4a9a421
Merge pull request #1589 from sanger/sh51-filter-out-vue-coverage
StephenHulme Feb 21, 2024
87f4aa7
bump release version
KatyTaylor Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/compile_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test compilation

on:
- push
- pull_request

env:
BUNDLE_WITHOUT: 'test lint'

jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: nelonoel/[email protected]

- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

# Actually run our build
- name: Create Build
run: ./compile-build

# Create a release tag based on the branch name and .release-version file
- name: Set release tag
# https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
# On the develop branch this might create RELEASE_VERSION=2.4.6-987654321-develop
# On the master branch this would then only create RELEASE_VERSION=2.4.6
run: echo "RELEASE_VERSION=$(printf -- '%s%s\n' $(cat .release-version) $([ ${BRANCH_NAME} = "develop" ] && printf -- '-%s-develop' ${GITHUB_RUN_ID} || echo ""))" >> $GITHUB_ENV

# Do not actually save build or create release itself
25 changes: 0 additions & 25 deletions .github/workflows/js_test.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/test_js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Javascript testing

on:
- push
- pull_request

jobs:
js_test:
runs-on: ubuntu-latest
env:
TZ: Europe/London

steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Node Information
run: node --version
- name: Install
run: yarn install
- name: Run yarn test
run: yarn test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: javascript,${{ github.event_name }}
fail_ci_if_error: true
disable_search: true
files: ${{ github.workspace }}/app/javascript/coverage/lcov.info
# Note: see codecov.yml for more additional settings
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
# example if you need more control over bundler.
- name: Additional setup
run: bin/setup
- name: Test & publish code coverage
- name: Run rspec
run: bundle exec rspec
- name: Publish code coverage to Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID || '1735fdb62543d410c5ed4469e402641a7986f1ebf62ff7398f3ab8ccc98069ef' }}
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
coverageCommand: bundle exec rspec
token: ${{ secrets.CODECOV_TOKEN }}
flags: ruby,${{ github.event_name }}
fail_ci_if_error: true
disable_search: true
files: ${{ github.workspace }}/lcov.info
2 changes: 1 addition & 1 deletion .release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.45.0
3.46.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ group :test do
gem 'launchy' # Used by capybara for eg. save_and_open_screenshot
gem 'rails-controller-testing'
gem 'rspec-json_expectations'
gem 'rspec-rails', '6.1.0'
gem 'rspec-rails', '6.1.1'
gem 'selenium-webdriver', '~> 4.1', require: false
gem 'simplecov', require: false
gem 'simplecov-lcov', require: false
Expand Down
64 changes: 33 additions & 31 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,19 @@ GEM
base64 (0.2.0)
bigdecimal (3.1.6)
bindex (0.8.1)
bootsnap (1.17.1)
bootsnap (1.18.3)
msgpack (~> 1.2)
bootstrap (4.6.2)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.16.1, < 2)
sassc-rails (>= 2.0.0)
builder (3.2.4)
byebug (11.1.3)
capybara (3.39.2)
capybara (3.40.0)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
nokogiri (~> 1.11)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
Expand All @@ -133,11 +133,12 @@ GEM
coderay (1.1.3)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
crack (0.4.5)
crack (1.0.0)
bigdecimal
rexml
crass (1.0.6)
date (3.3.4)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
docile (1.4.0)
drb (2.2.0)
ruby2_keywords
Expand All @@ -146,7 +147,7 @@ GEM
actionmailer (>= 5.2, < 8)
activesupport (>= 5.2, < 8)
execjs (2.9.1)
factory_bot (6.4.5)
factory_bot (6.4.6)
activesupport (>= 5.0.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
Expand Down Expand Up @@ -199,7 +200,7 @@ GEM
activesupport (>= 3.0)
nokogiri (>= 1.6)
io-console (0.7.2)
irb (1.11.1)
irb (1.11.2)
rdoc
reline (>= 0.4.2)
jquery-rails (4.6.0)
Expand Down Expand Up @@ -229,13 +230,13 @@ GEM
method_source (1.0.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.21.2)
minitest (5.22.2)
msgpack (1.7.2)
multi_json (1.15.0)
multipart-post (2.3.0)
multipart-post (2.4.0)
mutex_m (0.2.0)
nenv (0.3.0)
net-imap (0.4.9.1)
net-imap (0.4.10)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -245,7 +246,7 @@ GEM
net-smtp (0.4.0.1)
net-protocol
nio4r (2.7.0)
nokogiri (1.16.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
notiffany (0.1.3)
Expand All @@ -254,7 +255,7 @@ GEM
oj (3.16.3)
bigdecimal (>= 3.0)
parallel (1.24.0)
parser (3.3.0.4)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
popper_js (1.16.1)
Expand All @@ -270,7 +271,7 @@ GEM
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.8)
rack (3.0.9)
rack-mini-profiler (3.3.0)
rack (>= 1.2.0)
rack-proxy (0.7.7)
Expand Down Expand Up @@ -326,29 +327,29 @@ GEM
reline (0.4.2)
io-console (~> 0.5)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (~> 3.13.0)
rspec-json_expectations (2.2.0)
rspec-mocks (3.12.6)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (6.1.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.1)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.12)
rspec-expectations (~> 3.12)
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.1)
rubocop (1.60.1)
rspec-support (3.13.0)
rubocop (1.60.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand All @@ -370,7 +371,7 @@ GEM
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (1.13.0)
ruby-units (4.0.1)
ruby-units (4.0.2)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
sass-rails (6.0.0)
Expand All @@ -384,7 +385,8 @@ GEM
sprockets-rails
tilt
select2-rails (4.0.13)
selenium-webdriver (4.16.0)
selenium-webdriver (4.17.0)
base64 (~> 0.2)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
Expand Down Expand Up @@ -425,7 +427,7 @@ GEM
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webmock (3.19.1)
webmock (3.20.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand All @@ -442,7 +444,7 @@ GEM
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.9.34)
zeitwerk (2.6.12)
zeitwerk (2.6.13)

PLATFORMS
ruby
Expand Down Expand Up @@ -471,7 +473,7 @@ DEPENDENCIES
rails-controller-testing
rake
rspec-json_expectations
rspec-rails (= 6.1.0)
rspec-rails (= 6.1.1)
rubocop
rubocop-performance
rubocop-rails
Expand Down
35 changes: 17 additions & 18 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
Copyright (c) 2011-2021 Genome Research Ltd.
MIT License

Author:
Eduardo Martin Rojo <[email protected]>
James Glover <[email protected]>
Matthew Denner <[email protected]>
Sean Dunn <[email protected]>
Stephen Inglis <[email protected]>
Yana Proskurina <[email protected]>
Copyright (c) 2024 Wellcome Sanger Institute - PSD

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/limber/pipeline-graph.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
ul {
@extend .list-group;
@extend .list-group-flush;
max-height: 500px;
max-height: 50vh;
overflow-y: auto;

li {
Expand Down
6 changes: 6 additions & 0 deletions app/assets/stylesheets/limber/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,13 @@ footer.version-info {
/* Set the fixed height of the footer here */
height: 50px;
line-height: 50px; /* Vertically center the text there */
overflow: hidden;
background-color: $gray-100;

.container {
@extend .text-center;
@extend .text-nowrap;
}
}

.asset-warnings {
Expand Down
4 changes: 0 additions & 4 deletions app/models/labels/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def label_template
end

def label_templates_by_service
# NB. Make sure label_templates.yml contains settings for label definitions
# explicity, in order to avoid incorrect results. The lines below do not
# work as intended because the config is filled with default values for
# missing settings by PurposeConfig class.
pmb_template = config[:pmb_template] || default_label_template
sprint_template = config[:sprint_template] || default_sprint_label_template
{ 'PMB' => pmb_template, 'SPrint' => sprint_template }
Expand Down
Loading
Loading