add datasets from MLDataUtils

Codecov Report

Merging #18 (62e5d9e) into main (7952819) will increase coverage by 2.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   85.44%   87.65%   +2.21%
==========================================
  Files           9       10       +1
  Lines         213      235      +22
==========================================
+ Hits          182      206      +24
+ Misses         31       29       -2

Impacted Files
Coverage Δ

src/datasets.jl
100.00% <100.00%> (ø)

src/batchview.jl
73.52% <0.00%> (-0.76%)
:arrow_down:

src/resample.jl
100.00% <0.00%> (ø)

src/splitobs.jl
100.00% <0.00%> (ø)

src/observation.jl
86.36% <0.00%> (+1.58%)
:arrow_up:

src/folds.jl
95.83% <0.00%> (+3.83%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7952819...62e5d9e. Read the comment docs.


Draft for error handling with exceptions

Used the code from Luiz that creates the error messages

@luisoares95 please take the build changes from main (the .github) changes


Finalise T1 testing

Finalise testing approach for T1 code, prior to rolling out to other functionality.

@mjt320 I will focus on enhancing the test suite for T1 mapping, since I have already begun writing the test scripts for code already received.

this issue can be closed, isn't it?

Yes, I agree.


kombu.exceptions.EncodeError EncodeError: <flask_mail.Message object at 0x7fe0b576f510> is not JSON serializable

When I use your code fot testing , it raised the error, because the celery receive the json data, not the Message object.
Traceback (most recent call last):
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/yzhao_sherry/work/venv/pypro/flask-celery-example/app.py", line 285, in index
send_async_email.apply_async(args=[msg], countdown=60)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/celery/app/task.py", line 536, in apply_async
**options
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/celery/app/base.py", line 737, in send_task
amqp.send_task_message(P, name, message, **options)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/celery/app/amqp.py", line 554, in send_task_message
**properties
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/messaging.py", line 169, in publish
compression, headers)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/messaging.py", line 252, in _prepare
body) = dumps(body, serializer=serializer)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/serialization.py", line 221, in dumps
payload = encoder(data)
File "/usr/lib64/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/serialization.py", line 54, in _reraise_errors
reraise(wrapper, wrapper(exc), sys.exc_info()[2])
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/serialization.py", line 50, in _reraise_errors
yield
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/serialization.py", line 221, in dumps
payload = encoder(data)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/utils/json.py", line 72, in dumps
**dict(default_kwargs, **kwargs))
File "/usr/lib64/python2.7/json/init.py", line 251, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
File "/home/yzhao_sherry/work/venv/lib/python2.7/site-packages/kombu/utils/json.py", line 62, in default
return super(JSONEncoder, self).default(o)
File "/usr/lib64/python2.7/json/encoder.py", line 184, in default
raise TypeError(repr(o) + " is not JSON serializable")
EncodeError: <flask_mail.Message object at 0x7fe0b576f510> is not JSON serializable

Then I create the Message object in the celery task,  it didn't send the email, but the flashed information  was displayed ! Could you help me do some check?
@celery.task
 def send_async_email(to):
     """Background task to send an email with Flask-Mail."""
     subject = "Hello from me"
     sender = app.config['MAIL_DEFAULT_SENDER']
     recipients = [to]
     msg = Message(subject, sender=sender, recipients=recipients)
     msg.body = 'This is a test email sent from a background Celery task.'
     with app.app_context():
         mail.send(msg)

@kenzhaoyihui look here #13


Client Allocation Request for: evs

Client Allocation Questions
Core Information

Name: evs
Website / Social Media: https://www.pickfoto.com/
Region: Greater China
DataCap Requested: 15TiB
Addresses to be Notarized: f1dy7qyjwj6jwsentkdlar3g6etuxjmze3pfkgkma
Notary Requested: ozhtdong

@shaunicelehemann33 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Thanks for your application. I want to know more basic information of you and your company. Please answer following question:
1.What's your name? What's your position?
2.What's your company's business? Do you have any other social media link?
3.Could you show me your company's business license?

You can check it.
On Mon, Sep 6, 2021 at 10:26 AM ozhtdong @.***> wrote:

Thanks for your application. I want to know more basic information of you
and your company. Please answer following question:
1.What's your name? What's your position?
2.What's your company's business? Do you have any other social media link?
3.Could you show me your company's business license?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/849#issuecomment-913291796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVOMMKZIJOPLGSPF22QTXDTUAQREVANCNFSM5DPNSM7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hello, my name is Ping Shao. I am the legal person in the company.
Our company is engaged in technology development, technology services, technology consulting, technology transfer, technology promotion; photography services; computer graphic design; graphic production; computer animation design; corporate planning; public relations services; economic information consulting (excluding investment consulting, non- Including education consulting); agency, production, and advertising; trademark transfer and agency services; copyright transfer and agency services; Internet information services; engaged in Internet cultural activities.
Ok. I have sent you an email about it.

Thanks for your quick reply and detailed information.
I have further more questions about data and storing.
1.What kind of data do you want to store and how much? Could you please send me some demos of your data?
2.Have you/your company ever used cloud? Which platform do you use? What's your usage volume and frequency?

1.We mainly store various types of image data. It almost need 15 TiB. There are some pictures. I will email you some image data.
2.No. We didn’t use any cloud for storage.

Thanks for your quick response. I also want to know more about your allocation strategy.
1.How many miners do you want to store your data to? How much data for each miner?
2. Will you record your allocation decision in public? Which platform will you use?
3. What method/tool will you use to inspect miners? Which aspect of miners will you inspect?
4. Have you ever allocated before? If yes, how did you do when you were questioned?

1.We want 3 miners. We will devide to each miner equally.
2.Yes, we will use github.
3.No tools we have used before. I want to check miners’ technical strength and storage capacity.
4.We have never allocated before

Thanks for your information.
The last step, please show me your company searching consequence in the local business license searching website.

Sure. I can email you.

Here is the searching consequence.
On Mon, Sep 6, 2021 at 6:30 PM ozhtdong @.***> wrote:

Thanks for your information.
The last step, please show me your company searching consequence in the
local business license searching website.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/849#issuecomment-913538698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVOMMKZOVW2A7OSBWGOLIOLUASJ3XANCNFSM5DPNSM7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzacedy62af3xv4rz4h5muonzf32a4wivx6y3btckc7taasrjp5alkgfu

Address

f1dy7qyjwj6jwsentkdlar3g6etuxjmze3pfkgkma

Datacap Allocated

15TiB

You can check the status of the message here: https://filfox.info/en/message/bafy2bzacedy62af3xv4rz4h5muonzf32a4wivx6y3btckc7taasrjp5alkgfu


Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Core
Which platforms are affected?
iOS
Description
During work on one of my projects, I stopped the project, and then restarted it. I was immediately met with the message
Plugin firebase_core is only Swift Package Manager compatible. Try
enabling Swift Package Manager by running "flutter config
--enable-swift-package-manager" or remove the plugin as a dependency.

I thought, okay, I'll just type in flutter config --enable-swift-package-manager and i'll be fine and dandy. It printed out
Setting "enable-swift-package-manager" value to "true".

You may need to restart any open editors for them to read new settings.

I figured I was fine, so I closed Xcode and iTerm2 running my dart instance. I restarted, and was met with the same response. I tried removing the package from dependencies, and adding them back. Always met with the same message. I tried pod deintegrate and pod install, and still no bacon. I went online and found some old article about adding firebase sdk as a dependency into the Xcode package manager, installed it all, and still nothing was working. I tried opening up a brand new project, adding firebase_core sdk to it, and still met with the same issue, and yet I still attempted to do the flutter config --enable-swift-package-manager. Nothing. I have been trying to fix for hours now and I finally give up. Hoping anyone can help me with this.
Reproducing the issue

flutter create test
cd test
flutter pub add firebase_core
flutter run
Wait for console output

