Could not find method buildFeatures()

Is there an existing issue for this?

[X] I have searched the existing package issues
[X] I have read the guide to filing a bug

What package does this bug report belong to?
url_launcher
What target platforms are you seeing this bug on?
Android, iOS
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  auto_size_text:
    dependency: "direct main"
    description:
      name: auto_size_text
      sha256: "3f5261cd3fb5f2a9ab4e2fc3fba84fd9fcaac8821f20a1d4e71f557521b22599"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  circular_countdown_timer:
    dependency: "direct main"
    description:
      name: circular_countdown_timer
      sha256: "9ba5fbc076cedbcbf6190ed86762e679f43d7c67cdd903ea34df059dabdc08d4"
      url: "https://pub.dev"
    source: hosted
    version: "0.2.3"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
      url: "https://pub.dev"
    source: hosted
    version: "1.17.2"
  crypto:
    dependency: transitive
    description:
      name: crypto
      sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
      url: "https://pub.dev"
    source: hosted
    version: "3.0.3"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
      url: "https://pub.dev"
    source: hosted
    version: "1.0.6"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  ffi:
    dependency: transitive
    description:
      name: ffi
      sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  file:
    dependency: transitive
    description:
      name: file
      sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
      url: "https://pub.dev"
    source: hosted
    version: "6.1.4"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  google_fonts:
    dependency: "direct main"
    description:
      name: google_fonts
      sha256: e1c4521dfa78061f85f00015a3453793fb6962783239e18e9a26ab366811d2eb
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  http:
    dependency: transitive
    description:
      name: http
      sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2"
      url: "https://pub.dev"
    source: hosted
    version: "0.13.6"
  http_parser:
    dependency: transitive
    description:
      name: http_parser
      sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.2"
  js:
    dependency: transitive
    description:
      name: js
      sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
      url: "https://pub.dev"
    source: hosted
    version: "0.6.7"
  json_annotation:
    dependency: transitive
    description:
      name: json_annotation
      sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467
      url: "https://pub.dev"
    source: hosted
    version: "4.8.1"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
      url: "https://pub.dev"
    source: hosted
    version: "0.12.16"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
      url: "https://pub.dev"
    source: hosted
    version: "0.5.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
      url: "https://pub.dev"
    source: hosted
    version: "1.9.1"
  mime:
    dependency: transitive
    description:
      name: mime
      sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
      url: "https://pub.dev"
    source: hosted
    version: "1.0.4"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
      url: "https://pub.dev"
    source: hosted
    version: "1.8.3"
  path_provider:
    dependency: transitive
    description:
      name: path_provider
      sha256: a1aa8aaa2542a6bc57e381f132af822420216c80d4781f7aa085ca3229208aaa
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  path_provider_android:
    dependency: transitive
    description:
      name: path_provider_android
      sha256: e595b98692943b4881b219f0a9e3945118d3c16bd7e2813f98ec6e532d905f72
      url: "https://pub.dev"
    source: hosted
    version: "2.2.1"
  path_provider_foundation:
    dependency: transitive
    description:
      name: path_provider_foundation
      sha256: "19314d595120f82aca0ba62787d58dde2cc6b5df7d2f0daf72489e38d1b57f2d"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.1"
  path_provider_linux:
    dependency: transitive
    description:
      name: path_provider_linux
      sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
      url: "https://pub.dev"
    source: hosted
    version: "2.2.1"
  path_provider_platform_interface:
    dependency: transitive
    description:
      name: path_provider_platform_interface
      sha256: "94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  path_provider_windows:
    dependency: transitive
    description:
      name: path_provider_windows
      sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.1"
  pedantic:
    dependency: transitive
    description:
      name: pedantic
      sha256: "67fc27ed9639506c856c840ccce7594d0bdcd91bc8d53d6e52359449a1d50602"
      url: "https://pub.dev"
    source: hosted
    version: "1.11.1"
  permission_handler:
    dependency: "direct main"
    description:
      name: permission_handler
      sha256: "4356882e9abf51aa0d56e8fb886e0d6162719f2310dd71f0b8fa7f34908b128d"
      url: "https://pub.dev"
    source: hosted
    version: "8.3.0"
  permission_handler_platform_interface:
    dependency: transitive
    description:
      name: permission_handler_platform_interface
      sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4"
      url: "https://pub.dev"
    source: hosted
    version: "3.12.0"
  platform:
    dependency: transitive
    description:
      name: platform
      sha256: "0a279f0707af40c890e80b1e9df8bb761694c074ba7e1d4ab1bc4b728e200b59"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.3"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8
      url: "https://pub.dev"
    source: hosted
    version: "2.1.7"
  quick_actions:
    dependency: "direct main"
    description:
      name: quick_actions
      sha256: "68b2daf4cbdbf5d2bbccc67513b4f6fe2ec52b6d32780be97e3204db74ed4f5e"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.0+11"
  quick_actions_android:
    dependency: transitive
    description:
      name: quick_actions_android
      sha256: "6dff67c9f2ef8db0061b177369934d8adabb403e83a9c2fa1d39f740aba25721"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.2"
  quick_actions_ios:
    dependency: transitive
    description:
      name: quick_actions_ios
      sha256: "04e79bf96ac6b562b485c1d00ef07d668d44650b11d9f6cc3e383c1d76c39dee"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.0+14"
  quick_actions_platform_interface:
    dependency: transitive
    description:
      name: quick_actions_platform_interface
      sha256: d2a8566b56eec49f93934528b62033906199c60f4ffaef0cba9ef02fcfed8a81
      url: "https://pub.dev"
    source: hosted
    version: "1.0.5"
  share_plus:
    dependency: "direct main"
    description:
      name: share_plus
      sha256: "19ca1711da65e3f6e637b8a8cef2810fb5985105a7657918286e7e65c3ee173c"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  share_plus_linux:
    dependency: transitive
    description:
      name: share_plus_linux
      sha256: c217d158bb0f2374dd8cf655160be13f8ace4d2555804cb2932a68141a315456
      url: "https://pub.dev"
    source: hosted
    version: "2.0.4"
  share_plus_macos:
    dependency: transitive
    description:
      name: share_plus_macos
      sha256: "3f12572a41dc59116559c8759a31d3a34b8350ffebefc516206f8c128e114658"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  share_plus_platform_interface:
    dependency: transitive
    description:
      name: share_plus_platform_interface
      sha256: a15bc981f3169a95a5c8b6c2646cfb31cf8452ecf86cb491da1a61a7cee5cec5
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  share_plus_web:
    dependency: transitive
    description:
      name: share_plus_web
      sha256: b121451985255d61cfd30079fcfb25fd9c8a8e0222d25a7994e78175610f4357
      url: "https://pub.dev"
    source: hosted
    version: "2.0.4"
  share_plus_windows:
    dependency: transitive
    description:
      name: share_plus_windows
      sha256: "42cdcbc99652eceae5257eed9b06a26566d36ffc0238026ab71cb34102e05ae3"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.3"
  shared_preferences:
    dependency: "direct main"
    description:
      name: shared_preferences
      sha256: "81429e4481e1ccfb51ede496e916348668fd0921627779233bd24cc3ff6abd02"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.2"
  shared_preferences_android:
    dependency: transitive
    description:
      name: shared_preferences_android
      sha256: "8568a389334b6e83415b6aae55378e158fbc2314e074983362d20c562780fb06"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.1"
  shared_preferences_foundation:
    dependency: transitive
    description:
      name: shared_preferences_foundation
      sha256: "7bf53a9f2d007329ee6f3df7268fd498f8373602f943c975598bbb34649b62a7"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.4"
  shared_preferences_linux:
    dependency: transitive
    description:
      name: shared_preferences_linux
      sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.2"
  shared_preferences_platform_interface:
    dependency: transitive
    description:
      name: shared_preferences_platform_interface
      sha256: d4ec5fc9ebb2f2e056c617112aa75dcf92fc2e4faaf2ae999caa297473f75d8a
      url: "https://pub.dev"
    source: hosted
    version: "2.3.1"
  shared_preferences_web:
    dependency: transitive
    description:
      name: shared_preferences_web
      sha256: d762709c2bbe80626ecc819143013cc820fa49ca5e363620ee20a8b15a3e3daf
      url: "https://pub.dev"
    source: hosted
    version: "2.2.1"
  shared_preferences_windows:
    dependency: transitive
    description:
      name: shared_preferences_windows
      sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.2"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  speech_to_text:
    dependency: "direct main"
    description:
      name: speech_to_text
      sha256: dd05d5c5c58643f9ebd5a6f1b26fdc9342ed4fb4ca5538831a4dfcc17b27cd6e
      url: "https://pub.dev"
    source: hosted
    version: "4.2.2"
  speech_to_text_platform_interface:
    dependency: transitive
    description:
      name: speech_to_text_platform_interface
      sha256: "2ef9c0abf3b4340998fcb489afc4fc8cd7574eff21d912673be59b60ff16850c"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
      url: "https://pub.dev"
    source: hosted
    version: "1.11.0"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.0"
  typed_data:
    dependency: transitive
    description:
      name: typed_data
      sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
      url: "https://pub.dev"
    source: hosted
    version: "1.3.2"
  url_launcher:
    dependency: "direct main"
    description:
      name: url_launcher
      sha256: b1c9e98774adf8820c96fbc7ae3601231d324a7d5ebd8babe27b6dfac91357ba
      url: "https://pub.dev"
    source: hosted
    version: "6.2.0"
  url_launcher_android:
    dependency: transitive
    description:
      name: url_launcher_android
      sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def"
      url: "https://pub.dev"
    source: hosted
    version: "6.2.1"
  url_launcher_ios:
    dependency: transitive
    description:
      name: url_launcher_ios
      sha256: bba3373219b7abb6b5e0d071b0fe66dfbe005d07517a68e38d4fc3638f35c6d3
      url: "https://pub.dev"
    source: hosted
    version: "6.2.1"
  url_launcher_linux:
    dependency: transitive
    description:
      name: url_launcher_linux
      sha256: "9f2d390e096fdbe1e6e6256f97851e51afc2d9c423d3432f1d6a02a8a9a8b9fd"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  url_launcher_macos:
    dependency: transitive
    description:
      name: url_launcher_macos
      sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  url_launcher_platform_interface:
    dependency: transitive
    description:
      name: url_launcher_platform_interface
      sha256: "980e8d9af422f477be6948bdfb68df8433be71f5743a188968b0c1b887807e50"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.0"
  url_launcher_web:
    dependency: transitive
    description:
      name: url_launcher_web
      sha256: "7fd2f55fe86cea2897b963e864dc01a7eb0719ecc65fcef4c1cc3d686d718bb2"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.0"
  url_launcher_windows:
    dependency: transitive
    description:
      name: url_launcher_windows
      sha256: "7754a1ad30ee896b265f8d14078b0513a4dba28d358eabb9d5f339886f4a1adc"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  wakelock:
    dependency: "direct main"
    description:
      name: wakelock
      sha256: da22c0789e1f849bec43688a52f2290f4e66268056f7cd77cb71245aef4917a0
      url: "https://pub.dev"
    source: hosted
    version: "0.5.6"
  wakelock_macos:
    dependency: transitive
    description:
      name: wakelock_macos
      sha256: "047c6be2f88cb6b76d02553bca5a3a3b95323b15d30867eca53a19a0a319d4cd"
      url: "https://pub.dev"
    source: hosted
    version: "0.4.0"
  wakelock_platform_interface:
    dependency: transitive
    description:
      name: wakelock_platform_interface
      sha256: "1f4aeb81fb592b863da83d2d0f7b8196067451e4df91046c26b54a403f9de621"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.0"
  wakelock_web:
    dependency: transitive
    description:
      name: wakelock_web
      sha256: "1b256b811ee3f0834888efddfe03da8d18d0819317f20f6193e2922b41a501b5"
      url: "https://pub.dev"
    source: hosted
    version: "0.4.0"
  wakelock_windows:
    dependency: transitive
    description:
      name: wakelock_windows
      sha256: "857f77b3fe6ae82dd045455baa626bc4b93cb9bb6c86bf3f27c182167c3a5567"
      url: "https://pub.dev"
    source: hosted
    version: "0.2.1"
  web:
    dependency: transitive
    description:
      name: web
      sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
      url: "https://pub.dev"
    source: hosted
    version: "0.1.4-beta"
  win32:
    dependency: transitive
    description:
      name: win32
      sha256: a6f0236dbda0f63aa9a25ad1ff9a9d8a4eaaa5012da0dc59d21afdb1dc361ca4
      url: "https://pub.dev"
    source: hosted
    version: "3.1.4"
  xdg_directories:
    dependency: transitive
    description:
      name: xdg_directories
      sha256: "589ada45ba9e39405c198fe34eb0f607cddb2108527e658136120892beac46d2"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.3"
