Crashlytics action failing starting with fastlane 2.99

New Regression Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Regression Information

Breaking version: [e.g. 2.99]
Last working version: [e.g. 2.98]

Regression Description
The lane won't submit to crashlytics/fabric successfully on our CI Server. It only works on our local development machine.
[13:37:34]: 2018-07-11 13:37:33.690 submit Crashlytics: Crashlytics.framework/submit 1.3.6 (19)
2018-07-11 13:37:33.696 submit Crashlytics: Path to IPA manually provided: /Users/tssrv2/concourse/volumes/live/c1a28c39-cd91-46ec-68b2-9548971adea2/volume/MyApp.ipa
2018-07-11 13:37:34.214 submit Crashlytics: Unable to inflate IPA to temporary path: Error Domain=CLSFileSystemUtilsErrorDomain Code=-1 "(null)" UserInfo={status=2, arguments=(
    "-qo",
    "/Users/tssrv2/concourse/volumes/live/c1a28c39-cd91-46ec-68b2-9548971adea2/volume/MyApp.ipa",
    "-d",
    "/var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/"
), stderr=checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/ProfileNavigationController.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/ProfileNavigationController.nib/.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/ProfileNavigationController.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/ProfileNavigationController.nib/objects-11.0+.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/ProfileNavigationController.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/ProfileNavigationController.nib/runtime.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib/.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib/objects-11.0+.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib/runtime.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/ProfileViewController.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/ProfileViewController.nib/.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/ProfileViewController.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/ProfileViewController.nib/objects-11.0+.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/Payload/MyApp.app/ProfileTab.storyboardc/ProfileViewController.nib exists but is not directory
                 unable to process Payload/MyApp.app/ProfileTab.storyboardc/ProfileViewController.nib/runtime.nib.
, stdout=, temporaryPath=/var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/MyApp/, command=/usr/bin/unzip, archivePath=/Users/tssrv2/concourse/volumes/live/c1a28c39-cd91-46ec-68b2-9548971adea2/volume/MyApp.ipa}
2018-07-11 13:37:34.214 submit Crashlytics: Failed to prepare the binary for release

Environment

+ bundle exec fastlane env
 [✔] 🚀
[15:43:19]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.4

Ruby
2.5.1

Bundler?
true

Git
git version 2.17.0

Installation Source
~/concourse/volumes/live/e9cb06d5-1a2a-428b-446a-1ff83c074a36/volume/vendor/bundle/ruby/2.5.0/bin/fastlane

Host
Mac OS X 10.13.4 (17E199)

Ruby Lib Dir
~/.rbenv/versions/2.5.1/lib

OpenSSL Version
OpenSSL 1.0.2o  27 Mar 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.4.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#

# Uncomment the line if you want fastlane to automatically update itself
#update_fastlane

default_platform(:ios)

platform :ios do

  before_all do

    ENV["KEYCHAIN_NAME"] = "myapp_fastlane-db"
    ENV["KEYCHAIN_PASSWORD"] = "MyappKeychain44"

  end

  error do |lane, exception, options|

    if lane == :qa

      begin

        delete_keychain(name: ENV["KEYCHAIN_NAME"])

      rescue => exception

      end

    end

  end

  desc "Runs all the tests"
  lane :test do |options|

    scheme = (options[:staging] ? “Staging” : "Development")

    run_tests(scheme: scheme, device: "iPhone X")

  end

  desc "Integrate a feature into develop"
  lane :ship do |options|

    scheme = (options[:staging] ? "Staging" : "Development")

    ensure_git_branch(branch: "feature")

    ensure_git_status_clean

    clear_derived_data

    run_tests(scheme: scheme, device: "iPhone X")

    File.write("../.changelog", options[:story])

    git_commit(path: [".changelog"], message: "Updated changelog")

    build_number = increment_build_number(xcodeproj: "Myapp.xcodeproj")

    commit_version_bump(
      message: "Bumped build to " + build_number,
      xcodeproj: "Myapp.xcodeproj"
    )

    push_to_git_remote

    sh("git checkout develop")

    sh("git merge - --no-ff")

    push_to_git_remote

  end

  desc "Submit a new build to QA"
  desc ""
  desc "This will do the following:"
  desc "- Fetch appropriate provisioning profile and certificate."
  desc "- Ensure we were on the develop branch, and bump the build."
  desc "- Commit and push the build to the develop branch."
  desc "- Build the app, and upload it to Fabric."
  desc "- Sends success message to `#qa` on Slack."
  desc ""
  lane :qa do |options|

    scheme = (options[:staging] ? "Staging" : "Development")

    app_identifier = ["com.mycompany.enterprise.myapp", "com.mycompany.enterprise.myapp.development"]

    ensure_git_status_clean

    # Commented due to CI server checking out HEAD
    #ensure_git_branch(branch: "develop")

    begin

      create_keychain(
        name: ENV["KEYCHAIN_NAME"],
        password: ENV["KEYCHAIN_PASSWORD"],
        unlock: true,
        timeout: false,
      )

    rescue => exception

    end

    sync_code_signing(
      keychain_name: ENV["KEYCHAIN_NAME"],
      keychain_password: ENV["KEYCHAIN_PASSWORD"],
      type: "enterprise",
      app_identifier: app_identifier,
      readonly: true
    )

    build_app(
      workspace: "Myapp.xcworkspace",
      scheme: scheme,
      export_method: "enterprise"
    )

    notes = File.read("../.changelog")

    crashlytics(api_token: “1234”,
             build_secret: “4567”,
                   emails<EMAIL_ADDRESS>                   groups: nil,
                    notes: notes,
            notifications: true,
                    debug: true
    )

    delete_keychain(name: ENV["KEYCHAIN_NAME"])

    version = get_version_number(xcodeproj: "Myapp.xcodeproj")

    build_number = get_build_number(xcodeproj: "Myapp.xcodeproj")

    slack(
      slack_url: "https://hooks.slack.com/services/asdf/asdf/asdf”,
      channel: "qa",
      message: "Myapp iOS version #{version} build #{build_number} uploaded to Fabric :airplane:",
      success: true,
      default_payloads: [],
      attachment_properties: {
      	fields: [
      		title: "Changelog",
      		value: notes
      	]
      }
    )

  end

  desc "Fetches the certificates and provisioning profiles."
  lane :fetch_certificates do

    app_identifier = ["com.mycompany.enterprise.myapp", "com.mycompany.enterprise.myapp.development"]

    sync_code_signing(type: "development", app_identifier: app_identifier, readonly: true)
    sync_code_signing(type: "enterprise", app_identifier: app_identifier, readonly: true)

  end

  desc "Updates the provisioning profiles."
   I may have a few more questions for you in a bit but just wanted to let you know that we saw this issue 🙃

@brandtdaniels Okay, few questions for you!

Are you able to verify that if you downgraded to fastlane 2.98.0 on your CI that your Crashlytics upload still works?
Can you send me a bundle exec fastlane env from your development machine (where your upload works) so I can compare the environments between your CI and your development machines?

Thanks!

Will post in a bit

local dev machine env:

✅ fastlane environment ✅

### Stack

| Key                         | Value                                       |
| --------------------------- | ------------------------------------------- |
| OS                          | 10.13.6                                     |
| Ruby                        | 2.5.1                                       |
| Bundler?                    | true                                        |
| Git                         | git version 2.15.2 (Apple Git-101.1)        |
| Installation Source         | ~/.rbenv/versions/2.5.1/bin/fastlane        |
| Host                        | Mac OS X 10.13.6 (17G65)                    |
| Ruby Lib Dir                | ~/.rbenv/versions/2.5.1/lib                 |
| OpenSSL Version             | OpenSSL 1.0.2o  27 Mar 2018                 |
| Is contained                | false                                       |
| Is homebrew                 | false                                       |
| Is installed via Fabric.app | false                                       |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version               | 9.4.1                                       |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   |             |   |
| LANGUAGE |             |   |