Firebase Core version
3.6.0
Flutter Version
3.24.3
Relevant Log Output
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (4 weeks ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

Plugin firebase_core is only Swift Package Manager compatible. Try
enabling Swift Package Manager by running "flutter config
--enable-swift-package-manager" or remove the plugin as a dependency.

flutter config --enable-swift-package-manager
Setting "enable-swift-package-manager" value to "true".

You may need to restart any open editors for them to read new settings.

Flutter dependencies

Expand Original Flutter dependencies snippet

  flutter_platform_widgets: ^7.0.1
  http: ^1.2.2
  cupertino_icons: ^1.0.2
  cloud_firestore: ^5.4.2
  provider: ^6.1.1
  firebase_messaging: ^15.1.2
  flutter_local_notifications: ^17.2.2
  intl: ^0.19.0
  firebase_core: ^3.6.0
  firebase_auth: ^5.3.0
  package_info_plus: ^8.0.2
  barcode: ^2.2.8
  flutter_svg: ^2.0.10+1
  barcode_widget: ^2.0.4
  path_provider: ^2.1.3
  settings_ui: ^2.0.2
  shared_preferences: ^2.2.3
  restart_app: ^1.2.1
  url_launcher: ^6.1.8
  screen_brightness: ^1.0.1
  firebase_crashlytics: ^4.1.3
  firebase_analytics: ^11.3.3
  cloud_functions: ^5.1.3
  google_nav_bar: ^5.0.6

Expand Test Flutter dependencies snippet

  cupertino_icons: ^1.0.2
  firebase_core: ^3.6.0

Additional context and comments
No response

Hi @WTPieh , thanks for the report. I tried the steps you enlisted but was not able to reproduce this issue.

I figured out the issue after a long time. For some reason, the pub.dev cache had some (I assume) broken version of the firebase_core plugin. After deleting the whole cache, it worked again, but it was incredibly perplexing. I didn't expect that sort of issue to crop up. It was not obvious that pub.dev cache would not be cleared when running flutter clean, which caused immense confusion.


Verify that the grant list populated in the proxy submission workflow is accurate

I started a submission on behalf faculty1, the grants list for him that showed up in the grant selection step were about 5-6 items long. but when logged in as faculty1, he has a grants list of 109 item long.
Someone please verify this. a bad query?

Can be tested with Peter Campochiaro<EMAIL_ADDRESS>It turns out the grants index tables searches for grants on which the user is a pi or co-pi. The grant list is populated by grants upon which the user in question is a pi or co-pi.

@markpatton I verified with Sayeed. we'd like the grants list into the workflow drop down to be the same as the grants list in the grants table.


Add support for 3D RNA Graphs

Reference Issues/PRs
#109
What does this implement/fix? Explain your changes
What testing did you do to verify the changes in this PR?
Pending

Codecov Report

Merging #165 (5cf93f5) into master (8123f42) will increase coverage by 6.27%.
The diff coverage is 52.00%.

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   40.27%   46.54%   +6.27%
==========================================
  Files          48       91      +43
  Lines        2811     5253    +2442
==========================================
+ Hits         1132     2445    +1313
- Misses       1679     2808    +1129

Impacted Files
Coverage Δ

graphein/grn/parse_trrust.py
37.77% <ø> (ø)

graphein/ml/diffusion.py
0.00% <0.00%> (ø)

graphein/ppi/edges.py
34.61% <ø> (-65.39%)
:arrow_down:

graphein/ppi/graph_metadata.py
0.00% <ø> (ø)

graphein/ppi/graphs.py
21.73% <ø> (-32.61%)
:arrow_down:

graphein/ppi/parse_biogrid.py
21.15% <ø> (-53.85%)
:arrow_down:

graphein/ppi/visualisation.py
0.00% <0.00%> (ø)

graphein/protein/analysis.py
0.00% <0.00%> (ø)

graphein/protein/features/sequence/utils.py
28.00% <0.00%> (+3.00%)
:arrow_up:

graphein/protein/features/utils.py
27.77% <0.00%> (ø)

... and 82 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0a2d5e3...5cf93f5. Read the comment docs.


Bump to the latest gradle: 2.11

This includes bumping the shadow plugin to 1.2.3

test this please

looks like I missed some failures caused by this update.


nix-shell -p haskellPackages.git fails

NixOS version: 16.09.git.6d16979 (Flounder)
Command run: nix-shell -p haskellPackages.git
Output:
these derivations will be built:
  /nix/store/h96smc83qx520cdk3h3ymv9s1x4nsbid-git-0.1.drv
building path(s) ‘/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1’
setupCompilerEnvironmentPhase
Build with /nix/store/g2pi8g139zj3vja22g4bq8krn0z3lb10-ghc-7.10.3.
unpacking sources
unpacking source archive /nix/store/dxpm4nwgdfivpmz4p2whym4radafnlcj-git-0.1.tar.gz
source root is git-0.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file git-0.1/tests/Tests.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-git-0.1.drv-0/package.conf.d -j1 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-git-0.1.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-git-0.1.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/lib/ghc-7.10.3/git-0.1 --enable-split-objs --disable-library-profiling --disable-executable-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
Configuring git-0.1...
Flags chosen: debug=False, executable=False
Dependency base ==4.*: using base-<IP_ADDRESS>
Dependency byteable -any: using byteable-0.1.1
Dependency bytedump >=1.0: using bytedump-1.0
Dependency bytestring >=0.9: using bytestring-<IP_ADDRESS>
Dependency containers -any: using containers-<IP_ADDRESS>
Dependency cryptonite -any: using cryptonite-0.15
Dependency git -any: using git-0.1
Dependency hourglass >=0.2: using hourglass-0.2.10
Dependency memory >=0.13: using memory-0.13
Dependency mtl -any: using mtl-2.2.1
Dependency patience -any: using patience-0.1.1
Dependency random -any: using random-1.1
Dependency system-fileio -any: using system-fileio-<IP_ADDRESS>
Dependency system-filepath -any: using system-filepath-<IP_ADDRESS>
Dependency tasty -any: using tasty-<IP_ADDRESS>
Dependency tasty-quickcheck -any: using tasty-quickcheck-0.8.4
Dependency unix-compat -any: using unix-compat-<IP_ADDRESS>
Dependency utf8-string -any: using utf8-string-<IP_ADDRESS>
Dependency vector -any: using vector-<IP_ADDRESS>
Dependency zlib -any: using zlib-<IP_ADDRESS>
Dependency zlib-bindings ==0.1.*: using zlib-bindings-<IP_ADDRESS>
Using Cabal-<IP_ADDRESS> compiled by ghc-7.10
Using compiler: ghc-7.10.3
Using install prefix: /nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1
Binaries installed in: /nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/bin
Libraries installed in:
/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/lib/ghc-7.10.3/git-0.1
Private binaries installed in:
/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/libexec
Data files installed in:
/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/share/x86_64-linux-ghc-7.10.3/git-0.1
Documentation installed in:
/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/share/doc/x86_64-linux-ghc-7.10.3/git-0.1
Configuration files installed in:
/nix/store/ssdcv9wrj4qznrqwrm0fnqsxdxv514mv-git-0.1/etc
No alex found
Using ar found on system at:
/nix/store/86nvh9qjd4ny2cb9l9zqg8fzhxdra596-binutils-2.26/bin/ar
No c2hs found
No cpphs found
Using gcc version 5.3.0 given by user at:
/nix/store/ky489c7bahmr0spqqrqyfqicmsqn444w-gcc-wrapper-5.3.0/bin/gcc
Using ghc version 7.10.3 found on system at:
/nix/store/g2pi8g139zj3vja22g4bq8krn0z3lb10-ghc-7.10.3/bin/ghc
Using ghc-pkg version 7.10.3 found on system at:
/nix/store/g2pi8g139zj3vja22g4bq8krn0z3lb10-ghc-7.10.3/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.1 found on system at:
/nix/store/g2pi8g139zj3vja22g4bq8krn0z3lb10-ghc-7.10.3/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/g2pi8g139zj3vja22g4bq8krn0z3lb10-ghc-7.10.3/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/g2pi8g139zj3vja22g4bq8krn0z3lb10-ghc-7.10.3/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/kgv9rig37rbndv2fibdfz7zsq70prbhx-hscolour-1.24/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/ky489c7bahmr0spqqrqyfqicmsqn444w-gcc-wrapper-5.3.0/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using strip version 2.26 found on system at:
/nix/store/86nvh9qjd4ny2cb9l9zqg8fzhxdra596-binutils-2.26/bin/strip
Using tar found on system at:
/nix/store/cfl5vfnfi1vxycliz2whzzp05nzp47s2-gnutar-1.28/bin/tar
No uhc found
building
Building git-0.1...
Preprocessing library git-0.1...
[ 1 of 24] Compiling Data.Git.Internal ( Data/Git/Internal.hs, dist/build/Data/Git/Internal.o )
[ 2 of 24] Compiling Data.Git.Imports ( Data/Git/Imports.hs, dist/build/Data/Git/Imports.o )
[ 3 of 24] Compiling Data.Git.OS      ( Data/Git/OS.hs, dist/build/Data/Git/OS.o )
[ 4 of 24] Compiling Data.Git.Storage.CacheFile ( Data/Git/Storage/CacheFile.hs, dist/build/Data/Git/Storage/CacheFile.o )
[ 5 of 24] Compiling Data.Git.Revision ( Data/Git/Revision.hs, dist/build/Data/Git/Revision.o )
[ 6 of 24] Compiling Data.Git.Ref     ( Data/Git/Ref.hs, dist/build/Data/Git/Ref.o )
[ 7 of 24] Compiling Data.Git.Path    ( Data/Git/Path.hs, dist/build/Data/Git/Path.o )
[ 8 of 24] Compiling Data.Git.Named   ( Data/Git/Named.hs, dist/build/Data/Git/Named.o )
[ 9 of 24] Compiling Data.Git.Config  ( Data/Git/Config.hs, dist/build/Data/Git/Config.o )
[10 of 24] Compiling Data.Git.Parser  ( Data/Git/Parser.hs, dist/build/Data/Git/Parser.o )
[11 of 24] Compiling Data.Git.Delta   ( Data/Git/Delta.hs, dist/build/Data/Git/Delta.o )
[12 of 24] Compiling Data.Git.Types   ( Data/Git/Types.hs, dist/build/Data/Git/Types.o )
[13 of 24] Compiling Data.Git.Storage.Object ( Data/Git/Storage/Object.hs, dist/build/Data/Git/Storage/Object.o )
[14 of 24] Compiling Data.Git.Storage.FileReader ( Data/Git/Storage/FileReader.hs, dist/build/Data/Git/Storage/FileReader.o )
[15 of 24] Compiling Data.Git.Storage.PackIndex ( Data/Git/Storage/PackIndex.hs, dist/build/Data/Git/Storage/PackIndex.o )
[16 of 24] Compiling Data.Git.Storage.Pack ( Data/Git/Storage/Pack.hs, dist/build/Data/Git/Storage/Pack.o )
[17 of 24] Compiling Data.Git.Storage.FileWriter ( Data/Git/Storage/FileWriter.hs, dist/build/Data/Git/Storage/FileWriter.o )
[18 of 24] Compiling Data.Git.Storage.Loose ( Data/Git/Storage/Loose.hs, dist/build/Data/Git/Storage/Loose.o )
[19 of 24] Compiling Data.Git.Storage ( Data/Git/Storage.hs, dist/build/Data/Git/Storage.o )
[20 of 24] Compiling Data.Git.Repository ( Data/Git/Repository.hs, dist/build/Data/Git/Repository.o )
[21 of 24] Compiling Data.Git.WorkTree ( Data/Git/WorkTree.hs, dist/build/Data/Git/WorkTree.o )
[22 of 24] Compiling Data.Git         ( Data/Git.hs, dist/build/Data/Git.o )
[23 of 24] Compiling Data.Git.Monad   ( Data/Git/Monad.hs, dist/build/Data/Git/Monad.o )
[24 of 24] Compiling Data.Git.Diff    ( Data/Git/Diff.hs, dist/build/Data/Git/Diff.o )
In-place registering git-0.1...
Preprocessing test suite 'test-unit' for git-0.1...
[1 of 1] Compiling Main             ( tests/Tests.hs, dist/build/test-unit/test-unit-tmp/Main.dyn_o )
Linking dist/build/test-unit/test-unit ...
Preprocessing test suite 'test-repository' for git-0.1...
[1 of 2] Compiling Monad            ( tests/Monad.hs, dist/build/test-repository/test-repository-tmp/Monad.dyn_o )
[2 of 2] Compiling Main             ( tests/Repo.hs, dist/build/test-repository/test-repository-tmp/Main.dyn_o )
Linking dist/build/test-repository/test-repository ...
running tests
Running 2 test suites...
Test suite test-unit: RUNNING...
Test suite test-unit: PASS
Test suite logged to: dist/test/git-0.1-test-unit.log
Test suite test-repository: RUNNING...
cannot run this test without repository. clone the original repository for test
 test/git/monad [FAILED]
 - not a git repository
Test suite test-repository: FAIL
Test suite logged to: dist/test/git-0.1-test-repository.log
1 of 2 test suites (1 of 2 test cases) passed.
builder for ‘/nix/store/h96smc83qx520cdk3h3ymv9s1x4nsbid-git-0.1.drv’ failed with exit code 1
error: build of ‘/nix/store/h96smc83qx520cdk3h3ymv9s1x4nsbid-git-0.1.drv’ failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies

Hi,
Any news or workaround about this? I've got the exact same problem

The test suite fails ... IMHO this issue should be reported upstream since we cannot fix that, really. The best we can do is disable the test suite in our builds.

One of my colleague just found a workaround. So in my configuration I had:
 environment.systemPackages = with pkgs; with haskellPackages; [
     ...
     git
    ...
];

the problem is that it tries to install the git package from pkgs AND haskellPackages. So using pgks.git in the above list works, because this is the git package of haskell that is broken.

@peti Agreed this isn't nixpkgs fault, I reported it upstream here: https://github.com/vincenthz/hit/issues/33

https://github.com/NixOS/cabal2nix/commit/1145e86201673a06e6d024e8867304f9040d7d8d
fixes the build in NixOS for the time being.

Thanks. It may be a while longer before I get a response from upstream, so I think as far as nixpkgs is concerned we can close this.


When the Boolean field's method name starts with "is" and the type is Boolean, the value of the field cannot be retrieved when the expression is executed.

When the Boolean field's method name starts with "get", the value of this Boolean field can be obtained when executed

Hello, we tried to solve the issue.
This is what we did:
Updated the getGetter method in PropertyTools.java to prioritize the 'get' method for Boolean fields when it exists. This fix ensures that when a Boolean field's method name starts with 'get', it will be correctly obtained when executed.
You can review changes in this commit: https://github.com/mnmnk43434/mvel-mvel-376/commit/359e49fe9e0e92932103127ff99a14db87607b71.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

My example is as follows. The usage is "Boolean" instead of "boolean".
private Boolean flag;

public Boolean getFlag() {
    return flag;
}

public void setFlag(Boolean flag) {
    this.flag = flag;
}

The following code cannot access the getter method.
    Method candidate = null;

    if (Collection.class.isAssignableFrom(clazz) && "isEmpty".equals(isGet)) {
        try {
            return Collection.class.getMethod("isEmpty");
        } catch (NoSuchMethodException ignore) {}
    }

    for (Method meth : clazz.getMethods()) {
        if ((meth.getModifiers() & PUBLIC) != 0 && (meth.getModifiers() & STATIC) == 0 && meth.getParameterTypes().length == 0
                && (getter.equals(meth.getName()) || property.equals(meth.getName()) || ((isGet.equals(meth.getName()) || simpleIsGet.equals(meth.getName())) && meth.getReturnType() == boolean.class)
                || simple.equals(meth.getName()))) {
            if (candidate == null || isPreferredGetter(candidate, meth, getterPriorityMap)) {
                candidate = meth;
            }
        }
    }

Hi @OrangeNice ,
public void isFlag(Boolean flag) {
    this.flag = flag;
}

It doesn't look like a getter (Has a parameter. void return), so certainly ignored. I guess you modified a setter. Please provide an example which you want to confirm.

Hi @OrangeNice ,
public void isFlag(Boolean flag) {
    this.flag = flag;
}

It doesn't look like a getter (Has a parameter. void return), so certainly ignored. I guess you modified a setter. Please provide an example which you want to confirm.

I made a mistake in my sample code. It should be as shown below.
private Boolean flag;

public Boolean isFlag() {
    return flag;
}

public void setFlag(Boolean flag) {
    this.flag = flag;
}

Ok that makes sense to me. Thanks @tkobayas


fix: bring device types in-line with API docs

Updated list of types to match current API docs.

~bug:~ fix: on the commit so that release is correct. I will make a ticket to install commitlint for us.

Looks good to me other than commit name John mentions

~bug:~ fix: on the commit so that release is correct. I will make a ticket to install commitlint for us.

Dang it...did that again. Fixed.

:tada: This PR is included in version 0.5.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


activemqartemis instances showing "The field podStatus is invalid." when installed from operatorhub #134

ENTMQBR-5601
manually tested.

@howardgao looking openshift/console[1][2], this issue could be due to the missing statusDescriptor
https://github.com/RHsyseng/operator-utils#pods-deployment-status
https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md#statusdescriptors-1
statusDescriptors:         - description: The current pods           displayName: Pods Status           path: podStatus           x-descriptors:             - "urn:alm:descriptor:com.tectonic.ui:podStatuses"
[1]https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/common.tsx#L15
[2]https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/status/index.tsx#L26

@gaohoward looking operator-utils doc[1], it seems we are using the wrong client to update the status resource, indeed int the operator-sdk doc there is:
https://github.com/operator-framework/operator-sdk/blob/v0.10.0/doc/user/client.md#update
Update does *not* update the resource's status subresource

https://github.com/operator-framework/operator-sdk/blob/v0.10.0/doc/user/client.md#updating-status-subresource
When updating the [status subresource](https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#status-subresource) from the client, the StatusWriter must be used which can be gotten with Status()

It may be relevant, in my attempts to put together a round trip test with the sdk scaffolding, where i deploy a dud CR and verify the status, the comments above from @brusdev  provided the missing link. In addition to using the wrong stateful set name, it looks like the Status() client is also needed. That sorted my test case. see: https://github.com/artemiscloud/activemq-artemis-operator/pull/138

@gtully @brusdev I think Gary's commit fixes the concern Dom pointed out. Should we go ahead to merge it or further changes needed?

@howardgao I'm not sure we need to rename PodStatus, I think the fixes included by @gtully should also fix the error "The field podStatus is invalid."

@brusdev @gtully verified that the error message is gone with Gary's fix. Will drop the PR. Thanks guys!


BUG 2293621: osd: use old passphrase to kill the luks slot

While adding a new encryption key to slot 1
if there exists a key in slot 1 which is not
equal to the one we want to update it with,
we kill the slot and then add the new key to it.
While killing the slot, the existing code uses
the new key, which is not valid in such cases.
This patch modifies the code to use the key in
slot 0 (the one that we know works) to kill the slot.

Note to reviewer: Codespell failure is unrelated to this patch.

/bugzilla refresh

/approve

This requires a manual merge. Due to failing codespell test.

This requires a manual merge. Due to failing codespell test.

The tests failure are known failure for older version. Going ahead with manual merge.


Improve mouse cursor switching

This makes the cursor switch from standard pointer to I-Beam cursor work
regardless of the window size.

@googlebot I signed it!

Good catch, thanks!


TeXLive: LaTeX document using newtxtext package fails compilation

Compilation of LaTeX documents using the newtxtext LaTeX package fails because of font issues.
For instance, the LaTeX document test.tex below does not compile.
\documentclass[a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{newtxtext}

\begin{document}

Hello, world!

\end{document}

$ pdflatex test
[...]
(/nix/store/dp1nnj98fbwvf9zdfm4424np34f8ilcd-texlive-combined-2015/share/texmf/
tex/latex/base/ts1cmr.fd) [1{/nix/store/dp1nnj98fbwvf9zdfm4424np34f8ilcd-texliv
e-combined-2015/share/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux) )

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ntx-Regular-tlf-t1
mktexpk: don't know how to create bitmap font for ntx-Regular-tlf-t1.
mktexpk: perhaps ntx-Regular-tlf-t1 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: /run/current-system/sw/bin/pdflatex (file ntx-Regular-tlf-t1): F
ont ntx-Regular-tlf-t1 at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

In my unstable NixOS system configuration I have:
  environment.systemPackages = with pkgs; [
    ( texlive.combine {
        inherit (texlive) scheme-full ;
    } )
    # other packages
  ];

cc @vcunat

It works now.


Error in appvar_init code when appvar compressed

This is related to #37 that I proposed a while back. In my specific project, my appvar is compressed, and the trekgui_init code looks like this.
bool trekgui_init(void *decompressed_addr) {
    unsigned int data, i;

    data = (unsigned int)decompressed_addr - (unsigned int)trekgui[0];
    for (i = 0; i < trekgui_num; i++) {
        trekgui[i] += data;
    }
    return (bool)appvar;
}

This is wrong because in this particular case, appvar does not exist. I propose fixing by mixing this with the code to open (and decompress) the appvar.
bool trekgui_init(void *decompressed_addr) {
    unsigned int data, i;
    ti_var_t appvar;

    appvar = ti_Open("trekgui", "r");
    zx7_Decompress(decompressed_addr, ti_GetDataPtr(appvar));
    data = (unsigned int)decompressed_addr - (unsigned int)trekgui[0];
    for (i = 0; i < trekgui_num; i++) {
        trekgui[i] += data;
    }
    ti_Close(appvar);  // ti_CloseAll()
    return (bool)appvar;
}

I don't want to mix in decompression because someone might be using a custom compression method.
Will fix asap though.

should be fixed now


Add autocomplete='new-password' to Form.Input

Feature Request
Add autocomplete='new-password' to Form.Input
Problem description
I noticed that Google Chrome does not autocomplete / generate passwords.  There is a way to do this in HTML, via the autocomplete attribute, however this is not passed down to props.
Proposed solution
Add autocomplete attribute to Form.Input

https://stackoverflow.com/a/37503673/6488546
https://reactjs.org/docs/dom-elements.html#all-supported-html-attributes

Please use camelcased props, it's already supported:
<Form.Input autoComplete='new-password' />

<input type="text" autocomplete="new-password" />


Grid units on border do not work.

Tried to have a border of 1.5gr and got an unexpected result.
:root {
--base-font-size: 16px;
--base-line-height: 1.5;
--base-scale-factor: 1.618;
--base-units: rem;
font-size: var(--base-font-size);
line-height: var(--base-line-height);
}

.object {
  font-size: 0sx;
  line-height: 0.5gr;
  width: ((1gr)*5);
  height: 2gr;
  border: 1.5gr;
}

renders to
.object {
  font-size: 1rem;
  line-height: 1.5rem;
  width: 7.5rem;
  height: 3rem;
  border: 1.7.5rem;
}

Hi @custa1200 have you tried updating postcss-gridlover to see if the changes that were added a few days ago solve this issue?

Still shows the same issue of 1.7.5rem :(

If I made it just 1gr with no decimal it works as expected but as soon as I introduce decimals it's causing the issues.
1gr = 1.5rem vs 1.5gr = 1.7.5rem

Perhaps @sakamies has yet to update the npm version of the plugin. I have tried it using what you provided and this is what it outputs.
html, :root {
--base-font-size: 16px;
--base-line-height: 1.5;
--base-scale-factor: 1.618;
--base-units: rem;
font-size: var(--base-font-size);
line-height: var(--base-line-height);
}
.object {
  font-size: 1rem;
  line-height: 1.5rem;
  width: ((1.5rem)*5);
  height: 3rem;
  border: 2.25rem;
}

You could for the time being manually update the module. Let me know if you need some guidance on how to do that.

I totally forgot to publish the module. Sorry about that! I'll publish the update now.


Handle multiple punctuation at the end of the URL

This is a bit of a special case, but I think it's worth it. Fixes #46.
/cc @vmg; note doc fix in f80e21c.

Turns out #61 will do this for us just fine.

This is just a doc fix now, so cherry-picking f80e21c onto master.


Script for SFT?

First of all, thanks for the great work!
could you point me to the SFT script? It might sound silly, But I fail to find it anywhere.

The script for fine-tuning largely follows the LLaMA documentation. You can start from there.

Ok thanks. Does SFT  work by generating outputs token by token as in the usual way LLMs are trained to generate following a prompt or does it differ?

EasyLM supports fine-tuning in both ways. You can choose to apply or not apply loss in any part of the sequence. Check out the dataset documentation.


Collections Endpoints

4 Collections Endpoints from the v1 Twitter Collections API

Collections Create
Collections Curate
Collections Entries
Collections Destroy

Not sure how widely used the collections api is but I use it a lot for the timstwitterlisteningparty.com site so thought I would share!
Can add the other methods if of any use.

Hi @matbroughty , thank you very much for this PR. I'll review it this week-end and i'll keep you informed !

Hi @matbroughty , thank you very much for this PR. I'll review it this week-end and i'll keep you informed !

Hello @redouane59 . Thanks for the library! Very easy to use and understand. Not sure how many people use the collections api (I do though!)  - it is a little odd compared to the other endpoints but if of any use and/or you would like changes let me know. Cheers. Mat

Hello @redouane59 . Thanks for the library! Very easy to use and understand. Not sure how many people use the collections api (I do though!)  - it is a little odd compared to the other endpoints but if of any use and/or you would like changes let me know. Cheers. Mat

Hi @matbroughty , i just watched your code and it has a really high quality, thank you so much for your work! I'm not really using these endpoints but that's a great opportunity for other users who may need it.
I'm going to merge your PR now, everything will be available on the next release (1.17).
have a good week-end !

Hi @matbroughty , i just watched your code and it has a really high quality, thank you so much for your work! I'm not really using these endpoints but that's a great opportunity for other users who may need it.
I'm going to merge your PR now, everything will be available on the next release (1.17).
have a good week-end !

Hi @matbroughty , are you sure that the TimeLineOrder.CHRONOLOGICAL_REVERSE and TimeLineOrder.CHRONOLOGICAL work ? Because creating collections with the two values, the two collections are exactly the same on tweetdeck

        twitterClient.collectionsCreate("Min likes & RT", "Min likes & RT", "min-likes-rt", TimeLineOrder.CHRONOLOGICAL);
        twitterClient.collectionsCreate("Min likes & RT R", "Min likes & RT R", "min-likes-rt-r", TimeLineOrder.CHRONOLOGICAL_REVERSE);


Don't style dict keys passed to runner.

The runner & server can't be expected to receive snake cased keys if the schema uses camel case, etc.

cool, that looks good to me (didn't spot it because the populate by field_name option was on by default) :)


feature request: "PING" / ability to check if a node is online from the iroh API

I have a list of nodeIDs, and I want a way to PING them, returning either "not online" or the most information one can get from iroh doctor report that's reasonable to draw from a single successful PING/PONG packet pair.

I want to use this to sort a list of nodes based on online/offline status, using point-in-time probes (don't want to keep a stream open)
I don't want to write a custom protocol for this (and can't do that using the high level iroh API)
I'd love to not introduce an additional default ALPN for this if we can avoid it. Would be great to piggyback off something else

Closing as "doesn't need to be in core iroh". In my case the right thing to do was to sample peers from the gossip topic associated with a document: it gave me a list of online peers to ask for data


switch catalog_manager exceptions to raising an exception instead of strings

I'm pretty sure the use if raise with a string wasn't intended and is a holdover from before there was a HalotoolsError .  But at any rate, raising strings doesn't work anymore anyway, so this fixes that.

Oops, I now see the diff is full of whitespace things that my editor does automatically.  But I swear the only substansive changes are like those at https://github.com/astropy/halotools/pull/276/files#diff-2c1e5123431e87ec2371aa5052b15b96L18


Only take effect after rendering

After updating to version 1.2.0, I found that I need to render the timeline before I can see the stabilization effect. But there is no need to perform rendering operations in version 1.1.0.

If possible could you please give me the previous version of gyroflow toolbox(My computer is quite old and I really need this feature), my email is<EMAIL_ADDRESS>many thanks

I use proxy media, which has no Better Quality/Better Performance options.
Sorry, I don't use Time Machine, and I would be very grateful if you could give me an older version dmg.

My sincerest apologies for the lack of contact - it's been an insanely busy period.
Unfortunately we don't keep copies of old builds, as they're distributed through the Mac App Store, so each build is uniquely identified to each user (i.e. if we send you one of our copies, it would be tied to our Apple ID).


feat!: update pepr build --entry-point flag to allow combo of --output-dir & --entry-point flags to output deployable module

As part of trying to establish a nice e2e test pattern for individual Pepr Capabilities within Module projects, I want to be able to specify both the target output directory (--output-dir) and the desired entrypoint .ts file (--entry-point) while also outputting a fully-packed & deployable Module.
While calling pepr build with this combination of the flags is already possible, the (current) --entry-point flag implementation 1) specifies the entrypoint file to use, but also 2) changes the way the module gets built such that the output module is no longer independently deployable.
This PR changes the way the --entry-point flag works to make it output fully deployable modules and instead adds a new flag: --no-embed to cover the pre-existing behavior.  This will allow use of the flags --output-dir and --entry-point together to fully specify what get's built & where while still allowing callers to opt-in to the previous behavior by calling the new flag (--no-embed).


The name of the server in the kubeconfig file gets overwritten after login

After merging #17 there is an issue about the name of the server in the kubeconfig file gets overwritten after login.
apiVersion: v1
clusters:
- cluster:
    insecure-skip-tls-verify: true
    server: https://cmp.clastix.io:9443
  name: kubernetes         # <<< here
contexts:
- context:
    cluster: kubernetes
    user: oidc
  name: oidc
current-context: oidc
kind: Config
preferences: {}
users:
- name: oidc
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - login
      - get-token
      command: kubectl
      env: null
      provideClusterInfo: false

The server is named always as kubernetes in the merged kubeconfig file. If there is another server in the current kubeconfig file already called kubernetes, it will be overwritten. What about to take the name from the --k8s-api-server option value? Or better, from the kubeconfig cluster-info API?

I would go for the --k8s-api-server flag.
Impacting the API Server using the cluster-info facade just for retrieving the name of the server sounds a bit unnecessary.


Remove vim-sleuth

Pro vim-sleuth:

This is very useful, especially when working on team projects where you aren't in control of the formatting guidelines

Con:

It's another plugin
Technically bundled with polyglot

Done


Create ckztarnow.txt

Please add new domain for CKZ w Tarnowie, we are in process of changeing old domain tarnowckz.pl to new one ckztarnow.pl

@AndrzejPorebski Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

In particular, please attach to your comment a link or a document that explicitly specifies that the new domain is accepted by the university as official one. New domains are always a red flag for anti-fraud systems, thus we must be very careful adding them to the trusted list.

@AndrzejPorebski  Thank you for the clarifications. Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


postprocessing not working for 2-year inversions

When running inversions with a 2-year inversion period, RHIME encounters issues during post-processing. It would be nice to have the flexibility to run inversions with any inversion period.
Traceback (most recent call last):
File "/user/home/qq24644/openghg_inversions/openghg_inversions/hbmcmc/run_hbmcmc.py", line 233, in
mcmc_function(**param)
File "/user/home/qq24644/openghg_inversions/openghg_inversions/hbmcmc/hbmcmc.py", line 550, in fixedbasisMCMC
out = mcmc.inferpymc_postprocessouts(**post_process_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/user/home/qq24644/openghg_inversions/openghg_inversions/hbmcmc/inversion_pymc.py", line 721, in inferpymc_postprocessouts
apriori_flux += flux_array_all[:, :, m] * np.sum(allmonths == m) / len(allmonths)
~~~~~~~~~~~~~~^^^^^^^^^
IndexError: index 2 is out of bounds for axis 2 with size 2

It looks like the issue comes from inferpymc_postprocessouts, where if it assumes flux prior is monthly if not annual.
    if flux_array_all.shape[2] == 1:
        print("\nAssuming flux prior is annual and extracting first index of flux array.")
        apriori_flux = flux_array_all[:, :, 0]
    else:
        print("\nAssuming flux prior is monthly.")
        print(f"Extracting weighted average flux prior from {start_date} to {end_date}")
        allmonths = pd.date_range(start_date, end_date).month[:-1].values
        allmonths -= 1  # to align with zero indexed array

        apriori_flux = np.zeros_like(flux_array_all[:, :, 0])

        # calculate the weighted average flux across the whole inversion period
        for m in np.unique(allmonths):
            apriori_flux += flux_array_all[:, :, m] * np.sum(allmonths == m) / len(allmonths)

@brendan-m-murphy I know you are working on updating the post-processing part. Do you have an opinion on the best way to solve this without interrupting your work (or maybe this will not impact what you are doing)?


feat: Add markpart API error handling.

Codecov Report
Attention: 19 lines in your changes are missing coverage. Please review.

Comparison is base (10ee28c) 10.02% compared to head (904e5da) 16.59%.
Report is 43 commits behind head on main.

Files
Patch %
Lines

...ebApi/Clients/MarketParticipant/V1/ApiException.cs
0.00%
9 Missing :warning:

...Clients/MarketParticipant/V1/ApiErrorDescriptor.cs
0.00%
5 Missing :warning:

...Api/Clients/EDI/B2CWebApi/V1/EdiB2CWebAppClient.cs
0.00%
3 Missing :warning:

...taHub.WebApi/Clients/EDI/ArchivedMessagesSearch.cs
0.00%
1 Missing :warning:

...i/Clients/MarketParticipant/V1/ApiErrorResponse.cs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2329      +/-   ##
==========================================
+ Coverage   10.02%   16.59%   +6.57%
==========================================
  Files          86      106      +20
  Lines        4248     4639     +391
  Branches      792        0     -792
==========================================
+ Hits          426      770     +344
- Misses       3812     3853      +41
- Partials       10       16       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


import modin.pandas as pd followed by import ray segfaults

This is with modin and ray pip-installed but not yet modin[ray].    Switching the order of the imports gets rid of the segfault and replaces it with a much more useful "ImportError: Please pip install modin[ray] to install compatible Ray version (>=1.4.0,<1.13.0)."
Mac, py39

@jbrockmendel could you give some more details about the steps you took? I tried to replicate what you described, but I didn't get the same error. I'm on:

MacBook Pro (16-inch, 2019) with macOS Monterey.
python 3.9.12

I created and activated a new conda environment, then did:
pip install modin ray
Then in ipython did:
import modin.pandas as pd
import ray

pd.DataFrame()

and I didn't get a dataframe.

@jbrockmendel I do get an exception ending in ImportError: Please pip install modin[ray] to install compatible Ray version (>=1.4.0,<1.13.0). on my Mac when:

I leave my virtualenv
I uninstall modin and ray
I install modin and ray separately with pip install modin ray
I run in ipython:

import modin.pandas as pd
import  ray

pd.DataFrame()

and I get the same error when I switch the order of the imports. So I can't reproduce the segfault. Could you please share more information about the segfault?

Stack trace from code above
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
File /usr/local/lib/python3.9/site-packages/modin/config/pubsub.py:253, in Parameter.get(cls)
    252 try:
--> 253     raw = cls._get_raw_from_config()
    254 except KeyError:

File /usr/local/lib/python3.9/site-packages/modin/config/envvars.py:46, in EnvironmentVariable._get_raw_from_config(cls)
     33 """
     34 Read the value from environment variable.
     35
   (...)
     44     If value is absent.
     45 """
---> 46 return os.environ[cls.varname]

File /usr/local/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/os.py:679, in _Environ.__getitem__(self, key)
    677 except KeyError:
    678     # raise KeyError with the original key value
--> 679     raise KeyError(key) from None
    680 return self.decodevalue(value)

KeyError: 'MODIN_ENGINE'

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
Input In [3], in <module>
----> 1 pd.DataFrame()

File /usr/local/lib/python3.9/site-packages/modin/logging/logger_metaclass.py:68, in logger_class_wrapper.<locals>.log_wrap(*args, **kwargs)
     66     logger.info(f"END::PANDAS-API::{class_name}.{method_name}")
     67     return result
---> 68 return method(*args, **kwargs)

File /usr/local/lib/python3.9/site-packages/modin/pandas/dataframe.py:114, in DataFrame.__init__(self, data, index, columns, dtype, copy, query_compiler)
    102 def __init__(
    103     self,
    104     data=None,
   (...)
    111     # Siblings are other dataframes that share the same query compiler. We
    112     # use this list to update inplace when there is a shallow copy.
    113     self._siblings = []
--> 114     Engine.subscribe(_update_engine)
    115     if isinstance(data, (DataFrame, Series)):
    116         self._query_compiler = data._query_compiler.copy()

File /usr/local/lib/python3.9/site-packages/modin/config/pubsub.py:213, in Parameter.subscribe(cls, callback)
    204 """
    205 Add `callback` to the `_subs` list and then execute it.
    206
   (...)
    210     Callable to execute.
    211 """
    212 cls._subs.append(callback)
--> 213 callback(cls)

File /usr/local/lib/python3.9/site-packages/modin/pandas/__init__.py:114, in _update_engine(publisher)
    111     publisher.put("Native")
    112     IsExperimental.put(True)
    113 if (
--> 114     publisher.get() == "Native"
    115     and StorageFormat.get_value_source() == ValueSource.DEFAULT
    116 ):
    117     StorageFormat.put("Omnisci")
    118     IsExperimental.put(True)

File /usr/local/lib/python3.9/site-packages/modin/config/pubsub.py:255, in Parameter.get(cls)
    253     raw = cls._get_raw_from_config()
    254 except KeyError:
--> 255     cls._value = cls._get_default()
    256     cls._value_source = ValueSource.DEFAULT
    257 else:

File /usr/local/lib/python3.9/site-packages/modin/config/envvars.py:102, in Engine._get_default(cls)
     97 else:
     98     if (
     99         version.parse(ray.__version__) < MIN_RAY_VERSION
    100         or version.parse(ray.__version__) >= MAX_RAY_VERSION_EXCLUSIVE
    101     ):
--> 102         raise ImportError(
    103             "Please `pip install modin[ray]` to install compatible Ray "
    104             + "version "
    105             + f"(>={MIN_RAY_VERSION},<{MAX_RAY_VERSION_EXCLUSIVE})."
    106         )
    107     return "Ray"
    108 try:

ImportError: Please `pip install modin[ray]` to install compatible Ray version (>=1.4.0,<1.13.0).

Another one: running pytest modin/pandas/test_io.py segfaults at the import ray line.  In ray.__init__ i can track it down to the import ray._raylet line.
importing ray on its own works fine; seems like this may be the only test file that directly imports ray?

@jbrockmendel are you still dealing with this issue?

havent seen it for a bit

@jbrockmendel I'm going to go ahead and close this issue for now. If it persists please do open another issue!


Purpose of line 58 in action-app_template.py ?

# terminate the session first if not continue
hermes.publish_end_session()
hermes.publish_end_session(intent_message.session_id, "")

Thanks, this was a mistake. It's fixed now.


Create Rails::Tracer which will instrument all sub modules

currently you need to go through each of the modules and initialize tracers

Addressed by #26


drivers: can: stm32_can: various issues

a)
https://github.com/zephyrproject-rtos/zephyr/blob/2dd91eca0e25e35ab00567461ff4f3d773db24db/drivers/can/stm32_can.c#L74
This line assigns tx errors for mb1 to mb0
b)
https://github.com/zephyrproject-rtos/zephyr/blob/2dd91eca0e25e35ab00567461ff4f3d773db24db/drivers/can/stm32_can.c#L713
and
https://github.com/zephyrproject-rtos/zephyr/blob/2dd91eca0e25e35ab00567461ff4f3d773db24db/drivers/can/stm32_can.c#L725
are not thread safe, they also need to be protected by &data->set_filter_mutex, otherwise it might be interrupted with a stale mask that gets updated at a different bit position meanwhile
c)
https://github.com/zephyrproject-rtos/zephyr/blob/8b9042c4192e1625744eb3b7fe60bc82ac6f336d/drivers/can/stm32_can.c#L294
Any non zero return code is failure, I think if the _send function is called is called with K_NO_WAIT and the semaphore is taken already the sem_take() will return with -EBUSY
d)
https://github.com/zephyrproject-rtos/zephyr/blob/f58d9caba242e52a4e0150dd1be0c99e239a9d42/drivers/can/stm32_can.c#L342
This reset of the semaphore can happen after the tx interrupt, thus the following take will block even though the message was already transmitted

ping @alexanderwachter

Thanks @karstenkoenig.
Are you currently using this driver/API?
Does it satisfy your demands?
I think I need to extend the API a little bit, because at the moment it's impossible to get the state of the bus and recover from bus-off state.

@alexanderwachter
I am actually working on an MCP2515 driver, because I like the NRF chips but they lack a CAN controller
https://github.com/karstenkoenig/zephyr/blob/wip_mcp2515/drivers/can/mcp2515.c
It is still rough around the edges and the branch has a lot of extra stuff thrown in to use it on my nucleo l4r5zi board. I just want to clean out a couple of more nooks and then open a pull request for discussion.
Your code often serves as a reference so of course, so when trying to understand it I stumble over things like these minor bugs :-)