sdks:
  dart: ">=3.1.0 <4.0.0"
  flutter: ">=3.13.0"

Steps to reproduce
Hello,
When I was compiling and old flutter application in an effort to increase my Android TargetAPI (TargetSDK). I keep running into an error with the url_launcher_android even after I tried to migrate my app from Android Pre-Version 1.12 to Version 2. If anyone has any ideas please let me know.
Thanks.
Expected results
The app is supposed to compile like normal and run normally.
Actual results
Returning the following error when compiling:
FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/rohininani/.pub-cache/hosted/pub.dev/url_launcher_android-6.2.0/android/build.gradle' line: 25

* What went wrong:
A problem occurred evaluating project ':url_launcher_android'.
> Could not find method buildFeatures() for arguments [build_3we72p09yig7tnizcjel42fx9$_run_closure2$_closure5@3cfc7a84] on object of type com.android.build.gradle.LibraryExtension.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script '/Users/rohininani/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 483

* What went wrong:
A problem occurred configuring project ':url_launcher_android'.
> Failed to notify project evaluation listener.
  > Cannot invoke method substring() on null object
  > compileSdkVersion is not specified.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

Code sample
Code sample
Future<void> _launchInBrowser(String url) async {
    if (await canLaunchUrlString(url)) {
      await launchUrlString(
        url,
        mode: LaunchMode.platformDefault,
      );
    } else {
      throw 'Could not launch $url';
    }
  }

THIS IS THE ONLY PLACE WHERE I AM USING URL LAUNCHER

Screenshots or Videos

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
Launching lib/main.dart on sdk gphone x86 64 in debug mode...
Error executing simctl: 69
You have not agreed to the Xcode license agreements. Please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode and Apple SDKs license.

Running Gradle task 'assembleDebug'...
Error executing simctl: 69
You have not agreed to the Xcode license agreements. Please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode and Apple SDKs license.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/rohininani/.pub-cache/hosted/pub.dev/url_launcher_android-6.2.0/android/build.gradle' line: 25

* What went wrong:
A problem occurred evaluating project ':url_launcher_android'.
> Could not find method buildFeatures() for arguments [build_3we72p09yig7tnizcjel42fx9$_run_closure2$_closure5@3cfc7a84] on object of type com.android.build.gradle.LibraryExtension.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script '/Users/rohininani/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 483

* What went wrong:
A problem occurred configuring project ':url_launcher_android'.
> Failed to notify project evaluation listener.
   > Cannot invoke method substring() on null object
   > compileSdkVersion is not specified.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
Exception: Gradle task assembleDebug failed with exit code 1

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.2, on macOS 14.1.1 23B81 darwin-x64, locale en-US)
Error executing simctl: 69
You have not agreed to the Xcode license agreements. Please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode and Apple SDKs license.

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    ✗ Xcode end user license agreement not signed; open Xcode or run the command 'sudo xcodebuild -license'.
    ✗ Xcode requires additional components to be installed in order to run.
      Launch Xcode and install additional required components when prompted or run:
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
[✓] VS Code (version 1.84.2)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Please ignore the Xcode developer license. I haven't been active with my projects in a while.

I guess you are using an old AGP version. This may be related to the change by https://github.com/flutter/packages/pull/4535. You may solve this by upgrading your AGP version to a higher one, classpath 'com.android.tools.build:gradle:7.3.0' for eg.

Hello,
I tried to do the following lines within my terminal based on this flutter documentation: https://docs.flutter.dev/release/breaking-changes/android-java-gradle-migration-guide. However it resulted in the same error:
FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/rohininani/.pub-cache/hosted/pub.dev/url_launcher_android-6.2.0/android/build.gradle' line: 25

* What went wrong:
A problem occurred evaluating project ':url_launcher_android'.
> Could not find method buildFeatures() for arguments [build_3we72p09yig7tnizcjel42fx9$_run_closure2$_closure5@605fa7fa] on object of type com.android.build.gradle.LibraryExtension.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script '/Users/rohininani/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 483

* What went wrong:
A problem occurred configuring project ':url_launcher_android'.
> Failed to notify project evaluation listener.
   > Cannot invoke method substring() on null object
   > compileSdkVersion is not specified.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

Please let me know if there is anything I can do.
Thanks

Yes, turns out I was using the wrong gradle number as I was using a deprecated kotlin version as well.
Thanks.

Glad it works. Closing the issue as solved.


report crossings_upstream_access_load.sql bails with out of memory

Just running the inserts fails for ATNA. Presumably this is due to materializing the CTEs.
psql:sql/crossings_upstream_access_load.sql:383: ERROR:  out of memory
DETAIL:  Failed on request of size 40 in memory context "Caller tuples".
parallel: This job failed:
psql postgresql://snorris@localhost:5432/hillcrestgeo -v ON_ERROR_STOP=1 -f sql/crossings_upstream_access_load.sql -v wsg=ATNA

Write intermediate steps to temp table?

Can still fail:
psql:sql/crossings_upstream_access_load.sql:68: ERROR:  out of memory
DETAIL:  Failed on request of size 1284 in memory context "MemoizeHashTable".
CONTEXT:  parallel worker
parallel: This job failed:
psql postgresql://snorris@localhost:5432/hillcrestgeo -v ON_ERROR_STOP=1 -f sql/crossings_upstream_access_load.sql -v wsg=DOGC

Query does not fail when run independently - reduce the number of jobs

with just 2 jobs:
psql:sql/crossings_upstream_access_load.sql:68: ERROR:  out of memory
DETAIL:  Failed on request of size 4524 in memory context "MemoizeHashTable".
CONTEXT:  parallel worker
parallel: This job failed:
psql postgresql://snorris@localhost:5432/hillcrestgeo -v ON_ERROR_STOP=1 -f sql/crossings_upstream_access_load.sql -v wsg=HARR