### fastlane files:

`./fastlane/Fastfile`

```ruby
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#

# Uncomment the line if you want fastlane to automatically update itself
#update_fastlane

default_platform(:ios)

platform :ios do

  before_all do

    ENV["KEYCHAIN_NAME"] = "myapp_fastlane-db"
    ENV["KEYCHAIN_PASSWORD"] = "MyappKeychain44"

  end

  error do |lane, exception, options|

    if lane == :qa

      begin

        delete_keychain(name: ENV["KEYCHAIN_NAME"])

      rescue => exception

      end

    end

  end

  desc "Runs all the tests"
  lane :test do |options|

    scheme = (options[:staging] ? "Staging" : "Development")

    run_tests(scheme: scheme, device: "iPhone X")

  end

  desc "Integrate a feature into develop"
  lane :ship do |options|

    scheme = (options[:staging] ? "Staging" : "Development")

    ensure_git_branch(branch: "feature")

    ensure_git_status_clean

    clear_derived_data

    run_tests(scheme: scheme, device: "iPhone X")

    File.write("../.changelog", options[:story])

    git_commit(path: [".changelog"], message: "Updated changelog")

    build_number = increment_build_number(xcodeproj: "Myapp.xcodeproj")

    commit_version_bump(
      message: "Bumped build to " + build_number,
      xcodeproj: "Myapp.xcodeproj"
    )

    push_to_git_remote

    sh("git checkout develop")

    sh("git merge - --no-ff")

    push_to_git_remote

  end

  desc "Submit a new build to QA"
  desc ""
  desc "This will do the following:"
  desc "- Fetch appropriate provisioning profile and certificate."
  desc "- Ensure we were on the develop branch, and bump the build."
  desc "- Commit and push the build to the develop branch."
  desc "- Build the app, and upload it to Fabric."
  desc "- Sends success message to `#qa` on Slack."
  desc ""
  lane :qa do |options|

    scheme = (options[:staging] ? "Staging" : "Development")

    app_identifier = ["com.mycompany.enterprise.myapp", "com.mycompany.enterprise.myapp.development"]

    ensure_git_status_clean

    # Commented due to CI server checking out HEAD
    #ensure_git_branch(branch: "develop")

    begin

      create_keychain(
        name: ENV["KEYCHAIN_NAME"],
        password: ENV["KEYCHAIN_PASSWORD"],
        unlock: true,
        timeout: false,
      )

    rescue => exception

    end

    sync_code_signing(
      keychain_name: ENV["KEYCHAIN_NAME"],
      keychain_password: ENV["KEYCHAIN_PASSWORD"],
      type: "enterprise",
      app_identifier: app_identifier,
      readonly: true
    )

    build_app(
      workspace: "Myapp.xcworkspace",
      scheme: scheme,
      export_method: "enterprise"
    )

    notes = File.read("../.changelog")

    crashlytics(api_token: "1234",
             build_secret: "1234",
                   emails<EMAIL_ADDRESS>                   groups: nil,
                    notes: notes,
            notifications: true,
                    debug: true
    )

    delete_keychain(name: ENV["KEYCHAIN_NAME"])

    version = get_version_number(xcodeproj: "Myapp.xcodeproj")

    build_number = get_build_number(xcodeproj: "Myapp.xcodeproj")

    slack(
      slack_url: "https://hooks.slack.com/services/1234/1234/1234",
      channel: "qa",
      message: "Myapp iOS version #{version} build #{build_number} uploaded to Fabric :airplane:",
      success: true,
      default_payloads: [],
      attachment_properties: {
      	fields: [
      		title: "Changelog",
      		value: notes
      	]
      }
    )

  end

  desc "Fetches the certificates and provisioning profiles."
  lane :fetch_certificates do

    app_identifier = ["com.mycompany.enterprise.myapp", "com.mycompany.enterprise.myapp.development"]

    sync_code_signing(type: "development", app_identifier: app_identifier, readonly: true)
    sync_code_signing(type: "enterprise", app_identifier: app_identifier, readonly: true)

  end

  desc "Updates the provisioning profiles."
  lane :update_certificates do

    app_identifier = ["com.mycompany.enterprise.myapp", "com.mycompany.enterprise.myapp.development"]

    sync_code_signing(type: "development", app_identifier: app_identifier, readonly: false, force_for_new_devices: true)
    sync_code_signing(type: "enterprise", app_identifier: app_identifier, readonly: false, force_for_new_devices: true)

  end

end

```

`./fastlane/Appfile`

```ruby
app_identifier("com.mycompany.enterprise.myapp") # The bundle identifier of your app

<EMAIL_ADDRESS># Your Apple email address

team_id("1234") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