Sorry there is one more issue
d)
https://github.com/zephyrproject-rtos/zephyr/blob/f58d9caba242e52a4e0150dd1be0c99e239a9d42/drivers/can/stm32_can.c#L342
This reset of the semaphore can happen after the tx interrupt, thus the following take will block even though the message was already transmitted

Thx. Just updated the PR.

fixed in #8276


ASP vNext is downloading the entire internet from "dnu restore" command in Linux

So I've successfully published my dnxcore5 project to a folder in Windows 10, zipped it up and copied it to my Linux machine.  After unzipping I go into the folder and run the following command,
dnu restore -s https://www.nuget.org/F/aspnetvnext/

This then results in an attempt to download an unbelievably large number of files, way too many asynchronously, which results in countless timeouts.  I've tried several times in a row now, not managed to complete it once.  When I look in the folders for the files it's downloaded there are literally hundreds.  Why is this?
I saw a few YouTube videos and they didn't make it look this cumbersome.  I thought core was lightweight?
Maybe I'm doing something incorrectly?

Issue resolved, I think it was something to do with my url. It was configuration based anyway so not an issue with code.


Overflow scroll on left sidebar

fixes #497
https://github.com/user-attachments/assets/0f064b59-68b1-4c63-af5b-454d47a4ddd2