Behaviour is inconsistent, with only one job the loop bails on BONP.
This is probably a config issue after having set server to be more conservative with:
sudo sysctl -w vm.overcommit_memory=2

Setting vm.overcommit_memory back to 0 things are more predictable - the issue appears to be reporting on bridges over the Fraser, there is just too much data upstream.

Seems to be ok now. This isn't really a bcfishpass issue anyway, more of a system config/resources challenge.


Fix the core dump by using filesystem error_code

The currently used filesystem method will cause an exception if the file system is damaged for some reason, resulting in a core dump of the process.
So the overloaded method with the error_code parameter should be used here to ensure that the process core dump will not be caused after an exception is thrown.
Fixes: openbmc/phosphor-bmc-code-mgmt#12
Tested: built phosphor-bmc-code-mgmt successfully and CI passes.
Signed-off-by: George Liu<EMAIL_ADDRESS>Change-Id: I329f78b481cb466e755bc1b78562583620f561c2

@lxwinspur fyi, pulling in your fix.


Upgrade identity resolver to latest version

Description of change
The changes allow the identity resolver to resolve and inspect DIDs created with identity-wasm < 0.5 as well as >= 0.5. This is mostly based on the detection of legacy DIDs in the initial resolution and the detected version being passed back and forth between the client and api. The client is reworked to expect the latest structure and the legacy structure is being converted to and from latest in the appropriate places.
TODO:

update example
use released identity-wasm packages

Type of change
Choose a type of change, and delete any options that are not relevant.

Enhancement (a non-breaking change which adds functionality)

How the change has been tested
Ran through scenarios with "legacy" and current DIDs and manually tested behavior in comparison to the currently deployed version.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[X] My code follows the contribution guidelines for this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[] I have made corresponding changes to the documentation
[] I have added tests that prove my fix is effective or that my feature works
[] New and existing unit tests pass locally with my changes

@obany the final text to be displayed for legacy DIDs is still outstanding, other then that the code is where we need it to be. Could you take a look and let is know if it aligns well the rest of the codebase?

@brancoder Would be great if you could also review. We can potentially include it with the next release for the new UI changes.

we need to change the example DID to: did:iota:3TT7QsmESw1dcboV2oVTAuJbbxaVYAThexZFct2z5Q2d


Import-CSV importing fields with newlines

Summary of the new feature / enhancement
It would help a lot if Import-CSV could be told to ignore newlines within delimited fields. There are text fields which contain text which legitimately contains newlines.
Example of such legitimate use is output from some SQL server management tools found in www.firstresponderkit.org. It is really annoying that they can't be easily imported into Excel. And it does not help that Import-CSV can't handle it either.
The newlines for those tools are in columns which contain XML data. They work fine in SQL Server Management Studio, but getting the data into Excel would help a lot.
Proposed technical implementation details (optional)
No response

For preprosessing, searching for a < preceded by a separator and a > followed by a separator will probably work. For SQL server, the separator is a tab.
There is quite a lot of XML in the exported query plans.
Thanks for the preprosessing idea!


Binary data restore when opening an image url

Sample code:
var config = Configuration.Default.WithDefaultLoader().WithCookies();
var context = BrowsingContext.New(config);
await context.OpenAsync("http://www.xxx.com/");
var doc = await context.OpenAsync("http://www.xxx.com/abc.jpg");
var data = doc.Body.TextContent;

When debug into the code, I can see the binary data of the image has been converted to UTF-8 string in doc.Boday.TextContent. That means the image has been downloaded. However I can't restore the image binary data with the UTF-8 string as some data has lost during the conversion.
Is there a way that I can get the original binary data of the image? For some reason, I can't download the image using regular way.

There are two more or less direct ways in v0.9.9:

Provide a custom document creator that can deal with the content
Insert an HTTP requester middleware to get the data

The first one is what is biting you right now. As there is no document creator for images, it will use a plain text document. That is obviously not what you want. Unfortunately, in v0.9.9 the document factory was not opened up yet, so the only way to access it is via reflection...
That leaves us with option 2. Here we could, e.g., create an HTTP requester wrapper, or a DocumentLoader wrapper. The latter can be easily injected into a configuration and has a virtual method DownloadAsync. This one is used when downloading the document and gives you the full request and response.
Hope this helps!

Thanks for the idea, where I can find an example for using  HTTP requester wrapper, or a DocumentLoader wrapper?


Support fullchain and/or CA certificates

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
I expect to see possibility for custom SSL certificates to get passed CA/fullchain file as well.
What did you see?
This following syntax not accepted, not with caFile nor fullchainFile.
[[tls.certificates]]
   certFile = "*.cer"
   keyFile  = "*.key"
   fullchainFile = "fullchain.crt"

Why is this deemed necessary?
Because not all devices will be able to trust the certificate otherwise, this is even more needed due to LetsEncrypt switching to a newer root certificate which a lot of older devices does not support without a fullchain provided to them.

Hello @samip5,
Did you try to specify the fullchain as certfile ?

Hello @samip5,
Did you try to specify the fullchain as certFile ?

No as that is not doable. This is automatically generated and thus the certfile itself should not be edited to include all of them.

I'm afraid I don't fully understand your use case, could you please explain it?
In the original message, you talked about LetsEncrypt, if you use it why do you need to define a certificate?

This is my point, the chain is incomplete without providing the fullchain to clients.

Hi! I'm Træfiker :robot: the bot in charge of tidying up the issues.
I have to close this one because of its lack of activity :disappointed:
Feel free to re-open it or join our Community Forum.

This is definitely not done.

Sorry, we still do not understand your use case.
The [[tls.certificates]] section is completely unrelated to the configuration of Let's Encrypt for Traefik. So we do not understand why you're talking both about this section and Let's Encrypt.
We need you to re-explain better what you're trying to achieve in order to help you.

The functionality that is missing, is the exact same that exists in nginx for example and a lot of other software. You can tell nginx the full chain certificate file, and it will provide it to the client when they establish the SSL connection and thus making the chain complete, which it's not without it. SSL best practises state that you should always provide the full chain.
Automatically renewed does not mean Let's Encrypt (acme) in all cases even if that's mostly the case with Traefik and automatically renewing certs.
I'm trying to support older Android devices, which will need the full chain to be sent to them, for them to say it's a valid certificate which needs all of CA certificates which exist in the fullchain.
Which part are you having trouble understanding?

I'm trying to support older Android devices

Is it related to the change of the ROOT CA of Let's Encrypt?
if yes, you can use preferredchain to choose your CA.
https://doc.traefik.io/traefik/v2.4/https/acme/#preferredchain


Add unicode feature to regex to unblock cargo test

Not sure if other encounters this? Tried to run cargo test under prost/tests, but got the following error:
   Compiling protobuf v0.0.0 (/repos/prost/protobuf)
error: failed to run custom build command for `protobuf v0.0.0 (/repos/prost/protobuf)`

Caused by:
  process didn't exit successfully: `/repos/prost/target/debug/build/protobuf-1fe2934115879d6d/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax(
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  regex parse error:
      https?://[^\s)]+
                 ^^
  error: Unicode-aware Perl class not found (make sure the unicode-perl feature is enabled)
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  )', prost-build/src/ast.rs:98:74
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I need to add unicode feature to regex to unblock it.

+1 For this MR. I encountered the problem too.

cc @LucioFranco

I think this is a dupe of https://github.com/tokio-rs/prost/pull/556?

oh seems so. hopefully this can be fixed soon so others won't hit this again and re-submit other PRs. :)
thanks!


Gitify displays the same notification repeatedly when using GHE Server

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

📝 Description
I can't write the details because this problem only occurs in notifications from private GHE server. Sorry.
Problem
In my environment, notifications that I have already “Marked as read” are displayed every time I refresh Gitify, and other new notifications are not loaded.
Debugging
When I checked by starting up the Developer Tool, I found that a status code of 205 was being returned for the “Mark as read” process, and /api/v3/notifications returned 200. I found that it had already been marked as read in the GHE Server.
I refreshed the Gitify, then this notification appeared again on Gitify. This was the same even if I refreshed the page after marking the notification as read multiple times. Also, in this state, Gitify does not load new notifications from the GHE Server.
However, if I enable “Disable cache” from the Developer Tools, everything will work fine. Gitify will display new notifications and will no longer display notifications that have already been read.If I turn off “Disable cache”, it will return to its original state.
What I found interesting was that when Disable cache was turned off, it looked like no requests were actually being sent when refreshing notifications manually.
Developer Tool shows the message as follows:

When I hover over the mouse cursor, the overlay will display as follows.

Only provisional headers are available because the request was not sent over the network and instead was served from a local cache, which doesn't store the original request headers. Disable cache to see full request headers.

It seems that Gitify's requests to the GHE Server may include an If-Modified-Since header. When I made a request with this header using the gh api command, I got the following result.
$ gh api --hostname xxx.xxx.xxx \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  -H 'If-Modified-Since: Tue, 29 Oct 2024 04:57:09 GMT' \
  '/notifications?participating=false'

gh: HTTP 304

$ gh api --hostname xxx.xxx.xxx \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  '/notifications?participating=false'

[]

🪜 Steps To Reproduce
Use GHE Server.

Press "Mark as read" for new notifications
Press "Refresh notifications"