```

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.99.1  | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.2.0        |
| bundler                   | 1.16.1       |
| CFPropertyList            | 3.0.0        |
| concurrent-ruby           | 1.0.5        |
| i18n                      | 0.9.5        |
| minitest                  | 5.11.3       |
| thread_safe               | 0.3.6        |
| tzinfo                    | 1.2.5        |
| activesupport             | 4.2.10       |
| public_suffix             | 2.0.5        |
| addressable               | 2.5.2        |
| atomos                    | 0.1.2        |
| babosa                    | 1.0.2        |
| claide                    | 1.0.2        |
| fuzzy_match               | 2.0.4        |
| nap                       | 1.1.0        |
| cocoapods-core            | 1.5.3        |
| cocoapods-deintegrate     | 1.0.2        |
| cocoapods-downloader      | 1.2.1        |
| cocoapods-plugins         | 1.0.0        |
| cocoapods-search          | 1.0.0        |
| cocoapods-stats           | 1.0.0        |
| netrc                     | 0.11.0       |
| cocoapods-trunk           | 1.3.0        |
| cocoapods-try             | 1.1.0        |
| colored2                  | 3.1.2        |
| escape                    | 0.0.4        |
| fourflusher               | 2.0.1        |
| gh_inspector              | 1.1.3        |
| molinillo                 | 0.6.5        |
| ruby-macho                | 1.2.0        |
| nanaimo                   | 0.2.6        |
| xcodeproj                 | 1.5.9        |
| cocoapods                 | 1.5.3        |
| colored                   | 1.2          |
| highline                  | 1.7.10       |
| commander-fastlane        | 4.4.6        |
| declarative               | 0.0.10       |
| declarative-option        | 0.1.0        |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20180417 |
| dotenv                    | 2.5.0        |
| emoji_regex               | 0.1.1        |
| excon                     | 0.62.0       |
| multipart-post            | 2.0.0        |
| faraday                   | 0.15.2       |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | 0.12.2       |
| fastimage                 | 2.1.3        |
| jwt                       | 2.1.0        |
| little-plugger            | 1.1.4        |
| multi_json                | 1.13.1       |
| logging                   | 2.2.2        |
| memoist                   | 0.16.0       |
| os                        | 0.9.6        |
| signet                    | 0.8.1        |
| googleauth                | 0.6.2        |
| httpclient                | 2.8.3        |
| mime-types-data           | 3.2016.0521  |
| mime-types                | 3.1          |
| uber                      | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.2        |
| google-api-client         | 0.21.2       |
| json                      | 2.1.0        |
| mini_magick               | 4.5.1        |
| multi_xml                 | 0.6.0        |
| plist                     | 3.4.0        |
| rubyzip                   | 1.2.1        |
| security                  | 0.1.3        |
| naturally                 | 2.2.0        |
| simctl                    | 1.6.5        |
| slack-notifier            | 2.3.2        |
| terminal-notifier         | 1.8.0        |
| unicode-display_width     | 1.4.0        |
| terminal-table            | 1.8.0        |
| tty-screen                | 0.6.4        |
| tty-cursor                | 0.5.0        |
| tty-spinner               | 0.8.0        |
| word_wrap                 | 1.0.0        |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.2.8        |
| xcpretty-travis-formatter | 1.0.0        |

*generated on:* **2018-07-11**

@brandtdaniels One of the odd things that I see about your CI fastlane env is that the fastlane installation source is ~/concourse/volumes/live/e9cb06d5-1a2a-428b-446a-1ff83c074a36/volume/vendor/bundle/ruby/2.5.0/bin/fastlane (installed under Ruby 2.5.0) where your Ruby and Ruby Lib Dir are set at 2.5.1
I don't really know if that is the cause of this issue (will wait until you are able to post back about #1) but that does seem like something that could potentially cause some issue 🤔

We're suddenly getting this issue after we downgraded fastlane to 2.98:
[18:28:49]: $ git status --porcelain [18:28:49]: ▸ M Myapp.xcodeproj/project.pbxproj [18:28:49]: ▸ M Myapp.xcworkspace/contents.xcworkspacedata [18:28:49]: ▸ ?? Pods

@brandtdaniels Huh, so it looks like your CI is failing on the ensure_git_status_clean action then? Are you able to refetch something clean and/or run something like git reset --hard HEAD on it to reset it?

I can confirm this bug. Today morning I've uploaded app to Crashlytics with 2.98 version. Outdated to 2.99.1 and started receiving error. Now downgraded to 2.98 ant it works as it should.

@jaroslavas Thanks for confirming this! Can you send me your output run with the --verbose command?

@jaroslavas Actually, I think your error is more inline with 12894 about sh: ./Pods/Crashlytics: is a directory 🤔 If this looks like your error, can we move your convo there? And do you have a CRASHLYTICS_FRAMEWORK_PATH set at all?

Yes, looks like #12894 is the one where I should've posted

@joshdholtz I'm trying to resolve the git status issue and i'll get back to this issue.

@joshdholtz Finally got passed the git status issues and received this error using fastlane 2.98.0:
[16:29:22]: fastlane finished with errors

[!] 2018-07-13 16:29:21.629 submit Crashlytics: Crashlytics.framework/submit 1.3.6 (19)
2018-07-13 16:29:21.634 submit Crashlytics: Path to IPA manually provided: /Users/tssrv2/concourse/volumes/live/8c0c9754-7648-4d0c-49f9-3e5ea66becaf/volume/Guestlogix.ipa
2018-07-13 16:29:22.207 submit Crashlytics: Unable to inflate IPA to temporary path: Error Domain=CLSFileSystemUtilsErrorDomain Code=-1 "(null)" UserInfo={status=2, arguments=(
    "-qo",
    "/Users/tssrv2/concourse/volumes/live/8c0c9754-7648-4d0c-49f9-3e5ea66becaf/volume/Guestlogix.ipa",
    "-d",
    "/var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/"
), stderr=checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileNavigationController.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileNavigationController.nib/.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileNavigationController.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileNavigationController.nib/objects-11.0+.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileNavigationController.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileNavigationController.nib/runtime.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib/.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib/objects-11.0+.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/jmg-hy-vdr-view-udg-4h-Ojo.nib/runtime.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileViewController.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileViewController.nib/.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileViewController.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileViewController.nib/objects-11.0+.nib.
checkdir error:  /var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileViewController.nib exists but is not directory
                 unable to process Payload/Guestlogix.app/ProfileTab.storyboardc/ProfileViewController.nib/runtime.nib.
, stdout=, temporaryPath=/var/folders/b0/c44km52n78x86jz27qrlbkzh0000gn/T/Guestlogix/, command=/usr/bin/unzip, archivePath=/Users/tssrv2/concourse/volumes/live/8c0c9754-7648-4d0c-49f9-3e5ea66becaf/volume/Guestlogix.ipa}
2018-07-13 16:29:22.207 submit Crashlytics: Failed to prepare the binary for release

@brandtdaniels It looks like this is an issue with Crashlytics or a configuration within your side of 2.98 is getting the same error and not related to the 2.99 releases. Did you update the Crashlytics pod recently? If so, have you tried either upgrading to 3.10.5 or a previous version that was working?
To make sure this isn't a fastlane issue, you could also execute the Crashlytics submit binary manually (which that command appears in the fastlane logs when running --verbose

@joshdholtz I mentioned this process works on our local dev machine, but not on our CI worker. I will look more into the Crashlytics framework and see if there is anything there.

So today our ci worker was successful in deploying our IPA to crashlytics/fabric...not sure why it just seemed to work...

@joshdholtz The last few CI deploys have worked with the latest fastlane and crashlytics. I guess this issue can be closed now.

@brandtdaniels Glad things are working now! Feel free to open another issue if you experience other issues 😊


Adapt the API of the joint embedding task

Add organism and double-check that mandatory keys are specified accordingly.

Thanks @mumichae ! Would you be able to also update the API descriptions for the common dataset loaders at src/common/datasets/README.md? :bow:

I added some more keys for cell cycle and trajectory inference scores and marked them as optional. I'd need those entries for the test sets so that cell cycle and TI conservation scores work on the test set.

The suggested changes for the API look good!
For generating these outputs with dyngen, I have an idea on how to implement values for batch and cell_type.
For S_score and G2M_score, I assume these will scale between [0, 1]?
For the RNA_trajectory, the ATAC_trajectory and the ADT_trajectory: how do you define these values? Are you assuming that the trajectory is linear? How do you compute these values; run a trajectory inference method on it?

Hey!
The trajectory scores are the output of sc.tl.dpt() on a subset of cells relevant to the trajectory and a root cell chosen as a starting point. These are just pseudotime values. The S and G2M scores I'm not sure are scaled to [0,1]... they can also be negative as far as I'm aware. They are generated by sc.tl.score_genes_cell_cycle().


Sort bookmarks to minimize diffs

Resolves https://github.com/skx/bookmarks.public/issues/28
Tested on my 1345 bookmarks:

Sorted bookmarks.data using sort.
Saved bookmarks sorted by JavaScript on bookmarks page.
Compared. No difference =).

Thanks for your contribution :)

Wow, turbo-merge! =))


getDefinition method, instead of definitionsPath

I'm storing all BPMN files inside db, and can load them with id, instead of filename. Can definitionsPath (and other fs related fields) be optional? And allow loading everything with custom callback?

Yes, you don't have to use definitionsPath
Not sure what you mean by custom callback, as in a method in appDelegate?

If I learned correctly, AppDelegate is the externalWorker (in camunda 8 concept). External task and JS eval happens here.
And definitionsPath is the place to read BPMN files. If I'm not using it, where will bpmn-server load the BPMN definition that is needed?

by custom callback, as in a method in appDelegate

Yes, this can be in AppDelegate Class

I should use dataStore(server: any): IDataStore;


Update RISCV prebuilt toolchains

Update prebuilt toolchain and CI docker based on https://github.com/riscv-collab/riscv-gnu-toolchain/tree/2023.10.06 and https://github.com/llvm/llvm-project/blob/ac0dda894231e6281e7739aa0ea01a4e9697c747
Support gnu binutil 2.41, GCC 12.2.0, and RVV intrinsic v0.12 (LLVM)
Update the riscv crosscompile -march ISA versions to match LLVM RISCV ISA version

Hi @hcindyl,
I've tried it on docker for testing rvv intrinsic 0.12 and it works well.
Thanks for updating the toolchain.

Hi @hcindyl, I've tried it on docker for testing rvv intrinsic 0.12 and it works well. Thanks for updating the toolchain.

I will land the PR first to unblock you. Will work on the manylinux_2_28 support later this week after I finish other pressing tasks in my queue.


fix port sorting in generated firewall rules file

Description
given ports argument als array of strings like:
firewall_rule 'allow some ports' do
  port %w(80 88 389 443 464 636)
  source '<IP_ADDRESS>'
end

generates in /etc/default/ufw-chef.rules file:
ufw allow in proto tcp to any port 389,443,464,636,80,88 from <IP_ADDRESS> comment "allow some ports"
after this fix:
ufw allow in proto tcp to any port 80,88,389,443,464,636 from <IP_ADDRESS> comment "allow some ports"
Issues Resolved
Correct generation of firewall rules.
Check List

[ ] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

Can you update the changelog as per the PR comments please 👍🏼

Can you update the changelog as per the PR comments please 👍🏼

Done.

Please look into failing tests


Performance issue on watch incremental config when using build mode

Bug Report
Node version: v12.22.12
TSC version: Version 4.6.3
TSC showconfig:
{
  "compilerOptions": {
    "target": "es2019",
    "module": "commonjs",
    "moduleResolution": "node",
    "declaration": true,
    "declarationMap": true,
    "composite": true,
    "strict": false,
    "noFallthroughCasesInSwitch": true,
    "noImplicitReturns": true,
    "removeComments": false,
    "preserveConstEnums": true,
    "preserveWatchOutput": true,
    "suppressImplicitAnyIndexErrors": true,
    "allowSyntheticDefaultImports": true,
    "forceConsistentCasingInFileNames": true,
    "resolveJsonModule": true,
    "noImplicitAny": true,
    "allowJs": true,
    "outDir": "./build",
    "rootDir": "./src"
  },
  "files": [
      // 6436 files
   ],
  "include": [
    "./src/**/*.ts",
    "./src/**/*.js",
    "./src/**/*.json"
  ],
  "exclude": [
    "./src/tests/**/*.json"
  ]
}

We have a fairly large typescript code base. It currently does not have any project reference, but we are starting experimenting with the build mode in order to split it.
The problem is that when using build mode, the incremental rebuild of the watch mode are taking much much longer.
With --build
pnpm clean # clean build
pnpm tsc -b -w --extendedDiagnostics
# after first build is complete, add console.log somewhere

Result:
Files:                         7734
Lines of Library:             26798
Lines of Definitions:       2245059
Lines of TypeScript:         930560
Lines of JavaScript:           2486
Lines of JSON:                 8238
Lines of Other:                   0
Nodes of Library:            117457
Nodes of Definitions:       4644388
Nodes of TypeScript:        3217639
Nodes of JavaScript:           4169
Nodes of JSON:                35282
Nodes of Other:                   0
Identifiers:                2797857
Symbols:                    1638842
Types:                           80
Instantiations:                   0
Memory used:               5680246K
Assignability cache size:         0
Identity cache size:              0
Subtype cache size:               0
Strict subtype cache size:        0
I/O Read time:                0.66s
Parse time:                  21.91s
ResolveModule time:           1.25s
ResolveTypeReference time:    0.12s
Program time:                26.17s
Bind time:                   10.32s
Check time:                   0.00s
transformTime time:           0.00s
commentTime time:             0.00s
printTime time:               0.23s
Emit time:                    0.23s
Source Map time:              0.00s
I/O Write time:               0.00s
Total time:                  36.72s

Without --build
pnpm clean # clean build
pnpm tsc -w --extendedDiagnostics
# after first build is complete, add console.log somewhere

Result:
Files:                         7734
Lines of Library:             26798
Lines of Definitions:       2245059
Lines of TypeScript:         930560
Lines of JavaScript:           2486
Lines of JSON:                 8238
Lines of Other:                   0
Nodes of Library:            117457
Nodes of Definitions:       4644388
Nodes of TypeScript:        3217639
Nodes of JavaScript:           4169
Nodes of JSON:                35282
Nodes of Other:                   0
Identifiers:                2797857
Symbols:                    1638842
Types:                           80
Instantiations:                   0
Memory used:               4098762K
Assignability cache size:         0
Identity cache size:              0
Subtype cache size:               0
Strict subtype cache size:        0
I/O Read time:                0.00s
Parse time:                   0.00s
ResolveModule time:           0.00s
Program time:                 0.29s
Bind time:                    0.05s
Check time:                   0.00s
transformTime time:           0.00s
commentTime time:             0.00s
printTime time:               0.23s
Emit time:                    0.23s
I/O Write time:               0.01s
Source Map time:              0.00s
Total time:                   0.58s

Notice the time for the incremental compile is 36.72s when using build mode vs 0.58s when not using it.
I think it's a problem especially because we don't have any project reference currently, so I'm not sure what build mode is doing differently.
🔎 Search Terms
build mode, watch, performance
🕗 Version & Regression Information
Not linked to a specific version as far as we know
⏯ Playground Link
N/A
💻 Code
N/A
🙁 Actual behavior
Watch incremental compilation is very slow when using build mode
🙂 Expected behavior
Watch incremental compilation is about as fast as normal mode when using build mode

Extra information: clean build without watch takes almost exactly the same time with or without the build mode
$ pnpm clean && time pnpm tsc -b
...
real    1m23,873s
user    1m55,613s
sys     0m3,019s

$ pnpm clean && time pnpm tsc
...
real    1m23,048s
user    1m53,846s
sys     0m3,058s

Thanks for your answer @sheetalkamat !
What would be the downside of caching files for big projects? I think our project would count as fairly big (~930k TS LoC), and the consequence of not caching seems only to be much slower and use even more RAM.

Scalabitlity and running out of memory.

Is there a way to watch with reference project without using the build mode?


High level architectural diagram for service

DataHub and front end

Work in progress can be seen in this branch: https://github.com/ministryofjustice/data-platform/blob/catalogue-diagram/docs/source/documentation/diagrams/catalogue.excalidraw.png


[Bug] [dinky-web] 运维中心一键上下线查询报错

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

在运维中心一键上下线中, 如果选择框不选任何选项, 查询会报 Something went wrong, 如下图

What you expected to happen
1. 在未选择的任何选项时候, 可将查询按钮置灰
How to reproduce
1. 选择运维中心
2. 选择一键上线
3. 弹出选择框不选择任何选项
4. 点击查询
Anything else
No response
Version
0.7.3
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

1.0 has deleted


shutdownAll doesn't work (emulators are left running)

While doing some tests with this Flutter package, I discovered that await emu.shutdownAll(config); is not working (at least, for me), meaning that any emulator running is left in running state (no matter who started those emulators).
My system is Debian 10, emulators works as intended using Android Studio, and they show up when issuing flutter devices:
$ flutter devices
2 connected devices:

sdk gphone x86 64 arm64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
Chrome (web)                     • chrome        • web-javascript • Chromium 90.0.4430.212 built on Debian 10.9, running on Debian 10.11

This is caused by the same bug as #4


Improve dependency update workflow

First, thanks for this wonderful plugin.
I agree that version updates should be confirmed or rejected by the developer. I was using gradle-libraries-plugin, and since my source is in git I was reviewing every change dependencies.json in my favorite git tool after doing updateLibraries.
The point is that this plugin should offer an option the actually change the versions, since I have to review the changes anyway. Having a “remove comments manually” step adds nothing and makes things more complicated.
Also, for creating a .gitignore file: Not everyone is using git, so this plugin should make no assumptions, and I need to manage my own .gitignore file anyway - this shouldn't be there.
Both are topics with what this plugin should be concerned and what are actually tasks that are necessary, but not the responsibility of this plugin.
Thanks
Oliver

I have no plans to implement an interactive tools. Closing this for now


Update for support of the ED448 and ED25519 keys and signatures

The PR includes small updated and basic tests  to support EdEC keys for ED448 and ED25519 signatures which are already supported by the xmlsec library.

@jrihtarsic Can you rebase this off master as well please?

@coheigea  I will do that now and I will close this ticket. Should I create also the JIRA ticket for adding the  "eddsa-signature feature" to WSS4J or the PR is sufficient?

A JIRA would be great as well, thanks @jrihtarsic

This PR was closed because a new PR 260 addresses this request on main/master branch.


Add Network Down event in EMACHandler Task

Description
This PR adds Network Down event in EMACHandler task.
Test Steps
Ran FreeRTOS+TCP Demo on STM32H7 NUCLEO Board.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[x] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue
Forum Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

STM32H7 console logs while ETH cable is reconnected:
FreeRTOS_AddEndPoint: MAC: 44-47 IPv4: <IP_ADDRESS>
vIPSetDHCP_RATimerEnableState: Off
prvCloseDHCPSocket[44-47]: closed, user count 0
PHY ID 7C130
xPhyReset: phyBMCR_RESET 0 ready
+TCP: advertise: 01E1 config 3100
prvEthernetUpdateConfig: LS mask 00 Force 1
Autonego ready: 00000004: full duplex 100 mbit high status
Network buffers: 60 lowest 60
Queue space: lowest 69
Link Status is high
DHCP-socket[44-47]: DHCP Socket Create
prvCreateDHCPSocket[44-47]: open, user count 1
vDHCP_RATimerReload: 250
Network buffers: 60 lowest 59
vDHCPProcess: offer <IP_ADDRESS> for MAC address 44-47
vDHCPProcess: offer <IP_ADDRESS> for MAC address 44-47
Started 1 / 1 tasks
IP-address : <IP_ADDRESS>
Default IP : <IP_ADDRESS>
End-point  : up = yes method DHCP
Net mask   : <IP_ADDRESS>
GW         : <IP_ADDRESS>
DNS-0      : <IP_ADDRESS>
DNS-1      : <IP_ADDRESS>
Broadcast  : <IP_ADDRESS>
MAC address: 00-11-22-33-44-47

prvCloseDHCPSocket[44-47]: closed, user count 0
vDHCP_RATimerReload: 43200000
xPhyCheckLinkStatus: PHY LS now 00

.
.
.
.
.

Link Status is high
DHCP-socket[44-47]: DHCP Socket Create
prvCreateDHCPSocket[44-47]: open, user count 1
vDHCP_RATimerReload: 250
Autonego ready: 00000004: full duplex 100 mbit high status
TX descriptors 1/4
vDHCPProcess: offer <IP_ADDRESS> for MAC address 44-47
vDHCPProcess: offer <IP_ADDRESS> for MAC address 44-47
IP-address : <IP_ADDRESS>
Default IP : <IP_ADDRESS>
End-point  : up = yes method DHCP
Net mask   : <IP_ADDRESS>
GW         : <IP_ADDRESS>
DNS-0      : <IP_ADDRESS>
DNS-1      : <IP_ADDRESS>
Broadcast  : <IP_ADDRESS>
MAC address: 00-11-22-33-44-47

prvCloseDHCPSocket[44-47]: closed, user count 0
vDHCP_RATimerReload: 43200000

PING results while disconnected and then reconnected:
C:\Users\tonyjosi>ping <IP_ADDRESS>

Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: Destination host unreachable.
Reply from <IP_ADDRESS>: Destination host unreachable.
Reply from <IP_ADDRESS>: Destination host unreachable.
Reply from <IP_ADDRESS>: Destination host unreachable.

Ping statistics for <IP_ADDRESS>:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\tonyjosi>ping <IP_ADDRESS>

Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time=2ms TTL=64
Reply from <IP_ADDRESS>: bytes=32 time=1ms TTL=64
Reply from <IP_ADDRESS>: bytes=32 time=1ms TTL=64
Reply from <IP_ADDRESS>: bytes=32 time=2ms TTL=64

Ping statistics for <IP_ADDRESS>:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\tonyjosi>


Class Names

Hello,
could you please clarify the class names in the data?
From the GitHub ReadMe it should be:

Background, 2) Water, 3)Building No Damage, 4) Building Minor Damage, 5) Building Major Damage, 6) Buidling Total Destruction, 7) Road-Clear, 8) Road-Blocked, 9)Vehicle, 10) Tree, 11) Pool.

From the data loader provided in GitHub it should be:
color_encoding = OrderedDict(
[
("unlabeled", (0, 0, 0)),
("water", (61, 230, 250)),
("building-no-damage", (180, 120, 120)),
("building-medium-damage", (235, 255, 7)),
("building-major-damage", (255, 184, 6)),
("building-total-destruction", (255, 0, 0)),
("vehicle", (255, 0, 245)),
("road-clear", (140, 140, 140)),
("road-blocked", (160, 150, 20)),
("tree", (4, 250, 7)),
("pool", (255, 235, 0)),
("sand", (255, 120, 0)),
]
)
and from the Paper it should be:
Debris,
Water,
Building No Damage,
Building Minor Damage,
Building Major Damage,
Building Total Destruction,
Vehicle,
Road,
Tree,
Pool,
Sand
Thanks for your clarification!

Hello, may I ask if your problem has been resolved? I have the same doubts


Enhance appearance and correctness of Q-sphere visualization (Issue #2932)

Summary
Enhance appearance and correctness of Q-sphere visualization in the following ways:

All complementary basis states are antipodal
Phase is indicated by color of line and marker on sphere's surface
Probability is indicated by translucency of line and volume of marker on sphere's surface

Details and comments
@nonhermitian and I have been collaborating on this enhancement, and are satisfied with the results. There is one, perhaps new, required dependency, namely seaborn color palettes for associating colors to phases in the Q-sphere plot as well as its legend. Here is an example Q-sphere plot with these enhancements:

 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.

All comments addressed

The lines are still too long, but will take care of it.  Also the current QSphere is broken due to changes in matplotlib, so it would be nice to get this in.

Thanks Paul. My IDE reported that the lines after I modified them were under 100 characters.Did I commit the modifications correctly, or is there an error in my understanding of how I should have addressed it?

It looks like maybe you merged the master of terra into your branch, but you did not push the changes into your PR.  However, the changes were minor.

Sorry about that, Paul. I won't make that mistake next time. Thanks for all of your help during this process!

Azure is still messed up, all the CI jobs ran successfully but it never reported back to the github checks api for most of the jobs. You can see the results here: https://dev.azure.com/qiskit-ci/qiskit-terra/_build/results?buildId=1717
Since it actually succeeded but just failed to report back correctly I'm going to merge this.


Question regarding a phrase in the documentation

Article URL
https://docs.microsoft.com/en-us/office/dev/add-ins/concepts/privacy-and-security
Issue
Apologies if this is the wrong place to ask this. In the "Add-in integrity in AppSource" section of the article at the above link is the line:

Ensures that the source of add-ins is accessible in read-only mode.

I'm having trouble understanding what this requirement means. Is it referring to the source code of the add-in being open source? It would be great if someone could elaborate on this.
Thanks!

@mikeald Can you help clarify this statement?
I can update the documentation after that if needed.
Thanks.


Anerdw: Watch darshanelderscare.com

Anerdw requests the watch of the watch_keyword darshanelderscare\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

darshanelderscare\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Cow in Charcoal HQ


Receptor start fail in latest codes

Hi, I met a strange error after update my Lattice to the latest codes: the Receptor cannot start since initializeReceptorBBS, and the error message is:
{"timestamp":"1428505821.944561958","source":"receptor","message":"receptor.fail
ed-parsing-consul-cluster","log_level":3,"data":{"error":"scheme must be http or
 https","trace":"goroutine 1 [running]:\ngithub.com/pivotal-golang/lager.(*logge
r).Fatal(0xc208046180, 0xa18210, 0x1d, 0x7f62bceb9b80, 0xc20802b5e0, 0x0, 0x0, 0
x0)\n\t/workspace/Diego/diego-release/src/github.com/pivotal-golang/lager/logger
.go:131 +0xc8\nmain.initializeReceptorBBS(0x7f62bcebeab0, 0xc208046180, 0x0, 0x0
)\n\t/workspace/Diego/diego-release/src/github.com/cloudfoundry-incubator/recept
or/cmd/receptor/main.go:248 +0x354\nmain.main()\n\t/workspace/Diego/diego-releas
e/src/github.com/cloudfoundry-incubator/receptor/cmd/receptor/main.go:150 +0x192
\n"}}
panic: scheme must be http or https

I found there are some updates on these part, but I cannot find how the consulCluster come. Can anyone give me some clue?

The lattice Devs haven't pulled in the latest Diego codebase.  They're
going to need to update the upstart scripts and should get to it tomorrow
or so.
For now you should revert back to a supported sha of Diego which you can
get from
https://github.com/cloudfoundry-incubator/lattice/blob/master/DIEGO_VERSION
On Wednesday, April 8, 2015, Layne Peng<EMAIL_ADDRESS>wrote:

Hi, I met a strange error after update my Lattice to the latest codes: the
Receptor cannot start since initializeReceptorBBS, and the error message
is:
{"timestamp":"1428505821.944561958","source":"receptor","message":"receptor.fail
ed-parsing-consul-cluster","log_level":3,"data":{"error":"scheme must be
http or
https","trace":"goroutine 1 [running]:
ngithub.com/pivotal-golang/lager.(*logge
r).Fatal(0xc208046180, 0xa18210, 0x1d, 0x7f62bceb9b80, 0xc20802b5e0, 0x0,
0x0, 0
x0)\n\t/workspace/Diego/diego-release/src/
github.com/pivotal-golang/lager/logger
.go:131 +0xc8\nmain.initializeReceptorBBS(0x7f62bcebeab0, 0xc208046180,
0x0, 0x0
)\n\t/workspace/Diego/diego-release/src/
github.com/cloudfoundry-incubator/recept
or/cmd/receptor/main.go:248
+0x354\nmain.main()\n\t/workspace/Diego/diego-releas
e/src/github.com/cloudfoundry-incubator/receptor/cmd/receptor/main.go:150
+0x192
\n"}}
panic: scheme must be http or https
I found there are some updates on these part, but I cannot find how the
consulCluster come. Can anyone give me clue?
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry-incubator/lattice/issues/82.

No problem. I will wait for the update, and close the issue after it works.

We updated the Upstart scripts to support the latest diego-release, which landed on master with v0.2.2-22-gf5532f9.  Feel free to go ahead and pull the latest & greatest of both lattice and diego-release and let us know if you run into any issues.   Going to close this issue for now.


Select combobox example flashes focus outline on click

Current behavior
Super tiny change, but I think it looks better while still being accessible.
Current behaviour:
When the select has no focus, clicking on it will flash the outline for a sec, and then outline the combobox input in the opened popup.
https://user-images.githubusercontent.com/4366126/164268420-39570986-d64f-439a-9667-4b676cf049db.mov
Steps to reproduce the bug

Open ariakit example: https://ariakit.org/examples/select-combobox
Click on the select while it has no focus
See the outline flash
(Firefox on mac)

Expected behavior
In this case, because we always focus the combobox input on click, I think we can skip the select input outline. On keyboard focus, it should still become visible (because the popover is not open yet)
https://user-images.githubusercontent.com/4366126/164269098-5fcbf345-a37b-4ee9-8a4b-f8cb47cebb42.mov
Possible solutions
This is a simple styling fix. The current style has the following outline code:
.select:focus-visible,
.select[data-focus-visible],
.popover:focus-visible,
.popover[data-focus-visible] {
  outline: 2px solid hsl(204, 100%, 40%);
}

By removing  .select[data-focus-visible] I get the desired result.

I've seen this flash before. I agree that this is not ideal.
Native select elements always get :focus-visible when they receive focus, even when the focus is triggered by a mouse down event. That's why we're also forcing role="combobox" elements (which is the select role) to get the data-focus-visible attribute:
https://github.com/ariakit/ariakit/blob/e7706e29ae8f82b62b9a5537e3eba5fc31ca828d/packages/ariakit/src/focusable/focusable.ts#L54-L65
This ensures that our custom Select component works similarly to a native select in this aspect.
I can see two options here:

Remove this behavior for custom role="combobox" elements.
Add a tiny delay before rendering the data-focus-visible attribute on custom role="combobox" elements.

I think the first option is the safest.

Just checked, looks like its fixed! Thanks! Slowly learning more about ariakit, so maybe next time I try and whip up a PR.


fix(text-input): check if the value is undefined

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[x] Not that difficult

Type of Change

[ ] New feature
[x] Bug fixes
[ ] Feature improvement

[ ] These changes require a usage change

[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[x] Updated Storybook documents
[x] Tested with console

Description
SSIA
Things to Talk About

:tada: This PR is included in version 1.1.0-beta.388 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Random Keywords Error

I am trying to activate the Random Keywords plugin on my new 1.7 install. After I click "activate", I receive the following message:
"Plugin generated unexpected output. Error was:"
Not too descriptive. I was able to active the "Allow Hyphens in Short URLs" plugin without issue.

I figured it out. Text editor was saving as UTF-8.


webcomponents loading order

I have noticed that the order of loading webcomponents, with respect to other js libraries can cause issues. Specifically, loading jQuery before webcomponents will break a very popular jQuery search autocomplete library.
I have not come across anything in the Polymer documentation that mentions or spells out the recommend loading order for libraries. Could someone explain what is going on here and point to some Polymer documentation to explain this phenomenon?

See the note about this here: https://www.polymer-project.org/0.5/docs/start/platform.html


fix(html): build mode ignore html define transform

Description
fix: #6536

Additional context

exclude html, css and static assets for transform

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

We discussed this PR today @poyoho and we are going to move forward with it. Thanks for the fix! Let's wait until next week to merge it during the 2.9 beta to get a bit more testing

Is 2.9 coming?

Is 2.9 coming?

We plan to start the beta period late next week, and normally we will be in beta for 3-5 weeks. This will be the last 2.x release. April 30th is Node 12 EOL so we will release 3.0 to drop support for it and remove deprecations.


Adding package.json twice?

Did I got it right?
So now we copy the package.json twice.
First in Dockerfile in ADD instruction.
And second time by Volumes instruction in docker-compose.yml

Yes, it's because we need package.json on "build" stage. Did you find a better solution?


scroll progress bar at every page

Added a scroll progress bar at the top of every page which increases its width as we scroll down.
https://github.com/user-attachments/assets/15be4ea7-456c-457c-a8a2-7edf1328fe21

@Madhavbansal27 thanks for your contribution. Can you create issue for this PR?


Differentiating external and internal data

Question
             pydantic version: 1.4
            pydantic compiled: True
                 install path: /home/ale/dev/lunni/lib/.venv/lib/python3.7/site-packages/pydantic
               python version: 3.7.5 (default, Nov 20 2019, 09:21:52)  [GCC 9.2.1 20191008]
                     platform: Linux-5.3.0-46-generic-x86_64-with-Ubuntu-19.10-eoan
     optional deps. installed: []

I'm trying to use Pydantic models as the base “internal” models in my app. It worked fairly well for a while, however I got to a point where I need to do validation when getting the data from outside (e. g. readOnly fields shouldn't be present at all) but not inside the app (it should be present when returning data back to user after all). Something like:
class User(BaseModel):
    id: int = Field(None, readOnly=True)
    username: str

    @validator('id')
    def field_is_readonly(cls, v):
        # There might be a more elegant solution, but for now it'll do
        raise ValueError('field is read-only')

User.load(id=5, username="foo")
# same as User(**dict) as of now
# -> ValidationError: 1 validation error for User
#    id
#      field is read-only (type=value_error)

User.load_trusted(id=5, username="foo")
# e. g. from orm (like in #1212) -- this should be the User(**dict) IMO
# -> User(id=5, username="foo")

I know there's a few issues like this (#422 and #1212, closer to the latter) but I think this is a more fundamental design question than these. I hope I didn't get too metaphysical and still do make some sense :) Feel free to ask me to clarify if I don't.

Bonus: hacky writeOnly implementation
from pydantic import BaseModel, Field

EMPTY_SET = set()

def get_write_only_fields(schema):
    if schema.get("writeOnly", False):
        return ...
    elif schema.get("type") == "object":
        return {
            name: get_write_only_fields(inner_schema)
            for name, inner_schema in schema["properties"].items()
        }

    return EMPTY_SET

class Model(BaseModel):
    def dict(self, **kwargs):
        kwargs.setdefault("exclude", get_write_only_fields(self.schema()))
        return super().dict(**kwargs)

This would completely hide SecretStr / SecretBytes and other writeOnly values from model.dict() but retain them in dict(model) and attributes.

I think your solution is fine.
Long term I suspect we should extend load and dump aliases #624 to include a "skip" option to exclude things from from dict() and json().


Maybe we rename the internalize command?

It feels a little odd to me to have php artisan basset:internalize, it seems unlike any other default Laravel command. Considering other artisan commands, how about we do...
php artisan basset:clear // done
php artisan basset:cache // instead of internalize

That way it would be similar to:
// views
php artisan view:cache
php artisan view:clear

// cache
php artisan cache:clear

// events
php artisan event:cache
php artisan event:clear

// routes
php artisan route:cache
php artisan route:clear
php artisan route:list

What do you think @promatik ?

Yup 👌
I agree, internalize was a fancy term we decided to have, but cache is much easier for developers to memorize.
I actually don't see any reason to have internalize 🤷♂
PR is open at https://github.com/Laravel-Backpack/basset/pull/45 👌


ngModel and modal window strange behaviour before first blur of field

Hi,
I know the subject sounds strange, but also the problem what I found. I tried to figure this out but I failed. Seems angular's ngModel does something different before and after the first blur of the field that is binded.
Here is the example. http://jsfiddle.net/oLdnooh2/2/
Click in the field, type anything and hit ENTER. This will trigger a modal window and you are going to get an angular error in the console saying a digest cycle is already running (Tested in Chrome). Close the modal, hit ENTER, the same error occurs as many time as you want.
OK, now click outside the field, it looses it focus, then click back, and hit enter again. Everything seems the same, but the error disappeared. And you are never going to get again. You also never will get the error if you click in the field click out and click back again before you first hit ENTER. If the field lost its focus at least once this error never occurs.
What do you think what is this and how can it be avoided?
Thanks,
Matyee

The opposite works as well. If I put a field on a modal and bind it with ngModel, click in it to gain focus and hit ESC that makes the modal to close, the same digest error comes up. If I click on the field click elsewhere and click on it again and hit ESC after, then the modal closes but the error is not there.

The same issue comes up in FF.

I am not actually seeing the error in Chrome in the fiddle, but I do see this in Firefox.
Also your fiddle had a slight error with the submit button type, so I updated it here.

I updated the fiddle again here with the unminified version of UI Bootstrap.
It looks like the error is being thrown here.
Can you recreate this in Plunker? This would make it easier to debug & modify the source itself to test bug fixes, which jsfiddle seems to be bad at allowing in an easy to work with way.

I created a plunker here but the issue was fixed in [Angular 1.3.4] (https://github.com/angular/angular.js/blob/master/CHANGELOG.md#134-highfalutin-petroglyph-2014-11-24) - most likely via the bullet titled call $setTouched in blur asynchronously if necessary.
I did confirm that the issue goes away when using Angular 1.3.4.  @wesleycho, I think this issue can be closed.


SBT not downloading web dependecies:

Below are the versions I'm using :
SBT : 1.3.13
Scala version : 2.13.3
Open JDK version : 1.8.0_275
Environment : Amazon EC2 - Linux
Content of plugin.sbt file :
          addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.18")

While running sbt build, it is giving below exception. I have not added any web related plugins. Still it is giving web plugin errors :
=============================================
[info] Loading settings for project sbttest-build from plugin.sbt ...
[info] Loading project definition from /home/ec2-user/sbtTest/project
[info] Updating
[info] Resolved  dependencies
[warn]
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]          com.typesafe.sbt:sbt-js-engine:1.2.3 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.typesafe.sbt:sbt-native-packager:1.5.2 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.lightbend.sbt:sbt-javaagent:0.1.5 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.typesafe.sbt:sbt-twirl:1.5.1 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.typesafe.sbt:sbt-web:1.4.4 (scalaVersion=2.12, sbtVersion=1.0)
[warn]
[warn]  Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.typesafe.sbt:sbt-js-engine;sbtVersion=1.0;scalaVersion=2.12:1.2.3
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-js-engine_2.12_1.0/1.2.3/sbt-js-engine-1.2.3.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error] Error downloading com.typesafe.sbt:sbt-native-packager;sbtVersion=1.0;scalaVersion=2.12:1.5.2
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-native-packager_2.12_1.0/1.5.2/sbt-native-packager-1.5.2.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.5.2/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.5.2/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.5.2/ivys/ivy.xml
[error] Error downloading com.lightbend.sbt:sbt-javaagent;sbtVersion=1.0;scalaVersion=2.12:0.1.5
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/lightbend/sbt/sbt-javaagent_2.12_1.0/0.1.5/sbt-javaagent-0.1.5.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.lightbend.sbt/sbt-javaagent/scala_2.12/sbt_1.0/0.1.5/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.lightbend.sbt/sbt-javaagent/scala_2.12/sbt_1.0/0.1.5/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.lightbend.sbt/sbt-javaagent/scala_2.12/sbt_1.0/0.1.5/ivys/ivy.xml
[error] Error downloading com.typesafe.sbt:sbt-twirl;sbtVersion=1.0;scalaVersion=2.12:1.5.1
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-twirl_2.12_1.0/1.5.1/sbt-twirl-1.5.1.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-twirl/scala_2.12/sbt_1.0/1.5.1/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-twirl/scala_2.12/sbt_1.0/1.5.1/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-twirl/scala_2.12/sbt_1.0/1.5.1/ivys/ivy.xml
[error] Error downloading com.typesafe.sbt:sbt-web;sbtVersion=1.0;scalaVersion=2.12:1.4.4
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-web_2.12_1.0/1.4.4/sbt-web-1.4.4.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-web/scala_2.12/sbt_1.0/1.4.4/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-web/scala_2.12/sbt_1.0/1.4.4/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-web/scala_2.12/sbt_1.0/1.4.4/ivys/ivy.xml
[error]         at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:247)
[error]         at lmcoursier.CoursierDependencyResolution.$anonfun$update$35(CoursierDependencyResolution.scala:216)
[error]         at scala.util.Either$LeftProjection.map(Either.scala:573)
[error]         at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:216)
[error]         at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error]         at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:52)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:102)
[error]         at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:69)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:115)
[error]         at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:115)
[error]         at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:96)
[error]         at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:150)
[error]         at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:129)
[error]         at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:2950)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error]         at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error]         at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error]         at sbt.Execute.work(Execute.scala:290)
[error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
[error]         at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error]         at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error]         at java.lang.Thread.run(Thread.java:748)
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.typesafe.sbt:sbt-js-engine;sbtVersion=1.0;scalaVersion=2.12:1.2.3
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-js-engine_2.12_1.0/1.2.3/sbt-js-engine-1.2.3.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error] Error downloading com.typesafe.sbt:sbt-native-packager;sbtVersion=1.0;scalaVersion=2.12:1.5.2
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-native-packager_2.12_1.0/1.5.2/sbt-native-packager-1.5.2.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.5.2/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.5.2/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.5.2/ivys/ivy.xml
[error] Error downloading com.lightbend.sbt:sbt-javaagent;sbtVersion=1.0;scalaVersion=2.12:0.1.5
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/lightbend/sbt/sbt-javaagent_2.12_1.0/0.1.5/sbt-javaagent-0.1.5.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.lightbend.sbt/sbt-javaagent/scala_2.12/sbt_1.0/0.1.5/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.lightbend.sbt/sbt-javaagent/scala_2.12/sbt_1.0/0.1.5/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.lightbend.sbt/sbt-javaagent/scala_2.12/sbt_1.0/0.1.5/ivys/ivy.xml
[error] Error downloading com.typesafe.sbt:sbt-twirl;sbtVersion=1.0;scalaVersion=2.12:1.5.1
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-twirl_2.12_1.0/1.5.1/sbt-twirl-1.5.1.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-twirl/scala_2.12/sbt_1.0/1.5.1/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-twirl/scala_2.12/sbt_1.0/1.5.1/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-twirl/scala_2.12/sbt_1.0/1.5.1/ivys/ivy.xml
[error] Error downloading com.typesafe.sbt:sbt-web;sbtVersion=1.0;scalaVersion=2.12:1.4.4
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-web_2.12_1.0/1.4.4/sbt-web-1.4.4.pom
[error]   not found: /home/ec2-user/.ivy2/local/com.typesafe.sbt/sbt-web/scala_2.12/sbt_1.0/1.4.4/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-web/scala_2.12/sbt_1.0/1.4.4/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException: Unsupported or unrecognized SSL message (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-web/scala_2.12/sbt_1.0/1.4.4/ivys/ivy.xml
Below is build.sbt file content :
=======================================
scalaVersion := "2.13.3"

version := "1.0.0"

name := "mySBTtest"

libraryDependencies ++= Seq(

  "com.google.inject" % "guice" % "4.1.0",

  "com.amazonaws" % "aws-java-sdk" % "1.11.46",

  "commons-io" % "commons-io" % "2.5",

  "com.fasterxml.jackson.core" % "jackson-core" % "2.8.7",

  "com.fasterxml.jackson.core" % "jackson-databind" % "2.8.7",

  "com.fasterxml.jackson.core" % "jackson-annotations" % "2.8.7",

  "com.fasterxml.jackson.dataformat" % "jackson-dataformat-csv" % "2.9.0",

  "org.mockito" % "mockito-core" % "2.8.9",

  "com.couchbase.client" % "java-client" % "3.3.1",

  "org.mindrot" % "jbcrypt" % "0.3m",

  "io.vavr" % "vavr" % "0.9.0",

  "io.vavr" % "vavr-jackson" % "0.9.0",

  "io.vavr" % "vavr-match" % "0.9.0",

  "com.google.code.gson" % "gson" % "2.8.1",

  "junit" % "junit" % "4.12",

  "com.typesafe.play" % "play_2.12" % "2.8.9",

  "io.reactivex" % "rxjava" % "1.3.0",

  "com.fasterxml.jackson.dataformat" % "jackson-dataformat-csv" % "2.9.0",

  "io.vavr" % "vavr-match" % "0.9.0",

  "commons-io" % "commons-io" % "2.4",

  "com.googlecode.jsontoken" % "jsontoken" % "1.0",

  "com.google.guava" % "guava" % "18.0",

  "org.mongodb" % "bson" % "3.3.0",

  "org.apache.tika" % "tika-core" % "1.18",

  "org.apache.tika" % "tika-parsers" % "1.18"

)

I recommend using sbt 1.7.1, not outdated 1.3.x

Tried with SBT version : 1.7.1, and Scala version 2.13.3.
content of my plugin.sbt
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.10")
Still getting same error :
`[info] welcome to sbt 1.7.1 (Red Hat, Inc. Java 1.8.0_275)
[info] loading settings for project sbttest-build from plugin.sbt ...
[info] loading project definition from /home/ec2-user/sbtTest/project
[info] Updating
[info] Resolved  dependencies
[warn]
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]          com.typesafe.sbt:sbt-js-engine:1.2.3 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.typesafe.sbt:sbt-native-packager:1.5.2 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.lightbend.sbt:sbt-javaagent:0.1.5 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.typesafe.sbt:sbt-twirl:1.5.1 (scalaVersion=2.12, sbtVersion=1.0)
[warn]          com.typesafe.sbt:sbt-web:1.4.4 (scalaVersion=2.12, sbtVersion=1.0)
[warn]
[warn]  Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.typesafe.sbt:sbt-js-engine;sbtVersion=1.0;scalaVersion=2.12:1.2.3
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-js-engine_2.12_1.0/1.2.3/sbt-js-engine-1.2.3.pom
[error]   not found: /home/ec2-user/.ivy2/localcom.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException (Unsupported or unrecognized SSL message) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
[error]   download error: Caught javax.net.ssl.SSLException (Unsupported or unrecognized SSL message) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml`

Please set Scala version to 2.13.10 in your build.sbt (but that should not be the problem).
Have you defined any resolvers in your build.sbt or project/plugins.sbt?
You can also try fresh by removing your $HOME/.sbt/ folder and the target folder in project (also any target folder under plugins).
Maybe can you post your full project/plugins.sbt and build.sbt? Are there any other .sbt files in your projects root folder or the plugins folder?

Maybe something to try is running curl inside the EC2 machine to see that the certificates are up to date?
curl --head -L https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml

This should return HTTP/1.1 200 OK.

Getting this error now :
curl --head -L https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
HTTP/1.1 302 Moved Temporarily
Content-Length: 145
Content-Type: text/html
Date: Thu, 08 Dec 2022 18:30:16 GMT
Location: https://scala.jfrog.io/artifactory/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml
Server: nginx/1.19.6
Connection: keep-alive

curl: (35) SSL received a record that exceeded the maximum permissible length.

Yea, so that's likely an issue with your environment. Unless Scala Center's Artifactory is blocked AWS-wide, I think it's outside of the scope of issue tracking.
Feel free to continue the discussion on Discord etc though - https://www.scala-sbt.org/community.html


Adding Potlatch3 as an editor

For those of us Potlatch die hards, now the OSM foundation has sanctioned (by funding) its continued use, it would be nice to see Potlatch3 being added as a choice of editor.
Would this be possible ?

If Potlatch can be called with a specific bounding box, and ideally (optionally) with feature ID parameters for features that will be pre-selected when it loads, then yes!


[HUDI-8367] Fix log file marker creation in file group initialization in metadata table writer

Change Logs
Add callbacks to create log file marker.
Impact
Fix a bug.
Risk level (write none, low medium or high below)
Low.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

This is duplicate of #12102