@peteward
It's good that scrolling is possible outside the sidebar, but the sidebar disappears during drag and drop.

oops! checking...

Please review this PR.
If there are no issues, I'd like you to close this PR and merge my PR instead.
Alternatively, if there's a way to address the above-mentioned case, let's close my PR and proceed with this one.


Wrap a submit application around transaction block

Context
This is to avoid where the app form is submitted but the application choices aren't!

 Bug in SubmitApplication service?


How to dynamically get provide for different group?

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.7
Operating System version: Mac OS
Java version: 1.8
Spring Boot 2.3.1.RELEASE

I'm in trouble how to dynamic find dubbo service providers.
Here is one example:
I have multiple implementations for the service, which is seperated by different group. But I don't how many groups at the begining. I want the consumer find the correct group from config center, and then I could change the config without modify any code or restart the application.
But I don't know how to use a dynamic service, or change the group of a service dynamically.
The only way I can find is using ReferenceConfig to find provider in api mode. But I prefer a configration way, which is more readable and maintainable.

Here is my example for API mode:
    /* Get Provider by group name */
        ReferenceConfig<ApiResolver> reference = new ReferenceConfig<>();
        reference.setInterface(ApiResolver.class);
        reference.setGroup(groupName);
        reference.setCheck(false);
        ReferenceConfigCache cache = ReferenceConfigCache.getCache();
        try {
            ApiResolver apiResolver = cache.get(reference);
            // Do something......
        }
        // Not Found, Or Error
        catch ( ConnectException | IllegalStateException | RpcException exception) {
        }