Gitify Version
5.16.1
Operating System
macOS
GitHub Account
Combination
📸 Screenshots
No response

What version of GHE is the server on?

Probably using 3.12.10.

I have a theory...
@pddg - can you confirm if you have any of these Mark as Done options enabled

Mark as done is only supported on GitHub Enterprise 3.13.x or newer.  We have logic that hides the primary "mark as done" notification button, but I'm now thinking we need these guards around the other places it's used on (mark as read and mark as unsubscribe) interactions.
If you try disabling the settings you hopefully will have better luck 🤞

I will try it tomorrow ! Thank you!

Mark as done on unsbuscribe was only enabled in my environment.
The problem seems to exist after disabling these configs.
My current configuration about notification is as follows:

Interesting, thanks @pddg.
Would you mind checking the API calls within Gitify that "Mark as Read", and try recreating these outside using curl or postman etc...
They'll be  in the form PATCH https://{host}/notifications/threads/{id}

When I Mark as read from Gitify, the response was as follows:

205 is the status code returned when the process was successful, and the notification was actually marked as read.
https://docs.github.com/ja/rest/activity/notifications#mark-a-thread-as-read
Immediately after that, Gitify's automatic refresh was activated and I again received the notification I had just Mark as read……
I couldn't find a way to mark it as unread via the API, so I returned it to unread via the web UI, and then used curl to perform the same operation, but the result was the same.
THREAD_ID=
GHE_HOST=<my GHE server>
curl -L \
  -v \
  -X PATCH \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer $(gh auth token --hostname ${GHE_HOST})" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  https://${GHE_HOST}/api/v3/notifications/threads/${THREAD_ID}

* Request completely sent off
< HTTP/2 205
< server: GitHub.com
< date: Wed, 30 Oct 2024 23:35:50 GMT
< content-type: text/plain;charset=utf-8
< content-length: 0

Even after Mark as read from curl, it was still displayed as-is in Gitify.
At this time, there were several other unread notifications on the GHE Server, but these were not displayed in Gitify.

Thank you!
I'm now wondering if this line is problematic with GHE
https://github.com/gitify-app/gitify/blob/main/src%2Frenderer%2Futils%2Fapi%2Frequest.ts#L49
It would be interesting if changing this to always no-cache and testing locally helps. If it does, perhaps this needs to be behind a user settings, or influenced by GHE version.