Instead of exporting multi-group providers, just try Tag routing rules.
By the way, It's not a good design that one RPC interface has distinct implementations in same cluster.


Scale must be a number or tuple of int, but got <class 'list'>

When I set train scale to [(800,900),(800,1000)] ,it works well.But if I change the same scale type for inference,I get the error as the title.If anywhere I set wrong,or I must merge to scale results by myself...

It runs smoothly with multiple scales during inference. Maybe you need to provide more information to reproduce it.

Thanks ,I will try it

I meet the same problem with you,  have you fix  it?


feat(accordion): add hlm-accordion-content component

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our
guidelines: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[X] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[ ] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] icon
[ ] input
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] pagination
[ ] popover
[ ] progress
[ ] radio-group
[ ] scroll-area
[ ] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] sonner
[ ] spinner
[ ] switch
[ ] table
[ ] tabs
[ ] textarea
[ ] toast
[ ] toggle
[ ] tooltip
[ ] typography

What is the current behavior?

Using brn-accordion-content along with helm accordion directives.
<div hlmAccordionItem>
  <button hlmAccordionTrigger>
    Is it accessible?
    <hlm-icon hlmAccIcon />
  </button>
  <brn-accordion-content hlm>Yes. It adheres to the WAI-ARIA design pattern.</brn-accordion-content>
</div>

What is the new behavior?
Adds a new HlmAccordionContentComponent to combine BrnAccordionContentComponent and HlmAccordionContentDirective into a component.
Usage with HlmAccordionContentComponent looks like this
<div hlmAccordionItem>
  <button hlmAccordionTrigger>
    Is it accessible?
    <hlm-icon hlmAccIcon />
  </button>
  <hlm-accordion-content>Yes. It adheres to the WAI-ARIA design pattern.</hlm-accordion-content>
</div>

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

@marcjulian do you know why the e2e tests are timing out?

@goetzrobin not sure why the e2e test are timing out in CI. They run fine locally.

I found the reason for the failing e2e tests.
This is because I use in HlmAccordionContentComponent the BrnAccordionContentComponent in the template rather than extending HlmAccordionContentComponent with it.
// hlm-accordion-content
<brn-accordion-content [class]="_computedClass()">
    <ng-content />
</brn-accordion-content>

Thus the hlm-accordion-content has no role, data-* nor aria-*, thus are all applied to brn-accordion-content.

When I extend HlmAccordionContentComponent with BrnAccordionContentComponent the logic works, but the template is overridden from HlmAccordionContentComponent. I copied over the content from the brn accordion content, not sure if that is the desired solution here.

@marcjulian not ideal but since the logic in the template is pretty minimal let's go ahead with this as we are working around an Angular intricacy here


Add License

@MarcosCarreira
What

I guess MIT or BSD license
Django has a brief comment on the matter here

Why

So others can use the code
and know what the expectations are

@FergM  , I'm not that knowledgeable on this, I'm Ok with you taking this lead.


Hide data table row selector colum

until Save selections are implemented in #44

data table display without row selector comlumn:


Algorithmic Performance

Algorythmic Fun
This will be a scored event, maybe an infinite amount of points:joy:.  Remember it is important to Teacher to see if you can do something to promote a little fun in Computer Science.
Key Indicators
Each team should have 16 people on the floor during performance day.
Recruit Diversity
We are encouraging you to pull some people to add diversity from other Computer Science classes CSP or CSSE.  It is up to you to recruit and train these people on you algorithm.  The diversity I am primarily hoping for is Women in STEM.  Not having 16 people will likely mean a deduction for the team.   The CSP or CSSE people will receive extra credit for participation.
Timely
Performance is at 8:30 am Wednesday the April 3rd.  Be early and be prepared.   Be sure to watch all the other performances.  We will start the even with a random draw for performance order.  Plan the introduction of your teams the performance.
Publicity
I am looking for a Publicist from each group that will ensure key event(s) are documented on X (formerly Twitter) and YouTube.  These will be published using the NightHawk Coding Society twitter and youtube pages.    Contact Mr M to help enable you to publish.
Choreography
Obtain Choreographic help in your team, ask VAPA.  You should think about artistic impression and algorithmic accuracy.  Two judges will be at the event and will be instructed to score on this category.  You should consider if there is something from your 2 trimester project that can help to "Theme" your sort.
Judges and Cheering
There will also be College and Career judges.  Often these judges are influenced by energy and explanations.  You may be able to influence energy by recruiting your own cheering sections.  Explanation of what you are doing (short and sweet) are always of great benefit.   Watch a couple of last years videos for tips.
Preparation
Algorithmic Code Prep is required.   I am expecting some sort of Algorythmic/About page built into your team projects on your Sort.  Also, I expect to see evidence of at least 3 full team practices, all represented on X and/or Youtube.  Chronicles of preparation are key to Teacher grading, consider these as 3 checkpoints.   There will be challenges on preparation because of two periods and ~4 non CSA students.   But there is Office Hours, Weekends, Panera, etc.