I changed the suggested lines as follows:
diff --git a/src/renderer/utils/api/request.ts b/src/renderer/utils/api/request.ts
index f469cdfc..d9c09b09 100644
--- a/src/renderer/utils/api/request.ts
+++ b/src/renderer/utils/api/request.ts
@@ -46,9 +46,7 @@ export async function apiRequestAuth(
   axios.defaults.headers.common.Accept = 'application/json';
   axios.defaults.headers.common.Authorization = `token ${token}`;
   axios.defaults.headers.common['Content-Type'] = 'application/json';
-  axios.defaults.headers.common['Cache-Control'] = shouldRequestWithNoCache(url)
-    ? 'no-cache'
-    : '';
+  axios.defaults.headers.common['Cache-Control'] = 'no-cache';

   if (!fetchAllRecords) {
     return axios({ method, url, data });

Then, run the Gitify locally.
pnpm install
pnpm build
pnpm start

And do following:

Press "Mark as read" for new notification
Press "Refresh notifications"

The notification is shown again……
Warning message of Probisional headers are show is shown in Developer Tool for the request to fetch notification from GHE Server.

Hmm, thanks for testing @pddg. Without having access to a GHE environment I'm running out of suggestions.
Hopefully you can continue triaging locally to find a resolution which we can apply and release

@setchy
Maybe my previous attempt wasn't done properly. When I tried again today, it seemed that Cache-Control: no-cache solved the problem.
I've created a PR ( #1622 ), so I'd be happy if you could review it.

v5.16.2 seems to work perfectly in my environment!
Thank you for your support!


VEGA-2495 when the lpa can be used anomaly

Checklist

[x] I have updated the end-to-end tests to work with my changes
[ ] I have added styling for Dark Mode
[ ] I have checked that my UI changes meet accessibility standards

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.80%. Comparing base (7ef199c) to head (90247cb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #569      +/-   ##
==========================================
- Coverage   73.81%   73.80%   -0.02%
==========================================
  Files         115      115
  Lines        4006     4008       +2
==========================================
+ Hits         2957     2958       +1
- Misses        735      736       +1
  Partials      314      314

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


Unicode rethink: Pass test NewString.swift (which is really an old string)

Sprinkles explicit String constructors around, and then XFAILs the NewString test, which is trying to test the innards of the not-long-for-this-world _StringCore.

... I'm not really sure why it has all of these commits listed. Let me try again...

There we go!


Close Feature View On Slide

I use this library for affordances other than buttons, e.g. sliders, etc. Its sometimes confusing for the user to need to tap on a slidable affordance in order to hide the feature view. And believe it or not, they get stuck on it. So maybe allowing the view to dismiss on touch or slide rather a "click"  would be helpful

Since a TapTargetView is just a regular Android View, you can implement your own OnTouchListener to handle your use-case.


F100v2 support custom size/time roll

custom size/time rolling not supported for 100Gv2, need copy code from 20Gv2

commited, waiting for release

released closing


Add support for  path item types

The failure in this PR will be resolved once the PR for bumping to 3.10 is merged.


Broken link to azure arc security context constraint yaml

The link on line 152 is broken.
Line: "First, download the custom security context constraint (SCC) from GitHub and apply it to your cluster."
I couldn't find the correct link, it looks like the file is simply not available anymore, even in the new directory at https://github.com/microsoft/azure_arc/tree/master/arc_data_services/deploy/yaml
--
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c10cd412-0477-c839-a134-a636d177ae18
Version Independent ID: eb610e9a-7d0b-38da-8572-490506ee26a9
Content: Create data controller using Azure Data CLI (azdata) - Azure Arc
Content Source: articles/azure-arc/data/create-data-controller-using-azdata.md
Service: azure-arc
Sub-service: azure-arc-data
GitHub Login: @twright-msft
Microsoft Alias: twright

@Swimburger Thanks for your comment. We will review the issue and get back to you shortly.

@twright-msft  - can you please confirm the new location so we can update the doc?

working offline with @twright-msft to publish the source file. Hope to update soon.

@femsulu - It is here.  /cc: @MikeRayMSFT

thanks @twright-msft
@MikeRayMSFT  - can you share the new link so i can generate a PR or has a PR been raised for this change?


Machines with no SSH Configuration with GitHub won't be able to run Kam bootstrap command

Describe the bug
With all the prerequisites are there, run the kam bootstrap command from machine with no SSH configuration, you will face following error:
failed to create the gitops repository: "https://github.com/gajanan-more/gitops.git": failed to push bootstrapped resources: failed push remote to repository "git@github.com:gajanan-more/gitops.git" "Bad owner or permissions on /home/gamore/.ssh/config\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n": exit status 128

To Reproduce
Steps to reproduce the behavior:

Complete all the prerequisites
Run the following command

kam bootstrap \
  --service-repo-url https://github.com/<your organization>/taxi.git \
  --gitops-repo-url https://github.com/<your organization>/gitops.git \
  --image-repo quay.io/<username>/<image-repo> \
  --dockercfgjson ~/Downloads/<username>-auth.json \
  --git-host-access-token <your git access token> \
  --output <path to write GitOps resources>
  --push-to-git=true

You will see error mentioned above

Screenshots

Can you please add your observations? @amitkrout @chetan-rns

Same issue i am hitting here at in CI too in my pr - https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/redhat-developer_kam/87/pull-ci-redhat-developer-kam-master-v4.5-integration-e2e/1339637350115840000#1:build-log.txt%3A989
Though there is workaround to skip host key verification just by applying the command echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config, however i am not so sure about it, it fails in CI too.
I think we need to look into our kam code base. ping @chetan-rns @bigkevmcd
I am increasing the priority of the issue as it blocks pr #87

/kind bug

/kind bug

/priority High

@gajanan-more I created a new github account to verify it from my mac host. I do not hit the reported failure
$ kam bootstrap --service-repo-url https://github.com/kamuser/taxi --gitops-repo-url https://github.com/kamuser/gitops.git --image-repo quay.io/kamuser/taxi --dockercfgjson ~/Downloads/kam-bot-kambot-auth.json --git-host-access-token ***** --output resources

Checking dependencies

 ✓  Checking if Sealed Secrets is installed with the default configuration [2s]
 ✓  Checking if ArgoCD Operator is installed with the default configuration [3s]
 ✓  Checking if OpenShift Pipelines Operator is installed with the default configuration [3s]
Adding .git to https://github.com/kamuser/taxi

Completing Bootstrap process

 ✓  Authentication tokens encrypted in secrets
 ✓  Pipelines tracker has been configured
 ✓  OpenShift Pipelines resources created
 ✓  Openshift Route for EventListener created
 ✓  Created dev, stage and CICD environments
 ✓  Bootstrapped OpenShift resources successfully

 Next Steps:
 Please refer to https://github.com/redhat-developer/kam/tree/master/docs to get started.
Amits-MacBook-Pro:kam amit$

@chetan-rns can you please provide more details on how and when ssh configuration is needed for bootstrap command.

ssh-key
ssh-keygen   ssh-keyscan
[root@81588f058dd5 kam]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:juKCKePlPZm+j1zRDAnr4dbEkN+6FvZqkRxUdct+NGA root@81588f058dd5
The key's randomart image is:
+---[RSA 2048]----+
|     o. .... E   |
|     .=..   + o  |
|     oo=.    o o |
|    o +o+.  . . .|
|     +.oSo   . . |
|    .  X.     .  |
| o .. =.*        |
|= +.o=o+ .       |
|oo oo**o.        |
+----[SHA256]-----+
[root@81588f058dd5 kam]# cat /root/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC911c0RkQgllYi7TgShV8m+ay9wmFAPA1a+B4MU/bVkTCtKX0MPMREcJ4D7mcyoOPBS/D5lxuTreijIv7Vc/LM5X3PosCh7R3zcKYkszKqIbphcii7Vn+ZuNvp8IlZu4EftLPI+R1PV41KQGBymdtIaHr49yeMX8ztRafKtS0z01eLVhngCrpNT6LJtfEn8Qs68xx2I4Q63DqQTlrICf/WQYzK7KCWuCIv7b5NyCiqM3uucZkzwnHtjgPoyAbCvOyrrgPPHSJXj7aa+I0oDECKKQekbrR1UGng5Ms3GzzuLeLDCeHnaz2K6V/NjRfTcHupUxsnhS9v2YmGBLiIJa29 root@81588f058dd5
[root@81588f058dd5 kam]# kam bootstrap --service-repo-url https://github.com/kamuser/taxi --gitops-repo-url https://github.com/kamuser/gitops.git --image-repo quay.io/kamuser/taxi --dockercfgjson ../../openshift/origin/kam-bot-kambot-auth.json --git-host-access-token 715eb2858453009a850a465c1915e9b953e4c7af --output resources --push-to-git=true
✗  invalid configuration: no configuration has been provided
[root@81588f058dd5 kam]# oc login -u kubeadmin -p n7Hmu-JHj2V-Ltgz7-qFZLH https://api.ci-ln-0pcqh42-d5d6b.origin-ci-int-aws.dev.rhcloud.com:6443
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
Login successful.
You have access to 61 projects, the list has been suppressed. You can list all projects with ' projects'
Using project "default".
Welcome! See 'oc help' to get started.
[root@81588f058dd5 kam]# kam bootstrap --service-repo-url https://github.com/kamuser/taxi --gitops-repo-url https://github.com/kamuser/gitops.git --image-repo quay.io/kamuser/taxi --dockercfgjson ../../openshift/origin/kam-bot-kambot-auth.json --git-host-access-token 715eb2858453009a850a465c1915e9b953e4c7af --output resources --push-to-git=true
Checking dependencies
✓  Checking if Sealed Secrets is installed with the default configuration [803ms]
✓  Checking if ArgoCD Operator is installed with the default configuration [2s]
✓  Checking if OpenShift Pipelines Operator is installed with the default configuration [2s]
Adding .git to https://github.com/kamuser/taxi
Completing Bootstrap process
✓  Authentication tokens encrypted in secrets
✓  Pipelines tracker has been configured
✓  OpenShift Pipelines resources created
✓  Openshift Route for EventListener created
✓  Created dev, stage and CICD environments
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
RSA key fingerprint is MD5:16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
✓  Created repository
✓  Bootstrapped OpenShift resources successfully
Next Steps:
Please refer to https://github.com/redhat-developer/kam/tree/master/docs to get started.

/kind documentation

We can fix this, by implementing support for GitHub and GitLab to allow us to push the bootstrapped repo.
But, this won't help with the test environment, as you'll need to modify and push the source code at some point during the test process.

We can fix this, by implementing support for GitHub and GitLab to allow us to push the bootstrapped repo.
But, this won't help with the test environment, as you'll need to modify and push the source code at some point during the test process.


Release 2.43.0-rc.0

Can you review the text?

Thanks @juliusv for the review, I have addressed your feedback

/prombench 2.42.0

/prombench v2.42.0

/prombench cancel


Plist file name in installMDATPQuickScanJob.sh

Hi, you have the plist file name for the scheduled scans as: com.microsoft.mdatp.schedquickscan.plist where the official documentation has com.microsoft.wdav.schedquickscan.plist listed as the file path. https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/mac-schedule-scan?view=o365-worldwide#schedule-a-scan-with-intune
Not sure if both work or not.

It shouldn't matter, it's just to identify the launch daemon. I'll update anyway though.


Add Processwire cms / cmf example

Hi @abiosoft ,
mybe you could add the processwire rules? Isn't tested with all the features, but seems to work (frontend, backend, file upload, seo urls).
It's your or based on your converted rules (https://github.com/mholt/caddy/issues/472).
https://mysite.com, https://www.mysite.com {
    root /wherever/your/files/are

    fastcgi / unix:/var/run/php-fpm/php-fpm.sock php

    internal /forbidden

    rewrite {
        r /\.
        to /forbidden
    }
    rewrite {
        r /(COPYRIGHT|LICENSE|README|htaccess)\.txt
        to /forbidden
    }
    rewrite {
        r ^/site(-[^/]+)?/assets/(.*\.php|backups|cache|config|install|logs|sessions)
        to /forbidden
    }
    rewrite {
        r ^/site(-[^/]+)?/install
        to /forbidden
    }
    rewrite {
        r ^/(site(-[^/]+)?|wire)/(config(-dev)?|index\.config)\.php
        to /forbidden
    }
    rewrite {
        r ^/((site(-[^/]+)?|wire)/modules|wire/core)/.*\.(inc|module|php|tpl)
        to /forbidden
    }
    rewrite {
        r ^/(site(-[^/]+)?|wire)/templates(-admin)?/.*\.(inc|html?|php|tpl)
        to /forbidden
    }

    # GLOBAL
    rewrite {
        to {path} {path}/ /index.php?it={path}&{query}
    }
    log /var/log/www/access.log {
      rotate {
        size      50
        age       7
        keep      5
      }
    }
    errors {
      log /var/log/www/error.log {
        size      50
        age       7
        keep      5
      }
    }
}

Thanks for the suggestion. You can also go one step further and create the PR. :)


using namespace in update action

i've been using other then default namespace and ran into 500 error when updating settings, because of no admin_root_path.
i've added namespace prefix as in devise module of activeadmin, please review

@alonerage Thanks for this pr, can u add tests?


Convert finalise generate documents form to crispy forms

Initial go at rendering the finalise generate documents form with Django Crispy Forms.

Minor issues to be resolved:

The new page title (as in browser tab title) is not the same as for the old page
The new page is has got slightly different white space around the form, may be missing some parent  elements
CI build errors related to setoptconf: error in setoptconf setup command: use_2to3 is invalid


Test running multiple times

After deploying and invoking a test, it will run ~3 additional times. After which I receive the following errors.

{ ServerlessError: Connection timed out after 120000ms
    at Response.req.send (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:187:20)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:364:18)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:683:14)
    at Request.transition (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:685:12)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:683:14)
    at Request.transition (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:685:12)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
    at callNextListener (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:95:12)
    at Request.RESET_RETRY_STATE (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/event_listeners.js:442:9)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:101:18)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:683:14)
    at Request.transition (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:685:12)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:683:14)
    at Request.transition (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:685:12)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
    at callNextListener (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:95:12)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/event_listeners.js:296:11)
    at Request.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:685:12)
    at Request.callListeners (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:683:14)
    at error (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/event_listeners.js:295:22)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/http/node.js:83:7)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:105:13)
    at ClientRequest.emit (events.js:207:7)
    at TLSSocket.emitTimeout (_http_client.js:706:34)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:105:13)
    at TLSSocket.emit (events.js:207:7)
    at TLSSocket.Socket._onTimeout (net.js:400:8)
    at ontimeout (timers.js:471:11)
    at tryOnTimeout (timers.js:306:5)
    at Timer.listOnTimeout (timers.js:266:5) name: 'ServerlessError', statusCode: undefined }

	Your function invocation has completed.

Fixed by #90.  Thanks for reporting!


[API] Extension of the prebuilt-API to load kernels from JAR files

Description
Extension of the prebuilt API to be able to load prebuilt kernels stored in JAR files.
Example:
TaskGraph taskGraph = new TaskGraph("sample")
   .transferToDevice(DataTransferMode.EVERY_EXECUTION, param1, param2, ... )
         .prebuiltTask("t1", // task name
                        "myKernel", // kernel name
                        MyKlass.class,    // Accessible klass in the CLASSAPATH that can access the ptx file.
			"kernelFile.ptx",  // File that contains the kernel to run
			accessorParameters)
                .transferToHost(DataTransferMode.EVERY_EXECUTION, output);

This API access is required by GAIA for the project AERO.
Problem description
n/ a.
Backend/s tested
Mark the backends affected by this PR.

[ ] OpenCL
[X] PTX
[ ] SPIRV

OS tested
Mark the OS where this PR is tested.

[X] Linux
[ ] OSx
[ ] Windows

Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.

[ ] Yes
[X] No

How to test the new patch?
This has been tested in the GAIA repo with the following commnad:
tornado --threadInfo -cp target/gaia-1.0-SNAPSHOT.jar gaia.MethodLeastSquareTornado 13

@jjfumero is it possible to add a small test case that uses this API extension?