Period 1
Alex, Ethan T, Ethan Z, Jishnu S, David V, Yuri, Emaad, Krishiv

Topic
Link

Team Performance
link

Alex
link

Ethan T
link

Ethan Z
link

Jishnu S
link

David V
link

Yuri
link

Emaad
link

Krishiv
link


Draft Key features of the website.

Key features of the website is complete. Further changes are based on the customers requirement.


$.magnificPopup.close() closes the newly initialized popup too

I have a scenario where I have to initialize a new popup on click of submit button.
My logic is to close the current pop-up (which it does but does not remove the html element), and then initialize the target popup.
For this I have done the following:
$.magnificPopup.close();
$.magnificPopup.open({
items: {
src: '#add_to_watchlist'
}
}, 0);
The problem now is, the second popup will open then immediately close. Also doing this creates duplicate mfp-content.

I just wanted to post this so that if someone has similar problem then this may solve it...
$.magnificPopup.close() was causing the pop-up later initialized to close. So this problem was fixed by removing the close() call.
Still it is weird that the call before the initialization had this effect.


Update main.go

fixed recording issue (return nil)
added username into filename

I've checked the filename changes, but hope you tested it and nothing went wrong.
I don't have good timing to test it with a opened Chaturbate window 👀


release: ship libgeos.* and libgeos_c.* files

PR: https://github.com/cockroachdb/cockroach/pull/51108
From release notes:

The CockroachDB tarballs now include the libgeos and libgeos_c static libraries, which are required to be copied to /usr/local/lib/cockroach for UNIX/MacOS systems to perform certain geospatial operations. The Windows location will be finalized at a later date. This location is configurable with the --geo-libs flag to cockroach start. [#51108][#51108] {% comment %}doc{% endcomment %}

@rmloveland Would this belong in your area?

Fixed in #8831


Clean up on article needed for command line text and command line text types

Evaluate text for ( sudo bash -c 'echo "<connection string" > /var/defender_iot_micro_agent/connection_string.txt' )
using this, placing the connection string ends up non-functional with the '<' being right next to the left side of the connection string.
Also, there are many references to Azure CLI where you would expect that you are running Azure CLI commands.  Rather they are the SSH commands you are providing while connected to the host.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bbe5adb1-5d51-f3fc-894a-a71c4f2f9b97
Version Independent ID: fde64571-1277-eb23-3b51-feba519ae692
Content: Quickstart: Install Defender for IoT micro agent (Preview) - Azure Defender for IoT
Content Source: articles/defender-for-iot/quickstart-standalone-agent-binary-installation.md
Service: defender-for-iot
GitHub Login: @shhazam-ms
Microsoft Alias: shhazam

@chuckb1300 Thank you for the feedback. We have assigned this to author for further review.

@chuckb1300 Thank you for your feedback, Corrections have been made and should be available soon.

@chuckb1300 corrections have been published and should go out with the next build. Thank you for the feedback.

#please-close


fix(next): shim useSelectedLayoutSegment types

#525  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


KOGITO-2286 Add release parameter and staging repository information

See: https://issues.redhat.com/browse/KOGITO-2286
In addition to the features listed in the issue, I also discussed some refactoring of the Jenkinsfile with @radtriste which can found here and here.  I realize "not includ[ing] fixes for issues other than the main ticket" is a requirement, but I believe the refactoring was beneficial for the implementation of the task.
I did a full test build of this PR on the RHBA Jenkins instance: Blue Ocean, console log.
Requirements
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

@radtriste I believe we discussed submitting a single PR for both this issue and KOGITO-2287, but I thought I'd at least open this PR for review first. Should I still add KOGITO-2287 to this PR?

@Kevin-Mok nope you can do in 2 steps. that is also ok I think

@radtriste I've added the requested changes in an extra commit that I can squash later before the PR, so the diff is easier to see.
Testing
There's a bunch of branching behavior now between RELEASE/not RELEASE and empty PROJECT_VERSION/NEW_BRANCH_NAME or not. I spent a bit of time trying to setup jenkins-spock to test this Jenkinsfile, as @Ginxo had me do for jenkins-pipeline-shared-libraries, but it turned out to be more complicated to setup/use than I thought it would be... :sweat_smile:
I ended up manually testing all the branching cases, but perhaps it would be worth considering implementing in the future?

@radtriste I've added the requested changes in another commit for diff purposes. Only having issues with the globbing as mentioned in my response to the review.
Bot Account for PR's
I'll need to get the credentials ID for the bot account we're going to use. @Kaitou786 sent me a bot account that could be used, but I'm not sure who has access to it that can create the access token. I also looked through the credentials in Kogito folder and didn't seem to see a bot-looking account on there.

@radtriste Latest fixes can be found in this commit.
Changes

use reworked shared library functions to set project version
refactored code block that creates PR to function
got rid of all the environment variables and moved them to their local usage blocks

@Kevin-Mok remember you can always move your Jenkinsfile in https://github.com/kiegroup/jenkins-pipeline-shared-libraries/tree/master/test/resources (as Jenkinsfile.kogito-runtimes for instance) and create a test for it (KogitoRuntimesPipelineSpec loading the Jenkinsfile instead of a groovy script). (just suggesting)

@Ginxo So you are suggesting to test by checking out the shared libs, move the pipeline in resources and a test and execute the whole test ?

So you are suggesting to test by checking out the shared libs, move the pipeline in resources and a test and execute the whole test ? -> @radtriste I'm suggesting you have the chance to do it in case you want to cover your pipeline ;)

@radtriste Latest fixes can be found in this commit.
Changes

added getter/setter functions from @radtriste's PR
moved forking/creating branch to right after cloning (if release)
fixed issue of find adding pom.xml's in .gitignore (see this build) with addNotIgnoredPoms()

based on this SO answer

alternative solutions exist but I felt the above answer was the most readable
modified answer based on ShellCheck suggestions

Testing
I ran an initial shorter test of only working with kogito-runtimes, and the first build had 22 failed tests. Upon running it again though, there were no failures.
With the full build I ran, it failed due to there being no changed files in the commit, even after updating the project version and building. So, does no PR get created for kogito-apps then, @radtriste?

@Kevin-Mok
For the update of the version, it seems like once runtimes version is updated, you will need to install in local maven mvn -B clean install -DskipTests and then you should be able to change the maven version of kogito-apps.
This was the fix done in shell script: https://github.com/kiegroup/kogito-runtimes/blob/feffb9bab334d2e151ef6aca44fc4d44b29f120d/scripts/release/02-update-version-all.sh#L92
btw, there is also a problem updating the parent version, the command should be:
mvn -B -N -e versions:update-parent -Dfull '-DparentVersion=[0.12.0]' -DallowSnapshots=true -DgenerateBackupPoms=false
instead of
mvn -B -N -e versions:update-parent -Dfull -DparentVersion=0.12.0 -DallowSnapshots=true -DgenerateBackupPoms=false
or we should have a possibility to set the -DallowSnapshots to false as parameter of the shared lib method ...
Can you make an update in shared libs ?

@radtriste I've squashed/rebased my commits and created a separate branch for diffs.
Jenkinsfile.deploy
Latest fixes for Jenkinsfile.deploy can be found in this commit.
Changes

able to update kogito-apps' version using mvn -B clean install -DskipTests and updated Maven functions from KOGITO-2708
use updated createPR function from KOGITO-2711 to add build tag/URL to PR body

Testing
I was able to get a full passing build with the Jenkinsfile.deploy which produced the following PR's:

kogito-runtimes
kogito-apps
kogito-examples

Questions

I noticed that the sed command found in 02-update-version-all.sh looks for <version.org.kie.kogito>, which doesn't occur in pom.xml. Is it actually needed?
https://github.com/kiegroup/kogito-runtimes/blob/feffb9bab334d2e151ef6aca44fc4d44b29f120d/scripts/release/02-update-version-all.sh#L90
I ran my full build with all the default allowSnapshots parameters to the update Maven functions set to false. Which actually need to be true?

[KOGITO-2287] Create Jenkinsfile for promoting runtimes
Task can be found in Jenkinsfile.promote.  Borrows heavily from Jenkinsfile.promote in KOGITO-2290.  Also left some review comments for things I found while going through the file.
Testing
Example build log.  Zulip message from build.

Indeed, seems it is not needed anymore. Good catch.
They can be let as false for the release pipeline as we are putting a release version and not snapshot

@radtriste I've added the code for KOGITO-{2375,2376,2377} into this PR such that this PR now contains all the tasks related to the deploy/promote pipeline for runtimes.
Pipeline Tests
I ran full test builds for both the deploy and promote pipelines. The full build for the deploy pipeline can be found here.  Then, a deployment.properties from a build was passed into a promote pipeline build.  The build actually ends up failing when trying to create the snapshot PR for apps. This is because the PR from the deploy pipeline is merged such that it's trying to find an artifact that doesn't exist in the Maven repositories since this is only a test build:
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/kie/kogito/kogito-runtimes/7.14.1/kogito-runtimes-7.14.1.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.kie.kogito:kogito-apps:7.14.1: Could not find artifact org.kie.kogito:kogito-runtimes:pom:7.14.1 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 7, column 11

During an actual release build, I guess the runtimes pom will be pushed to the Maven repository, and this won't be an issue? Other than this issue, everything seems to work as expected.
Testing Helper Functions with jenkins-spock
I wanted to use jenkins-spock to test some helper functions and tried setting it up as an additional module here.  I basically copied over the pom.xml from the shared libs into a jenkins-spock-tests directory, added it as a module and copied the directory structure of the shared libs. It works fine if I run mvn test in the jenkins-spock-tests, but it doesn't run the tests if I run mvn test in the base project directory.
I noticed that there's a difference in the console output.  When running mvn test from the jenkins-spock-tests/ directory, its able to find the file to compile:
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jenkins-spock-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/kevin/coding/kogito/kogito-runtimes/jenkins-spock-tests/target/test-classes
[INFO]
[INFO] --- gmavenplus-plugin:1.6.1:compileTests (groovy) @ jenkins-spock-tests ---
[INFO] Using Groovy 2.4.11 to perform compileTests.
[WARNING] Configuration script file (/home/kevin/coding/kogito/kogito-runtimes/jenkins-spock-tests/config.groovy) doesn't exist.  Ignoring configScript parameter.
[INFO] Compiled 1 file.

Where as running mvn test in the base directory yields:
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jenkins-spock-tests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- gmavenplus-plugin:1.6.1:compileTests (groovy) @ jenkins-spock-tests ---
[INFO] No sources specified for compilation.  Skipping.

I tried adding this line to the pom.xml: <tests.surefire.include.groovy>**/*Test.groovy</tests.surefire.include.groovy>.  But, that didn't help. I also tried adding this configuration section for the gmavenplus-plugin from the shared lib pom, but that didn't help either. @Ginxo, do you have any idea how this can be fixed?
I'm also getting this error since I'm using a symbolic link to link the Jenkinsfile, but it doesn't seem to affect the test results:
21:25:14.516 [main] DEBUG org.reflections.Reflections - could not scan file Jenkinsfile.promote in url file:/home/kevin/coding/kogito/kogito-runtimes/jenkins-spock-tests/target/test-classes/ with scanner SubTypesScanner
org.reflections.ReflectionsException: could not create class object from file Jenkinsfile.promote
	at org.reflections.scanners.AbstractScanner.scan(AbstractScanner.java:32)
	at org.reflections.Reflections.scan(Reflections.java:253)
	at org.reflections.Reflections.scan(Reflections.java:202)
	at org.reflections.Reflections.<init>(Reflections.java:123)
	at com.homeaway.devtools.jenkins.testing.LocalProjectPipelineExtensionDetector.getClassesOfTypeInPackage(LocalProjectPipelineExtensionDetector.java:61)
	at com.homeaway.devtools.jenkins.testing.LocalProjectPipelineExtensionDetector$getClassesOfTypeInPackage.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
	at com.homeaway.devtools.jenkins.testing.JenkinsPipelineSpecification.setupSpec(JenkinsPipelineSpecification.groovy:891)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:188)
	at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:84)
	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481) at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
	at org.spockframework.runtime.BaseSpecRunner.doRunSetupSpec(BaseSpecRunner.java:180)
	at org.spockframework.runtime.BaseSpecRunner$3.invoke(BaseSpecRunner.java:164)
	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481)
	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
	at org.spockframework.runtime.BaseSpecRunner.runSetupSpec(BaseSpecRunner.java:157)
	at org.spockframework.runtime.BaseSpecRunner.doRunSetupSpec(BaseSpecRunner.java:177)
	at org.spockframework.runtime.BaseSpecRunner$3.invoke(BaseSpecRunner.java:164)
	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481)
	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
	at org.spockframework.runtime.BaseSpecRunner.runSetupSpec(BaseSpecRunner.java:157)
	at org.spockframework.runtime.BaseSpecRunner.runSetupSpec(BaseSpecRunner.java:152)
	at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:97)
	at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84)
	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481)
	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
	at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76)
	at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67)
	at org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kevin/coding/kogito/kogito-runtimes/jenkins-spock-tests/target/test-classes/Jenkinsfile.promote (No such file or directory)
	at org.reflections.vfs.SystemFile.openInputStream(SystemFile.java:34)
	at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:98)
	at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:24)
	at org.reflections.scanners.AbstractScanner.scan(AbstractScanner.java:30)
	... 43 common frames omitted
Caused by: java.io.FileNotFoundException: /home/kevin/coding/kogito/kogito-runtimes/jenkins-spock-tests/target/test-classes/Jenkinsfile.promote (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at org.reflections.vfs.SystemFile.openInputStream(SystemFile.java:32)
	... 46 common frames omitted

During an actual release build, I guess the runtimes pom will be pushed to the Maven repository, and this won't be an issue? Other than this issue, everything seems to work as expected. Here are the test branches that were used where the deploy and snapshot PR's were merged:

Yes, artifacts 7.14.1 should be in Maven Central already as we ask for input when artifacts are promoted :)

Testing Helper Functions with jenkins-spock

Nice ! If I have time today I will give a look to check what is the problem ...

@Kevin-Mok I think you are missing the ${project.basedir} in the different paths.
Try:
<build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${surefire.pluginVersion}</version>
                    <executions>
                        <execution>
                            <id>default-test</id>
                            <goals>
                                <goal>test</goal>
                            </goals>
                            <configuration>
                                <forkCount>1</forkCount>
                                <includes>
                                    <include>${test.pattern}</include>
                                </includes>
                                <useManifestOnlyJar>false</useManifestOnlyJar>
                                <systemPropertyVariables>
                                    <root.loglevel>${test.loglevel}</root.loglevel>
                                    <root.appender>Stdout</root.appender>
                                    <test.loglevel>${test.loglevel}</test.loglevel>
                                    <logdir>${logdir}</logdir>
                                </systemPropertyVariables>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.gmavenplus</groupId>
                    <artifactId>gmavenplus-plugin</artifactId>
                    <version>${groovy.gmaven.pluginVersion}</version>
                    <executions>
                        <execution>
                            <id>groovy</id>
                            <goals>
                                <goal>addSources</goal>
                                <goal>addTestSources</goal>
                                <goal>generateStubs</goal>
                                <goal>generateTestStubs</goal>
                                <goal>compile</goal>
                                <goal>compileTests</goal>
                                <goal>removeStubs</goal>
                                <goal>removeTestStubs</goal>
                            </goals>
                            <configuration>
                                <configScript>${project.basedir}/config.groovy</configScript>
                                <sources>
                                    <source>
                                        <directory>${project.basedir}/src/test/resources</directory>
                                        <includes>
                                            <include>Jenkinsfile.*</include>
                                        </includes>
                                    </source>
                                </sources>
                                <testSources>
                                    <testSource>
                                        <directory>${project.basedir}/src/test/vars</directory>
                                        <includes>
                                            <include>**/*.groovy</include>
                                        </includes>
                                    </testSource>
                                </testSources>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.codehaus.gmavenplus</groupId>
                <artifactId>gmavenplus-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
            </plugin>
        </plugins>
        <sourceDirectory>${project.basedir}/src/test/resources</sourceDirectory>
        <testResources>
            <testResource>
                <directory>${project.basedir}/src/test/resources</directory>
                <includes>
                    <include>Jenkinsfile.*</include>
                </includes>
            </testResource>
            <testResource>
                <directory>${project.basedir}/src/test/vars</directory>
                <includes>
                    <include>**/*.groovy</include>
                </includes>
            </testResource>
        </testResources>
    </build>

worked for me
Also I get the same error but indeed, it does not seem to affect the test results ...

@radtriste I've made the changes requested and got the jenkins-spock module working. The diff can be found here.
I left some responses regarding some changes I'm not completely sure about. The module problem was indeed solved by adding ${project.basedir}.  I think I used that to add the Jenkinsfile from the base directory as a resource. I'm not completely sure since for whatever reason, it doesn't work if I remove the symbolic link, but I don't get the error any more... :man_shrugging:

@radtriste I made minor logic changes as mentioned in this comment; I just moved the if checks to the helper functions. Diff can be found here.

@radtriste I added KOGITO-2373 to this PR, which I've highlighted in this diff.  The rest of the changes are the minor logic changes as mentioned in this comment; I just moved the if checks to the helper functions.
KOGITO-2373 Test
I force-pushed a test branch (7.14.3-SNAPSHOT) onto stable in my forked kogito-examples on my account using the highlighted core code of KOGITO-2373. You can find the build log here.

all good for me. will have a run tomorrow in the release pipeline global test

@radtriste, I asked @cristianonicolai about force pushing the stable branch on kogito-examples for KOGITO-2373, and he said that force pushing is disabled for that branch.
@evacchi, do you have any alternate ideas for how we can automate updating the stable branch from within a Jenkins build?  This is how it's currently being done.

@cristianonicolai @evacchi How is done the update of the stable branch for now ? by hand on GH UI ?

@radtriste From Cristiano:

Edoardo has been doing this manually, I believe he ends up recreating the branch via admin page from github itself

Jenkins, retest this.


Add mmengine installation

Needed to use the download command in mim
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @argenisleon ,
Thanks for your kind PR. However, the master branch does not need to install mmengine, and we have add it in the docs of 3.x https://github.com/open-mmlab/mmdetection/blob/dev-3.x/docs/en/get_started.md.
Therefore, this PR does not need to be merged and is closed.


Add bullets to list items

Since the list was mashed together into this statement, it was extremely unclear what this sentence was trying to do.

Looks good to me.