Yes, I think it is possible. I will take a look

Test provided:
tornado-test -V uk.ac.manchester.tornado.unittests.prebuilt.PrebuiltTest#testPrebuiltWithJar

Works for OpenCL and PTX. I am checking for SPIR-V.

I revert this PR to draft again. Since this is very specific to the AERO project, we might only added it in the AERO GitHub space.


Proposal for Frequently Asked Questions (FAQ)

Hello there! I'm interested in your project so I would like to add to it by writing the Frequently Asked Questions.. Looking forward to hear from you.

OK, Welcome!
Please create PR or write down what you want to write.

A public (I mean indexed by search engines - as opposite to Facebook or Telegram groups) forum might also be a good solution.
This would reduce an amount of creating issues arising from lack of knowledge about the browser's features.
Moreover, its publicity will help in avoiding asking same questions many times.
After some time its users would create tutorials, tips & tweaks, etc. which might be a base for creating the FAQ (if necessary).


Refs #28478 -- Fixes for preventing connections to disallowed databases.

https://code.djangoproject.com/ticket/28478#comment:13

@charettes Regarding the commit "Prevented timezone assignment for unusable PostgreSQL connections.".
We've recently switched from using Django's persistent connections to using an external connection pool, pgbouncer. This means each request creates a new connection, and so I looked at reducing connection startup latency as much as possible (on the Django side, pgbouncer itself is pretty fast). The major latency contribution I noticed was the ensure_timezone function - turns out our application and the DB didn't agree on the value so the cursor.execute(self.ops.set_time_zone_sql(), [timezone_name]) code path was taken, which adds a DB roundtrip. We fixed this misconfiguration and that helped.
This commit adds an unconditional roundtrip to the same function. So this will be a slight performance regression for us.
Do you think this can use a "better ask for forgiveness" approach (try and catch the exception) instead, to avoid the roundtrip in the happy path?
(As a side note, it seems odd that a check if a connection is usable is needed when the connection was just obtained a couple lines before, but I didn't dig into the actual problem being fixed.)
Thanks.

Hello @bluetech,

The major latency contribution I noticed was the ensure_timezone function - turns out our application and the DB didn't agree on the value so the cursor.execute(self.ops.set_time_zone_sql(), [timezone_name]) code path was taken, which adds a DB roundtrip. We fixed this misconfiguration and that helped.

Sorry for all the trouble here but this is documented behaviour.

This commit adds an unconditional roundtrip to the same function. So this will be a slight performance regression for us.
Do you think this can use a "better ask for forgiveness" approach (try and catch the exception) instead, to avoid the roundtrip in the happy path?
(As a side note, it seems odd that a check if a connection is usable is needed when the connection was just obtained a couple lines before, but I didn't dig into the actual problem being fixed.)

Right, I assume ensure_timezone could accept an ensure_usable=True kwarg to avoid the if not self.is_usable.
Could you file a ticket and submit a PR to address it?

@bluetech, submited a ticket and currently working on a fix.

Sorry for all the trouble here but this is documented behaviour.

Yes, this was definitely a misconfiguration on our part. Thanks for the reference.


Hungarian translation

I prepared the Hungarian translation.

Nice, thank you mate ✌
I will merge it soon!


Question about lengthy commands

I have a tip which only becomes productive when configured as an alias. Should I submit it?
My tip: http://stackoverflow.com/questions/43607504/how-to-create-topic-branch-with-a-correspondingly-configured-remote-tracking-bra/43620068#43620068

So far I have been trying to avoid aliases as much as I can.
Planning to start a alias repo.

Could you let me know when the alias is ready for PRs?


Update and New Boost Releases

**Update for all recent versions of Boost and make releases: **

[ ] 1.61.0
[ ] 1.62.0
[ ] 1.63.0
[ ] 1.64.0
[ ] 1.65.0
[ ] 1.66.0
[ ] 1.67.0
[ ] 1.68.0
[ ] 1.69.0

Open to Module additions for each version here. I'm going to have a look at what is added in each release and add the best new components for iOS by default.
If anyone has ideas please comment here.
Planned for this week to do this
Also will be adding BITCODE by default for all releases added from 1.61.0

Hi! What is the progress of this awesome work to-do?

Haha, oh I’ve just super busy. This is on my agenda for the next week as
I’m on leave from my full time. Very soon!
On Thu, 11 Oct 2018 at 7:04 pm, Alexander Widerberg <
<EMAIL_ADDRESS>wrote:

Hi! What is the progress of this awesome work to-do?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/danoli3/ofxiOSBoost/issues/49#issuecomment-428859989,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAytHOOoVcCzMA1RMu2SqMx_CW1U5T6cks5ujvt3gaJpZM4WDO5V
.


Enable the Clippy's "type_complexity" lint

This PR enables the type_complexity lint, and fixes all warnings caused by it.

Coverage remained the same at 83.208% when pulling 86a5fd276fb3ae8cf52f9a36caa6a7fa038c2f82 on vladimir-kazakov:clippy-fix-type-complexity into 52f0bd7fc460e3f3a137d5b48ddfc075bbc78649 on xiph:master.


Codeql not recognising IAC code

What happened?
I tried to initialise database for an iac code but it is not recognising the files eventhough there are .tf files within the directory
Version
0.1.0
Relevant log output
oscar@DESKTOP:~/test3$ gh codeql database create testdb12 --language=iac --source-root=/home/oscar/test3/
Initializing database at /home/oscar/test3/testdb12.
Running build command: []
Finalizing database at /home/oscar/test3/testdb12.
CodeQL did not detect any code written in languages supported by CodeQL. This can occur if the specified build commands failed to compile or process any code.
 - Confirm that there is some source code for the specified language in the project.
 - For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
   an explicit --command.
 - For other languages, the --command must specify a "clean" build which compiles
   all the source code files without reusing existing build artefacts.

@akhiloscar To be able to use the CodeQL IaC Extractor, you will need to download the release archive, unzip it, and either do the following:

Install in the same place as CodeQL

Run gh codeql version --format json and find the unpackedLocation

Install it anywhere on the system and use --search-path with every command

# same place
gh codeql resolve languages
# different place
gh codeql resolve languages --search-path ~/path/to/unzipped/archive

You should see iac in the list.
I might need to write up better docs on this subject.

@GeekMasher , iac is showing up while resolving language

@GeekMasher , If possible can you share the repo for advanced-security/iac-queries

They are CodeQL Packs (they are public)
https://github.com/orgs/advanced-security/packages?repo_name=codeql-extractor-iac
You can install them using the following:
gh codeql pack download advanced-security/iac-queries

Thanks @GeekMasher , but still facing issue even after the pack is installed

Oh very interesting. That might be an issue with the GITHUB_TOKEN or GH_TOKEN being passed to CodeQL via the gh-cli.
You might have to login to github.com using gh auth login.

@GeekMasher , Tried authenticating but facing the same error

@akhiloscar Even more interesting. If you are using a Proxy, you might need to add your CA to the CodeQL's Java certificate store.
If this fails, try cloning the repository and running the following:
gh codeql pack install ./ql/src

This will install the pack manually from the source code (will compile so might take 1-2mins).
You might need to checkout a particular tag as I seem to have broken main in the latest commit 🤔

@GeekMasher , Installed advanced queries/iac using "gh codeql pack install ./ql/src" now facing the below error
root@test-linux-01-IAC-POC:/home/adminuser/iac-codeql# gh codeql database create db1 --language=iac --source-root=/home/admi           nuser/iac-codeql
Initializing database at /home/adminuser/iac-codeql/db1.
Running build command: []
[2024-03-24 07:18:59] [build-stderr] /root/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/to           ols/autobuild.sh: 3: exec: /root/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/tools/linux64/extractor: not found
[2024-03-24 07:18:59] [ERROR] Spawned process exited abnormally (code 127; tried to run: [/root/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/tools/autobuild.sh])
A fatal error occurred: Exit status 127 from command: [/root/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/tools/autobuild.sh]
root@test-linux-01-IAC-POC:/home/adminuser/iac-codeql# cd /root/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/tools/
root@test-linux-01-IAC-POC:~/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/tools# ls
autobuild.cmd  autobuild.sh  index-files.cmd  index-files.sh  pre-finalize.cmd  pre-finalize.sh  qltest.cmd  qltest.sh
root@test-linux-01-IAC-POC:~/.local/share/gh/extensions/gh-codeql/dist/release/v2.16.5/codeql-extractor-iac/tools#

@akhiloscar Sorry for the delay. I found out what the issue is.
When scanning configuration files, the extractor expects at least 1 HCL file (this is the main language supported). You can fix this but running a touch random.tf file before running the extractor but I plan on fixing this. I'll be raising an issue and trying to fix this tomorrow.


YouTube video linked in the README needs to be updated to reflect new name, logo

It still says 'Kontena'
https://www.youtube.com/watch?v=04v2ODsmtIs&feature=youtu.be

Fixed (don't know version).


Remove CloudSdkProvider in favour of new CloudSdkResolver strategy

Turn CloudSdkProvider, a wrapper class that looked for the Google Cloud SDK in a user-specified location, into a CloudSdk resolver.  This allows us to get rid of CloudSdkProvider and use the normal CloudSdk.Builder pattern.  CloudSdkPrompter must continue to exist, however.

[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-eclipse-tools/plugins/com.google.cloud.tools.eclipse.appengine.localserver/src/com/google/cloud/tools/eclipse/appengine/localserver/ui/CloudSdkRuntimeWizardFragment.java:[150]
[ERROR] java.nio.file.Path location = new CloudSdk.Builder().build().getSdkPath();
[ERROR] ^^^^^^^^^^
[ERROR] The method getSdkPath() from the type CloudSdk is not visible
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-eclipse-tools/plugins/com.google.cloud.tools.eclipse.appengine.localserver/src/com/google/cloud/tools/eclipse/appengine/localserver/ServletClasspathProvider.java:[33]
[ERROR] java.nio.file.Path cloudSdkPath = new CloudSdk.Builder().build().getSdkPath();
[ERROR] ^^^^^^^^^^

This depends on a change to app-tools-lib.  I'll rebase these changes onto #335.
I had speculated to João on chat about turning the CloudSdkPrompter, which prompts the user to download and configure the Google Cloud SDK if required, into a last-ditch resolver:

I had wondered if we could turn the [eclipse-side] CloudSdkPrompter into the last-ditch Resolver that would prompt the user if it was running on the SWT thread and if there wasn't a some specific ThreadLocal flag to disable prompting.
Turning the [eclipse-side] Prompter into a Resolver also reduces the number of calling conventions to create / discover the SDK.

That would require some way to order the resolvers.

Travis failed:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project com.google.cloud.tools.eclipse.sdk: Compilation failure: Compilation failure:
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-eclipse-tools/plugins/com.google.cloud.tools.eclipse.sdk/src/com/google/cloud/tools/eclipse/sdk/internal/CloudSdkPreferenceResolver.java:[19]
[ERROR] import com.google.cloud.tools.appengine.cloudsdk.CloudSdkResolver;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import com.google.cloud.tools.appengine.cloudsdk.CloudSdkResolver cannot be resolved
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-eclipse-tools/plugins/com.google.cloud.tools.eclipse.sdk/src/com/google/cloud/tools/eclipse/sdk/internal/CloudSdkPreferenceResolver.java:[29]
[ERROR] public class CloudSdkPreferenceResolver implements CloudSdkResolver {
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] CloudSdkResolver cannot be resolved to a type
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-eclipse-tools/plugins/com.google.cloud.tools.eclipse.sdk/src/com/google/cloud/tools/eclipse/sdk/internal/CloudSdkPreferenceResolver.java:[40]
[ERROR] public Path getCloudSdkPath() {
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] The method getCloudSdkPath() of type CloudSdkPreferenceResolver must override or implement a supertype method
[ERROR] /home/travis/build/GoogleCloudPlatform/gcloud-eclipse-tools/plugins/com.google.cloud.tools.eclipse.sdk/src/com/google/cloud/tools/eclipse/sdk/internal/CloudSdkPreferenceResolver.java:[49]
[ERROR] public int getRank() {
[ERROR] ^^^^^^^^^
[ERROR] The method getRank() of type CloudSdkPreferenceResolver must override or implement a supertype method
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :com.google.cloud.tools.eclipse.sdk

Please resolve conflicts and repush

@briandealwis GoogleCloudPlatform/gcloud-eclipse-tools#335 landed, let me know when this is ready for another review.

Revisiting now that appengine-plugins-core 0.1.4 is out

@akerekes ptal

LGTM assuming tests pass


Moralis version 1.0.0 is deprecated

moralis version 1 is deprecated now
App Id and server url are related to the Moralis server.
It has been now replaced with API key.
where shoud we add API Key ?

isn't this self-hosted way available with firebase service ? @b4rtaz

Nop.

hi. Is there any solution to migrate from v1 to v2 without self hosting?


Update fragment to be viewer-container

Update 'view' to 'viewer-container'
https://github.com/pulibrary/bibdata/blob/e97b8911e50c10a2b6d2279cbddc2317d9f67b91/marc_to_solr/lib/princeton_marc.rb#L434
The id of the viewer container changed from view to viewer-container.

Part of https://github.com/pulibrary/orangelight/issues/1757

So, oddly, if you clear your cache and use the existing link with the #view anchor it does bring you to the correct place on the page the first time, but not subsequent times. Using the same link with #viewer-container does not appear to. I think it's possible that this is a javascript issue, as opposed to an issue with the text / anchor of the link.

The element with div id="view" is always at the bottom of the page. The viewer-container is the id of the iframe viewer container. We are building this element with id='viewer-container' in javascript. When there is a thumbnail with icon content indicating there is a viewer at the bottom of the page this thumbnail is part of an element with href 'viewer-container'. When the user clicks on the thumbnail or content-icon it will navigate them to the viewer-container at the bottom of the page. example of an element is:

Go to viewer

When there is a text-anchor 'Digital content' in the record page with a link having the fragment https://catalog.princeton.edu/catalog/9946018083506421#view this will still navigate the user to the bottom of the page , because the div element with id=view is always at the bottom of the page and exists as a wrapper of the 'viewer-containers'. Unfortunately this cannot happen right now because the catalog domains that are being created through the indexing process are pulling ids from the figgy_ark_cache which is very old and containes voyager ids. This is why currently in Digital Content : the url would be 'https://catalog.princeton.edu/catalog/4601808#view'. When the user clicks on the url it will open a new page because it resolves to the alma id. The figgy_ark_cache cannot be updated because the specific rake task is broken. This is a different ticket and another discussion but all are connected https://github.com/pulibrary/orangelight/issues/3104.
@maxkadel I'm looking into this ticket as well as the rest that are connected in #3104


Disk size limit

Implementation

Get metaData file size
Get accurate count of writeBytes whenever a readFile is deleted or a readFile is converted into a .bad file
Get all bad file info
Remove read file
Check to see if there is enough space when writing data to file

If there is not, delete all .bad files before deleting readFile

Abstract code from moveForward() to create moveToNextReadFile() which is also used in removeReadFile()

Testing

Test that files are deleted when a new write to file will surpass disk size limit
Test that if data size is greater than file size and the new write to file will surpass disk size limit, DiskQueue will delete multiple files
Test that DiskQueue will delete .bad files before deleting readFile
Test that DiskQueue is able to account for preexisting .bad files associated with DiskQueue object
Test that DiskQueue is able to remove corrupted files when making disk space
Test that DiskQueue is able to account for corrupted files when reading one and converting the corrupted read file into a bad file

Note
Half of the PR is code for testing

Hi Kevin,
I also need a function d.TotalFileBytes() to calculate how many bytes under buffer directory folderPath. It also would be a metrics for disk queue, which we would monitor. Thanks a
lot!
(You could choose a better function name)

If d.writeFileNum++ >= 1000000 or >= MAX_INT64, it might be an issue.
If the retention_size is not big enough, d.writeFileNum would increase quickly.
Since the d.writeFileNum is always increasing, it would be over MAX_INT64 in the future.
func (d *diskQueue) fileName(fileNum int64) string {
	return fmt.Sprintf(path.Join(d.dataPath, "%s.diskqueue.%06d.dat"), d.name, fileNum)
}

Unfortunately, this seems like a limitation in NSQIO's design, which relies on writeFileNum to be greater than or equal to readFileNum. I was wondering if we could overcome this limitation by "resetting" DiskQueue once all of the data in the queue has been read.


[DEMO-2558] Add placeholder workflow

Add placeholder workflow for ease of testing. Will be fleshed out in
subsequent commits.
This should always pass for now so as to not block any current work.

Summary
Just committing placeholder workflow
Checklist

[ ] Documentation updated
[ ] Unit tests updated
[ ] User Acceptance Tests updated

Reviewers

 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.


b/31228845: wait for query killer to exit

@enisoc
We found a race condition where the query killer goroutine may
get delay to the extent that the original routine returns first
and close the connection (due to an error). If this happens, then
the killer ends up trying to kill a closed connection which results
in a seg fault.
The new code waits for the killer routine to exit before returning.

LGTM


Show switcher does not work

You have the following code in your templateDetails.xml:
				<field
					name="theme-switcher"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					default="1"
					label="TPL_LIGHTNING_THEME_SWITCHER_LABEL"
					>
					<option value="true">JNO</option>
					<option value="false">JYES</option>
				</field>

This does not do what you think it does. The "true" and "false" values are strings, not booleans. As a result, the both evaluate to boolean true when you typecast them to boolean in PHP. Even if that wasn't the case the logic is inverted.
The correct code is:
				<field
					name="theme-switcher"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					default="1"
					label="TPL_LIGHTNING_THEME_SWITCHER_LABEL"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

Typecasting string 0 to boolean yields boolean false and typecasting string 1 to boolean yields boolean true which is what you were trying to do.

Closing as you fixed this in: https://github.com/C-Lodder/lightning/pull/76


refactor: joined string and missing key recovery for better error messages.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

refactor: joined string and missing key recovery for better error messages.

2. What is the scope of this PR (e.g. component or file name):

kclvm/sema/src/resolver/config.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

refactor: joined string and missing key recovery for better error messages.

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

test/grammar/types/interpolation/interpolation_0/main.k
test/grammar/types/interpolation/interpolation_1/main.k

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.988%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2614

💛  - Coveralls


[SEO Improvements] - Register page

Description
Set up title and metadata inside the head tag.
You can take a look how it implemented inside the main page:
https://github.com/origranot/reduced.to/blob/master/apps/frontend/src/routes/index.tsx#L182

Screenshots
No response
Additional information
No response

Hello @origranot !
I would like to make it for the hacktoberfest event. Can you assign me on this ?

To be counted for the hacktoberfest, this PR need to be pushed between 1st October and the 31 October. Weird rule. I'll reopen the PR the 1st October. 🤦
Your PR/MRs must be created between October 1 and October 31 (in any time zone, UTC-12 thru UTC+14).
Your PR/MRs must be made to a public, unarchived repository.

Hello, I am interested in working on this task for the upcoming Hacktoberfest.

Sounds good!

I want to work on the issue. Please assign this issue to me.

I want to work on the issue. Please assign this issue to me.

Hey!
Thank you for your help, this issue is already assigned and hopefully will be resolved soon.
There are another issues to help with 👑

Assign me one task please!

I am willing to contribute to this assignment.


539 Github actions to deploy to prod when merged into specified branch

Github actions had already been set up, staging has now been merged to production and production is working as expected.


[1813] delete a course

Context
Allowing deletion of courses through the Ruby gem discard.
Pairing @timabell & @NyWeb
Changes proposed in this pull request

Include gem
Used the gems callbacks for throwing error when a course can't be deleted
Forced kept as a scope for provider
Minor clean-up of test
Added tests

Guidance to review
Simplest implementation of if discard is allowed was to throw an exception in before_discard
Feedback on the test setup always welcomed.
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 [S] Course - Soft Delete a course (MCBE)

Theses commits need a bit more cleaning up before we merge

Force push:

filtered out merge of apv1 change and related patches (can be shipped independently)


Can it play idle animation by default?

Other animations are too exaggerated.

Yes, but you'll have to recompile. Remove the code below this line: https://github.com/Querijn/LeagueModel/blob/master/src/application.cpp#L235
and call Module.PlayAnimation();

Can't it be configured at initialization time? XD
For example: canvas background, model size.

It can be configured at initialization time, the code that chooses the animation is found here, as you can see I just choose the first emote it finds. You can probably replace it with idle, but it might not be good, as there are a lot of animations that are "switching to idle state".
Canvas background will have to be rendered, I have no support for this. Model size can be changed but I don't scale the animation right now, meaning that some models will look weird (those with other submeshes that are relative to one another but not attached, eg swords)


Missing semicolon

https://github.com/thewh1teagle/sherpa-rs/blob/557cea20ec398f4eb1ab5d18280160f7ab1f0306/sys/build.rs#L91

Thanks! Fixed & releases pre release to crates.io
In addition I added build instructions with cuda in BUILDING.md
Let me know if it worked for you :)

Thank you for the fix. Unfortunately, there are still issues. It now fails with the following error:
error: could not find native static library onnxruntime, perhaps an -L flag is missing?

The issue was from upstream, and fixed in https://github.com/k2-fsa/sherpa-onnx/issues/1085
I also created Github actions to test cuda build in actions/runs/9878944961

It is not fixed yet. Right? I still get the error.

It is not fixed yet. Right? I still get the error.

https://github.com/thewh1teagle/sherpa-rs/actions/runs/9913932528/job/27391980119
It's fixed in latest version
you can see successful build with cuda in github actions

If I am not mistaken, CUDA is tested only on Windows. The entry for Ubuntu 22.04 does not build with CUDA turned on.
I see only cargo build and no cargo build --features="cuda". Using the latter command I get the onnxruntime missing error.

I forgot to mention that I use Ubuntu 24.04.

I just noticed that it does not compile in Windows either. The GitHub action silently failed with the same error message.

I just noticed that it does not compile in Windows either. The GitHub action silently failed with the same error message.

You right. I missed that.
I released new version. the library is much more stable now and compiles successfully including with cuda.
https://github.com/thewh1teagle/sherpa-rs/actions/runs/10231498668/job/28307493397

I'll take a look at it these days. Thank you.

I'll close this issue for now.
If you still experience issues with cuda feel free to reopen!


api->DetectOS() segfaults in Tesseract 4

I maintain the Tesseract bindings for the R programming language. After upgrading libtesseract-dev in Debian (testing) to Tesseract4, the following segfaults. Everything works fine in Tesseract3.
void ocr_pix(tesseract::TessBaseAPI * api, Pix * image){

  api->ClearAdaptiveClassifier();
  api->SetImage(image);
  char *outText = api->GetUTF8Text();

  //meta data
  OSResults out;
  api->DetectOS(&out);

  ...

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Has the api for DetectOS() changed? Is there another API to get the script / orientation of a page?

@jeroen, can this issue be closed?

Yes thank you for the example. I commented in the gist.


New clear filters button display issue

The new clear filters icon/button will display badly depending on the screen size.
It will overlap with the search box.
It's probably only a css change that is needed, but I don't know what css setting that would be.

Hmmm, that's a tricky one. Any CSS experts on the team we can ask for help?

I can take a look.

I've tried a few things, but I'm just shooting in the dark. :-P

I'm not seeing this behavior on main using the old config data (live from zambia.octocon.com, due to an issue I mentioned in PR#107).  Can you reproduce it with the old data, and/or give me a sample of your current data that causes it?

Check out https://conclar.conreg.org

Check out https://conclar.conreg.org

Thanks!  I see some bad behavior, though not exactly the same thing.  It should be enough to work with for now.

I accidentally checked in a config file referencing local data files. I've submitted a PR to put back the previous ones. Could someone approve, please?

I've had a friend who works in UI design take a look and she suggests turning the X into a regular button and moving below the filters, which would solve the problem. What do you think?

A little button that says "Clear" or "Reset" would be nice.

This is the kind of UI I have in mind: https://fingalppn.ie/policy-hub/

I have uploaded the proposed change to https://conclar.conreg.org/

I like it.

Works well

Resolved by #112.

I have uploaded the proposed change to https://conclar.conreg.org/

Nice!  I would say "Clear filters" rather than "Reset filters" because it's clearer (pardon the pun).  Also, I'd style it like the Expand/Collapse buttons, though maybe a bit bigger than them; the current style is a bit...imposing when it appears.

Clear Filters would be my preferred label also, but styling it like the expand/collapse buttons is not great for UX, as it confuses the two types of interface components. Also a bigger button is more clear. For my Octocon branding fork (in progress), I'm working on making all the UI elements larger for accessibility (except for the main buttons, which are fine as they are).

The label is configurable in the config.json file, so up to the site implementor. However, if the consensus is for "Clear filters", I could make that the default


MPS on MacOS?

Before I start digging through the code, is there a straightforward way to use MPS for M1/M2 Macs rather than CUDA for NVIDIA? PyTorch does support MPS: https://pytorch.org/docs/stable/notes/mps.html

I have not tested with MPS on MacOS and it is not supported out of the box. The framework assumes CUDA device.
All CPU-to-CUDA transfers are done with helper function from the extension "tops". To use MPS  instead you should only need to change the following functions:
to_cuda and get_device.
Let me know if you get it to work!

Closing this issue for now. Reopen if you have further issues.


Create a setup.cfg

As a Developer
I need create a setup.cfg file
So that typing nosetests can run the test suite,
Details & Assumptions:

all of nosetests options are included in the config file

Acceptance Criteria:
Given a setup.cgf file avaiable
When I want to run all tests avaiable
Then I just need to run the commend 'nosetests'

Can be closed (after group verified). Direct copied from the template


Export float ImmutableKdTree and Manhattan from root. Clean up examples

Codecov Report

Merging #103 (bb60e27) into master (9fd5e80) will decrease coverage by 0.15%.
The diff coverage is 50.00%.

:exclamation: Current head bb60e27 differs from pull request most recent head e2c95fa. Consider uploading reports for the commit e2c95fa to get more accurate results

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
- Coverage   91.21%   91.07%   -0.15%
==========================================
  Files          41       41
  Lines        5455     5446       -9
  Branches     5455     5446       -9
==========================================
- Hits         4976     4960      -16
- Misses        450      458       +8
+ Partials       29       28       -1

Files
Coverage Δ

src/float/kdtree.rs
81.55% <ø> (ø)

src/float/query/within.rs
100.00% <ø> (ø)

src/float_leaf_simd/leaf_node.rs
66.27% <100.00%> (-1.58%)
:arrow_down:

...immutable/common/generate_immutable_nearest_one.rs
100.00% <100.00%> (ø)

src/immutable/float/construction.rs
39.06% <0.00%> (-4.05%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add new extension api

Items we would like to investigate but may not be needed for initial release:

DisplayStyleSettings
Possible removal of BeButtonEvent
Method of exposing ToolSettings in a readonly manner

Items for future development:

Using an @extension and @public or @preview decorators with extract-api to generate extension's exposed types and reals
Using extract-api to validate that types, functions, or classes that are missing from the extension api
Replacement for typeof operation
Changes to handle additional TileGraphicProviders

DisplayStyleSettings

Please don't delay 3.0 any further for this.

Replacement for typeof operation

Do you mean instanceof?

@aruniverse please revisit your comments.

DisplayStyleSettings

Please don't delay 3.0 any further for this.

Replacement for typeof operation

Do you mean instanceof?

Thank you catching that Paul, updated the comment.

@pmconne mind taking a pass when you get a chance?