text:
Roll Engine from fd6b409f950b to 8d3d69b6b0f9 (30 revisions)

Roll Engine from fd6b409f950b to 8d3d69b6b0f9 (30 revisions)
https://github.com/flutter/engine/compare/fd6b409f950b...8d3d69b6b0f9
2020-12-17 30870216+gaaclarke@users.noreply.github.com Turned no malloc scribble and randomized the tests. (flutter/engine#23014)
2020-12-17 831355+rokob@users.noreply.github.com Use include for C/C++ headers in darwin/macos (flutter/engine#23035)
2020-12-17 chaselatta@google.com Roll fuchsia toolchain (flutter/engine#23155)
2020-12-17 dnfield@google.com Make it easier to turn on Xcode symlinks (flutter/engine#23150)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from 81da68af2ecf to 7b920446a8fc (14 revisions) (flutter/engine#23152)
2020-12-17 zanderso@users.noreply.github.com Update android_lint deps (flutter/engine#23151)
2020-12-17 paulberry@google.com Fix engine in preparation for implementing https://github.com/dart-lang/language/issues/1274 (flutter/engine#23131)
2020-12-17 mouad.debbar@gmail.com [web] Rich paragraph getPositionForOffset (flutter/engine#23133)
2020-12-17 jodysankey@users.noreply.github.com [fuchsia] Add wrapper for zx_clock_get_monotonic. (flutter/engine#23128)
2020-12-17 a-siva@users.noreply.github.com Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
2020-12-17 zanderso@users.noreply.github.com Add --strict_null_safety_checks to the Dart flag allowlist (flutter/engine#23144)
2020-12-17 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from wu6yV-_BL... to _l04etgVd... (flutter/engine#23145)
2020-12-17 30870216+gaaclarke@users.noreply.github.com Added golden test to make sure that spawn engines work. (flutter/engine#23066)
2020-12-17 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from chLTYsKMR... to RDUxjnng0... (flutter/engine#23143)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from b64da3907f76 to 81da68af2ecf (7 revisions) (flutter/engine#23142)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from 995f0366bd21 to b64da3907f76 (1 revision) (flutter/engine#23135)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from 20f1b3462878 to 995f0366bd21 (2 revisions) (flutter/engine#23132)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from 7839f66540b6 to 20f1b3462878 (1 revision) (flutter/engine#23129)
2020-12-17 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from TIKHoiQyP... to wu6yV-_BL... (flutter/engine#23127)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from 1d89532d5988 to 7839f66540b6 (1 revision) (flutter/engine#23126)
2020-12-17 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from acylwa3i4... to chLTYsKMR... (flutter/engine#23125)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from d6f2338ab194 to 1d89532d5988 (1 revision) (flutter/engine#23122)
2020-12-17 mouad.debbar@gmail.com [web] Rich paragraph getBoxesForRange (flutter/engine#23098)
2020-12-17 chris@bracken.jp Rename PointerState.isDown as per style guide (flutter/engine#23120)
2020-12-17 mouad.debbar@gmail.com [web] Tests for rich paragraph DOM (flutter/engine#23097)
2020-12-17 skia-flutter-autoroll@skia.org Roll Skia from 85fa75616dfe to d6f2338ab194 (3 revisions) (flutter/engine#23119)
2020-12-17 ferhat@gmail.com [web] Switch web-render option default to auto (flutter/engine#23090)
2020-12-16 skia-flutter-autoroll@skia.org Roll Skia from 6f31e27f1e29 to 85fa75616dfe (7 revisions) (flutter/engine#23118)
2020-12-16 ligs2001@163.com fix crash in FontCollection::init() when FontFamily is empty (flutter/engine#23019)
2020-12-16 chaselatta@google.com bump fuchsia toolchain to clang-12 (flutter/engine#23067)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from TIKHoiQyPn19 to _l04etgVdwLT
fuchsia/sdk/core/mac-amd64 from acylwa3i4p-j to RDUxjnng0IBv
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC zra@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
...

Gold has detected about 42 untriaged digest(s) on patchset 30.
View them at https://flutter-gold.skia.org/cl/github/72575

Commit queue failed; closing this roll.

authors: engine-flutter-autoroll skia-gold


text:
Roll Engine from 95a40884c738 to 3b6a6001b4b1 (9 revisions)

https://github.com/flutter/engine/compare/95a40884c738...3b6a6001b4b1
2021-07-28 chillers@google.com Empty commit to apply latest LUCI config (flutter/engine#27767)
2021-07-28 chillers@google.com [ci_yaml] Add autoroller builder (flutter/engine#27731)
2021-07-28 skia-flutter-autoroll@skia.org Roll Skia from c7218f57add1 to 222c1c16317c (1 revision) (flutter/engine#27762)
2021-07-28 skia-flutter-autoroll@skia.org Roll Dart SDK from e4fa78b5025a to fec06792b6e3 (1 revision) (flutter/engine#27761)
2021-07-28 skia-flutter-autoroll@skia.org Roll Dart SDK from c9f1521fd3fe to e4fa78b5025a (1 revision) (flutter/engine#27759)
2021-07-28 skia-flutter-autoroll@skia.org Roll Skia from 5def25af3f9a to c7218f57add1 (1 revision) (flutter/engine#27758)
2021-07-28 skia-flutter-autoroll@skia.org Roll Skia from 77292ac4a12f to 5def25af3f9a (1 revision) (flutter/engine#27756)
2021-07-28 skia-flutter-autoroll@skia.org Roll Skia from 2527fd0b8d5e to 77292ac4a12f (1 revision) (flutter/engine#27754)
2021-07-28 skia-flutter-autoroll@skia.org Roll Skia from dc409946e9f0 to 2527fd0b8d5e (1 revision) (flutter/engine#27753)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.

source: gharchive/pull-request

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Roll Flutter from e8eac0d047cd to 75ca31b0e48d (15 revisions)

https://github.com/flutter/flutter/compare/e8eac0d047cd...75ca31b0e48d
2023-02-08 hans.muller@gmail.com Correct Badge interpretation of its alignment parameter (flutter/flutter#119853)
2023-02-08 engine-flutter-autoroll@skia.org Manual roll Flutter Engine from f310ffd1461a to bdc5b6b768f6 (12 revisions) (flutter/flutter#120261)
2023-02-08 mdebbar@google.com Revert "Stop recursively including assets from asset folders (#120167)" (flutter/flutter#120283)
2023-02-08 36861262+QuncCccccc@users.noreply.github.com Add trackOutlineColor for Switch and SwitchListTile (flutter/flutter#120140)
2023-02-08 xubaolin@oppo.com fix a TextFormField bug (flutter/flutter#120182)
2023-02-08 zanderso@users.noreply.github.com Revert "Roll Flutter Engine from f310ffd1461a to 7098858dc0a5 (9 revisions) (#120251)" (flutter/flutter#120257)
2023-02-08 rmolivares@renzo-olivares.dev Add support for extending selection to paragraph on ctrl + shift + arrow up/down on Non-Apple platforms (flutter/flutter#120151)
2023-02-08 engine-flutter-autoroll@skia.org Roll Flutter Engine from f310ffd1461a to 7098858dc0a5 (9 revisions) (flutter/flutter#120251)
2023-02-08 gnprice@gmail.com Add test for RenderProxyBoxMixin; clarify doc, resolve TODO (flutter/flutter#117664)
2023-02-08 gnprice@gmail.com Fix hang on successful dev/bots/analyze.dart (flutter/flutter#117660)
2023-02-07 christopherfujino@gmail.com Revert "Revert "Fix unable to find bundled Java version (#119244)" (#119981)" (flutter/flutter#120107)
2023-02-07 engine-flutter-autoroll@skia.org f310ffd14 Roll Skia from 3b1401c4870d to 87dbc81b421f (4 revisions) (flutter/engine#39457) (flutter/flutter#120214)
2023-02-07 christopherfujino@gmail.com un-pin package:intl (flutter/flutter#119900)
2023-02-07 jmccandless@google.com Web tab selection (flutter/flutter#119583)
2023-02-07 36861262+QuncCccccc@users.noreply.github.com Update to v0.158 of the token database. (flutter/flutter#120149)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC rmistry@google.com,stuartmorgan@google.com,tarrinneal@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.

repo: flutter/plugins


text:
How to delete the files name like '5c0ec67a-f5cf-42d5-a2b6-b0e156ef87b9.jpg' after  compressAndGetFile?

How to delete the files name like '5c0ec67a-f5cf-42d5-a2b6-b0e156ef87b9.jpg' after  compressAndGetFile?

@GGSDDUAY Any idea?

My approch is to delete all files from cache folder
  final tempDirectory = (await getTemporaryDirectory());
  final directoryItemList = tempDirectory.listSync();
  for (final element in directoryItemList) {
    if (element is File) {
      element.deleteSync();
    }
  }

source: gharchive/issue

license: MIT


text:
Not importing/parsing json values from valuesFrom correctly

Looking at the example config this occurs when importing these values:
service_account: |-
    {
      "type": "service_account",
      "project_id": "project",
      "private_key_id": "abcdefghijklmnopqrstuvwxyz12345678906666",
      "private_key": "-----BEGIN PRIVATE KEY-----\...\n-----END PRIVATE KEY-----\n",
      "client_email": "project@thanos.iam.gserviceaccount.com",
      "client_id": "123456789012345678901",
      "auth_uri": "https://accounts.google.com/o/oauth2/auth",
      "token_uri": "https://oauth2.googleapis.com/token",
      "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/thanos%40gitpods.iam.gserviceaccount.com"
    }

I've tried to add these with values and valuesFrom with different kinds of secrets but still ending up on the same error.
unable to merge value from key 'thanos.yaml' in Secret 'flux-system/thanos-objstore-secret' into target path 'objstoreConfig': key "\n      \"project_id\": \"project\"" has no value (cannot end with ,)  when using valuesFrom
Also tried adding it like, server_account: '{"type": "service_account",...}' and similar formats both base64 encoded in a secret and not.
Everything works when installing the chart manually with helm so my theory this is flux helm-controller related.
To reproduce:
Chart: https://bitnami.com/stack/thanos/helm https://github.com/bitnami/charts/tree/master/bitnami/thanos
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: thanos
  namespace: flux-system
spec:
  releaseName: thanos
  interval: 1m
  targetNamespace: core
  chart:
    spec:
      chart: charts/thanos
      sourceRef:
        kind: GitRepository
        name: x
  values:
    objstoreConfig:
      type: GCS
      config:
        bucket: x
  valuesFrom:
    - kind: Secret
      name: thanos-objstore-secret
      valuesKey: service_account
      targetPath: objstoreConfig.config

Tried different ways with valuesFrom, so this is just one of the ways I've tried it.

Your configured targetPath is not an existing values path, the values path is objStoreConfig, as can be observed in both the values.yaml as in one of the examples.
To make it work, it is likely easier to create a Secret resource that looks something like the following:
kind: Secret
metadata:
  name: thanos-objstore-secret
stringData:
  values.yaml: |
    objstoreConfig: |-
	  type: GCS
	  config:
  		bucket: "thanos"
  		service_account: |-
    	  {
      		"type": "service_account",
      		"project_id": "project",
      		"private_key_id": "abcdefghijklmnopqrstuvwxyz12345678906666",
      		"private_key": "-----BEGIN PRIVATE KEY-----\...\n-----END PRIVATE KEY-----\n",
      		"client_email": "project@thanos.iam.gserviceaccount.com",
      		"client_id": "123456789012345678901",
      		"auth_uri": "https://accounts.google.com/o/oauth2/auth",
      		"token_uri": "https://oauth2.googleapis.com/token",
      		"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      		"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/thanos%40gitpods.iam.gserviceaccount.com"
    	  }

and then use the following valuesFrom reference:
  valuesFrom:
    - kind: Secret
      name: thanos-objstore-secret

Another thing I notice from the way you are currently passing in values is that you may not be aware that valuesFrom references are merged before values references, and that using targetPath comes with certain constraints, as documented in the "note" of: https://fluxcd.io/docs/guides/helmreleases/#refer-to-values-in-configmap-and-secret-resources

Thanks @hiddeco I got it to work :)

authors: hiddeco philipgloot

repo: fluxcd/helm-controller


text:
Log in to AWS ECR automatically using the cluster-provided credentials.

As discussed in fluxcd/image-reflector-controller#139
This mostly restores the flux v1 functionality (for me)
if the environment variable USE_ECR is set, logs in to the AWS Elastic
Container Registry in the image URL by fetching a temporary token from
AWS.

This looks like it needs to be rebased before it can be approved. (Is there any other feedback that was left here, which still needs to be addressed?)

@kingdonb I am very sorry for the long inactivity, I am quite busy atm... I'll try to follow squaremos rebase tutorial above ASAP.

Sorry for the interruption! This PR got a mention in our bug scrub event today, I think there is no urgency, it was just the right age and staleness for this issue to come to the top of our list and get our attention, I'm glad to see it moving ahead.
Thank you for doing the rebase; it looks like the next step is for a maintainer to approve the test execution and have another look for review.
Also, 🙌  first time Flux contributor high-five!

Hello all,
Nice work being performed here, we are looking forward to using it. As of now, we use a pods that retrieves a token every 6 hours and stores it as kubesecret to be used by the image reflector controller.
Do you have any idea when this PR could be merged?
Thanks.

I'm going to rebase this and put it in another PR -- usually I would rebase and push to the fork, but I don't want to mess with someone's main. @MartinEmrich you will still get the credit, don't worry ;-)

@squaremo sure, do whatever you have to, no worries! :)
THB, navigating all these processes with git, forks, branches, rebases, checks, reviews and stuff seems to be more hassle than implementing these few lines of code... Maybe I'm getting old, but in hindsight diff -Naur+email was easier.
So I apologize if my ignorance held this up more than necessary.

Maybe I'm getting old, but in hindsight diff -Naur+email was easier

Ha yep, fair enough. I think it's worth brushing up on git in general, and all those things you mention get easier, but it is steep hill to climb to scratch just one itch*, that's true.
(*A mixed metaphor should be derailed, no matter how it sings!)

authors: MartinEmrich kingdonb squaremo tibz-enex

repo: fluxcd/image-reflector-controller


text:
Based on #698

There is something wrong with the syntax highlighter here, testing a theory to riff off of #698 which attempted to fix it, but didn't seem to work.

Neither of us have guessed correctly about what causes this issue.
I now believe that the syntax highlighting issue is related to slashy strings. Parsing Groovy must be very difficult. 🤷

repo: fluxcd/website


text:
🛑 Farmacias is down

In 4b88e3b, Farmacias (https://extranet.osam.org.ar/Consulta/farmacias) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Farmacias is back up in 022c733 after 15 minutes.

repo: flvanney/OSAMuptime


text:
:sparkles: Add reqwest-async backend

As the title states, this commit adds a reqwest-async backend. It requires the tokio runtime, as it spawns an async background task.
Currently untested, needed to push to be able to test.

I have absolutely zero clue where the stable failure is coming from. As far as I can tell, the only place tokio is used as a dep is in the dep:tokio format.

Turns out the dep:tokio format was the source of the error.

Okay, so it turns out <impl Log for Fenrir>::flush never gets called. It has to be manually called by a user. Not sure what you think the best way of doing this would be. I could probably spawn a background async task that flushes logs as they're received, but that would only work in an async context.

I added a buffer that buffers logs until they reach a specified limit, configurable by the user.

LGTM! Thanks a lot for your work on that topic!


text:
Publish

@jbucaran I don't have the ability to publish to NPM for this or any of the FlyJS org repos. Can you please add me?

Okey dokey.

I published this one, thanks. But still need access to the other modules.

authors: jbucaran lukeed

repo: flyjs/fly-uglify

license: mit

license_source: bigquery


text:
User accounts

We need user account management. A full-blown LDAP permission integration would be nice, but SSH keys taking the place of the current flynn cluster add stanza (which is currently the shared key to the whole cluster) would be good enough.
Ideally, the keying should not be cluster-specific, to make migration between clusters easier.

Am I correct that as of right now there is only one set of credentials to auth to a cluster when you add it via flynn cluster add? Is there a way to set up multiple sets of credentials or to reset / change them when someone on my team leaves?

@kevinob11 Currently, you are correct. This is the ticket for fixing that issue, and I believe it is fairly high on their queue. We definitely want it at our company, too.

Thanks @temujin9 I got worried when I hadn't seen any action here since 2014. Happy to help in any way I can.

Any status on when this one might be done?

Until this is done, anyone have recommendations for dealing with adding new clusters? Currently what I'm doing is this (and it's a pain-in-the-ass):

Document the cluster add command in an internal wiki
Put the TLS pin and cluster key in LastPass
Tell other engineers to get the pin/key from LastPass and run flynn cluster add

I'm currently primarily working on this, I should have some news soon. That procedure sounds right, though only the key is secret, the TLS pin is not secret.

Where do I acquire this elusive TLS pin? Is it the one that's listed in the documentation on https://flynn.io/docs/cli#adding-clusters? I simply don't see how it would have been created for me locally. I am running the demo in a vagrant box for context.

@icarlosmendez It is printed as part of the flynn cluster add command, as well as stored in ~/.flynnrc after running the command.

Have you considered partnering with something like GitLab for these purposes?

https://about.gitlab.com/
https://gitlab.com/gitlab-org/gitlab-ce/tree/master#gitlab

GitLab has:

user directory and groups
allows project owners to manage per-user and per-group permissions
allows users to register and manage their SSH keys
authenticates access to projects using these SSH keys

What if GitLab was installed in a container, just like the default control-plane's PostgreSQL service?

Adding to the above comment, GitLab also has LDAP integration which could be leveraged.

If you think GitLab makes sense for you or you want to discuss this in a more synchronous way, we're happy to help. You're also free to send me an email at job at gitlab com.

I'm currently working on the Flynn authentication/authorization system. We will have a very lightweight built-in user database, but I expect a lot of users will integrate external identity systems. The user policy system is designed to be agnostic to the source of user identity, and the rest of the system is completely agnostic to the source of policy for a given request.
Our first external identity integration will likely be OpenID Connect, which will support user login with a very large variety of external providers, including services like Google Apps. Does GitLab support OIDC? It is rapidly becoming the standard API to do federated identity across applications.

@titanous Is there a ticket I might follow here? Getting this worked into our systems is going to be a priority for me.

Any update on this ? Any ETA ?

Bump

Just to be sure: when this issue will be closed, would be possible to use multiple users each with their own apps? In example, user1 can't show/manage user2's apps ?

@guestisp Yes, though we may not have full multitenant security isolation in place when the issue is closed.

Do you have an eta for this?

Yes, though we may not have full multitenant security isolation in place when the issue is closed.

Could this possibly be a layer added by a Flynn user within the container infrastructure itself? It is sort of a weak example, because it doesn't use containers at all, but I was thinking along the lines of something like Salesforce's Force.com platform.
Scott

Yes, though we may not have full multitenant security isolation in place when the issue is closed.

Could this possibly be a layer added by a Flynn user within the container infrastructure itself? It is sort of a weak example, because it doesn't use containers at all, but I was thinking along the lines of something like Salesforce's Force.com platform.
Scott

Any ideas on scheduling for this ticket? I've got customer use cases that are blocked by lack of this.

+1

Hi @titanous  and @temujin9 ,
User management will be one big factor when evaluating PaaS solutions for us as well. We are looking at a few and only flynn.io doesn't have this feature yet. I don't want to be annoying, but expected ETA on this feature? Can we have at least some approximation --> one month, two months, three months.. from now.
Thanks!

@Cryptophobia I'm not part of the Prime Directive team, so I can't answer that directly
I can say that a good key rotation policy, an existing repository with good access control (S3 works for us), and just a little automation works as a well-secured stopgap, for at least some use-cases.

@temujin9 Thanks for the comment!
So to understand this: you are pushing user's repositories to S3 first and controlling the access to those buckets before deploying them with flynn? Then rotating the keys to make sure they are fresh?
We want to be able to allow users to push to flynn themselves; do you manage those user-permissions based on the bucket policies/IAM roles? One awesome thing about flynn is the CLI tool and doing the deployments through the git remotes, but I don't see anyway we can give users different level of push (deploy) access within flynn yet.
For you S3 serves as your intermediary access control to flynn?

@Cryptophobia Not quite. We are sharing the Flynn keys via KMS locked S3 plus some interstitial automation, and then users are managing their own applications with the CLI. There is no privilege separation with this solution: access is all or nothing. That works fine in some use cases (basically, if you can trust your developers), but may not be acceptable for yours.
We haven't tried Gitlab at all.

@temujin9  Thanks for the explanation!

Hi all
Is this feature under development?

I don't think so @alizowghi

ha 4 years, no user authentication. development in a nutshell.

did someone say nutshell? :shipit:

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.

authors: Cryptophobia JobV alizowghi guestisp hadifarnoud icarlosmendez jokeyrhyme kevinob11 koolay maxlazio shinebayar-g smolinari temujin9 titanous tjboring

repo: flynn/flynn


text:
ImportError

[X] I have read the README.md file and visited the Documentation to see if the information there helps.

Describe the bug
After installing the script on Raspberry Pi Zero 2, the script won't start.
Error messages and traceback
Could not import runpy module
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 14, in <module>
    import importlib.machinery # importlib first so we can test #15386 via -m
  File "/usr/lib/python3.7/importlib/__init__.py", line 57, in <module>
    import types
  File "/home/pi/.local/lib/python3.7/site-packages/mqtt_io/types.py", line 5, in <module>
    from typing import TYPE_CHECKING, Any, Dict, Union
  File "/usr/lib/python3.7/typing.py", line 28, in <module>
    import re as stdlib_re  # Avoid confusion with the re we export.
  File "/usr/lib/python3.7/re.py", line 122, in <module>
    import enum
  File "/usr/lib/python3.7/enum.py", line 2, in <module>
    from types import MappingProxyType, DynamicClassAttribute
ImportError: cannot import name 'MappingProxyType' from 'types' (/home/pi/.local/lib/python3.7/site-packages/mqtt_io/types.py)

Config
mqtt:
  host: ---
  port: 1883
  user: ---
  password: ---
  topic_prefix: home/photoframe
  ha_discovery:
    enabled: yes

gpio_modules:
  - name: raspberrypi
    module: raspberrypi
    cleanup: yes

digital_inputs:
  - name: power_in
    module: raspberrypi
    pin: 23

digital_outputs:
  - name: power_out
    module: raspberrypi
    pin: 4

Hardware

Raspberry Pi Zero 2
Connected hardware:  digital input from an LCD driver board and output is driving a transistor controlling the same LCD driver

System:

OS: Raspbian
Python version: Python 3.7.3
User you're running as: pi, tried root as well
Using a virtualenv?: no

Additional context
Add any other context about the problem here.

Closed because nothing happened. Please reopen or create a new one, if this issue is still present and shall be addressed.

repo: flyte/mqtt-io


text:
feat: Add retry mechanism to file access methods

Tracking issue
NA
Why are the changes needed?
Failed to upload a file to s3
      File "/usr/local/lib/python3.11/site-packages/s3fs/core.py", line 719, in _lsdir
        raise translate_boto_error(e)

Message:

    OSError: [Errno 16] Please reduce your request rate.

User error.

What changes were proposed in this pull request?
Catch the error Please reduce your request rate, and retry the request.
How was this patch tested?
Remote cluster
Setup process
import asyncio
import os
from typing import List, Dict, Any, Coroutine
import s3fs

from flytekit import ImageSpec, task, workflow, Resources, FlyteContextManager

# Constants
NUMBER_OF_REQUESTS: int = 100000
BUCKET_NAME: str = 's3://xxx/load-test/'
OBJECT_KEY: str = 'your_object_key'
DATA: str = 'abcsfsdfsdfsfdsdf'
s3fs = s3fs.S3FileSystem()

def write_data(source_file: str, object_key: str):
    ctx = FlyteContextManager.current_context()
    ctx.file_access.put(source_file, f"{BUCKET_NAME}{object_key}")

def make_file_if_not_exists(file_path: str, data: str) -> None:
    if not os.path.exists(file_path):
        with open(file_path, "w") as f:
            f.write(data)

async def make_s3_request(object_key: str, data: str, idx: int) -> Dict[str, Any]:
    if idx % 10 == 0:
        print(f"Making request for object_key: {idx}")
    source_file = f"/root/source_{idx % 10000}.txt"
    make_file_if_not_exists(source_file, data)
    response: Dict[str, Any] = await asyncio.to_thread(write_data, source_file, object_key)
    if idx % 10 == 0:
        print(f"Done with request {idx}")
    # response = await s3fs._put("/tmp/test/file.txt", f"s3://union-cloud-oc-staging-dogfood/load-test/{object_key}")
    return response

async def send_requests() -> List[Coroutine]:
    tasks: List[Coroutine] = [make_s3_request(f"{OBJECT_KEY}_{i}", DATA, i) for i in range(NUMBER_OF_REQUESTS)]
    print("Sending requests")
    return await asyncio.gather(*tasks)

async def main() -> None:
    responses: List[Dict[str, Any]] = await send_requests()
    # Do something with the responses

new_flytekit = "git+https://github.com/flyteorg/flytekit@0db9079b6e11767aac61c5dafc1c025ba04ef31e"
image = ImageSpec(registry="pingsutw", packages=[new_flytekit], apt_packages=["git"])

@task(
    requests=Resources(cpu="1", mem="3000Mi"),
    limits=Resources(cpu="1", mem="5000Mi"),
    interruptible=False,
    # container_image=image,
)
def s3_load_task():
    asyncio.run(main())

@workflow
def wf():
    for i in range(100):
        s3_load_task()

if __name__ == "__main__":
    asyncio.run(main())

Screenshots
Check all the applicable boxes

[x] I updated the documentation accordingly.
[x] All new and existing tests passed.
[x] All commits are signed-off.

Related PRs
NA
Docs link
NA

s3fs PR. https://github.com/fsspec/s3fs/pull/865

repo: flyteorg/flytekit


text:
Table.exists() very slow in Postgres Environments with a lot of objects

What version of Flyway are you using?
4.2.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Java API
What database are you using (type & version)?
Postgres 9.5
What did you do?
Run migrations on a database with many objects.
Objects are all tables/indexes/sequences in all schemas.
What did you expect to see?
I expected a negligible overhead for the calls to Table.exists()
What did you see instead?
A single call to Table.exists() - or more precisely PostgreSQLTable.doExists() - has a significant overhead.
On a database with over 500.000 Objects a single call can take more than 250ms.
When calling Flyway.migrate() the method is called about 8 times and then 3 times per Script.
This might sum up to a huge overhead. Especially with a lot of schemas (which lead to the many objects).
Of course this is a problem with Postgres in the first place, but unfortunately leads to difficulties when doing migrations with Flyway .

The code for PostgreSQLTable.doExists()  is taken from this post:
https://stackoverflow.com/questions/20582500/how-to-check-if-a-table-exists-in-a-given-schema/24089729#24089729

Fixed by #1702

authors: RobertRad axelfontaine

repo: flyway/flyway


text:
maven community plugin requires to remove pro license

Hi our company bought pro license (we use flyway 6.1.1)
however, developers continue to use community edition via maven plugin and by it-ops we use console app
config files have license property set, but flyway complains we have to use pro edition plugin
Why the license property is not just ignored by community plugin?
we cannot use pro mvn plugin due restriction to download maven plugin from outside (also changing settings.xml is pain to change for all developers)
so developers and it-ops share the same conf files with license provided, develoepr should be able use maven plugin as community even they use conf file with provided license

If I understand correctly, you're providing a license key to the Flyway Community edition Maven plugin. Flyway is then producing a warning because it detects a license key.
I think the exception makes sense because generally if you provide a license key you expect to be using pro/enterprise. So it's to prevent users accidentally using community edition when they meant to use pro or enterprise.
That said, Flyway will also fail if you attempt to use a Pro/Enterprise feature in Community anyway.
We're thinking we should demote the exception to a warning. That way we can still alert users who have potentially made a mistake, whilst also unblocking users in your situation.

we use all settings in flyway.conf files and host license there. those files are shared between maven and consol app. We need just a warning not to fail having the license in conf file. Developers do not try to use pro features.
Also, another big problem it is how to setup pro plugin: we cannot use external repositories in the company, thus cannot also put your repository settings to settings.xml and set password and user as license in pom.xml file. why all of this is so complicated for maven? console app has not this problem - you have a license you can run pro command. For maven you have to fetch pro plugin, do many extra settings, etc - not good

Now you've mentioned the errorOverrides, I've realized this is a bit more widespread than it first appeared. Really the general problem is interoperability between different editions. Currently, Flyway Community produces an exception if any pro/enterprise config option is set. The only way to avoid this is to have not set the options in the first place so they appear as null.
We don't think this is worth doing. Really you should use the same edition for all your work. Licenses are per production schema, so it doesn't cost any more to have lots of dev usages of paid Flyway editions.
For now I think the workaround is to use two config files, one with pro config, and one with community.
As for your case, you can't get the pro artifacts from our Maven repo due to company policy. It's a fair point that it's inconsistent that they aren't hosted on Maven Central. Given you're a Pro customer you should contact official Flyway support via email.

authors: MikielAgutu vitas


text:
Upgrade to Java 1.8

Upgrade to Java 1.8 and update all examples.

DONE

repo: fmcarvalho/HtmlFlow


text:
Add kube-probe to capture Kubernetes HTTP probes

kubernetes has HTTP probes to check readiness of a service
Before:
Browser.new('kube-probe/1.25').bot?
=> false

After:
Browser.new('kube-probe/1.25').bot?
=> true

Hi @joelzwarrington!
Can you please follow the other instructions listed here?

@fnando should be good to have a look now, I believe I followed all of the instructions 😄

@fnando any chance you could have a look? 🙇 🙏

@fnando - can you have a look please?

@fnando can you have a look please?

authors: fnando joelzwarrington

repo: fnando/browser


text:
Add option fillStyle (start|end)

Este parâmetro apenas define se o fill será para cima ou para baixo da linha. Em alguns casos é útil (foi no meu) e eu vi esta feature em outras libs. Como eu precisava de algo simples, achei bacana criar esta feature no sparkline e compartilhar.
*Não adicionei esta feature nos testes.
A utilização é simples:
sparkline.sparkline(svg, randNumbers(), { fillStyle: 'end' });

Pode enviar screenshots mostrando a diferença entre os dois?

authors: fnando renanvaz

repo: fnando/sparkline


text:
Created heap code

Created the implementation of heap using C language in the Data Structures repository

Thanks for contributing!

authors: VarthanV xlogix

repo: fnplus/interview-techdev-guide


text:
Make an example of custom host for namespacing using /etc/hosts file

An example to show how to create an extension for using custom domains.
Eg 1: namespaced by user:
appname.username.customdomain.com/path/to/function (points to same thing as => host/r/appname/path/to/function)
Eg 2: globally unique app names (like s3, heroku, google cloud functions, lambda with api gateway),
appname-12345.customdomain.com
If you were running a service, you'd offer up domains like: appname-12345.my-fn-service.com

@derekschultz is this [related to] what you're working on?

@carimura Yes, it is somewhat related.

I'm a bit confused by the title of this issue, specifically w/r/t namespacing via /etc/hosts. I must be missing some context from recent discussions.
Related to above, I'm not working on namespacing. That's another issue (see GitLab service repo) separate from what I had been working on before Fn + OKE took up all of my time.
I am working on the second bullet point, globally unique app names, i.e myapp.fnservice.io.

This is coming together here: https://github.com/treeder/fn-ext-dns

authors: carimura derekschultz treeder

repo: fnproject/fn


text:
fn: read-only root fs becomes default

Set root fs as read-only by default.

I'm going to update/add this to docs. The original option was undocumented.


text:
NOC email template + deleteModal translations

nanopay : https://github.com/nanoPayinc/NANOPAY/pull/11878
https://nanopay.atlassian.net/browse/NP-3407
https://nanopay.atlassian.net/browse/NP-3564
added NOC template - NOC email notifications was used without no template, added basic templated to set its body and subject properly
DeleteModal translation - the 'label' was passed to deleteModal so it could not be translated properly.

moved here and close this https://github.com/foam-framework/foam2/pull/4805


text:
MODOAIPMH-513 - Avoid skipping entire batch when 500 Internal Server Error from inventory

MODOAIPMH-513 - Avoid skipping entire batch when 500 Internal Server Error from inventory

Purpose

Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[x] Code coverage on new code is 80% or greater
[x] Duplications on new code is 3% or less
[x] Check logging
[ x] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[x] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

repo: folio-org/mod-oai-pmh


text:
Fix select in list create page

Before fix:
https://github.com/folio-org/ui-lists/assets/17111248/aeb67a18-0edf-4010-845b-35c95bd82d0a
After fix:
https://github.com/folio-org/ui-lists/assets/17111248/1d9e8e9b-9036-4011-8b3d-f232aa82fd8c

 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.

authors: CLAassistant SergeYvas

repo: folio-org/ui-lists


text:
bug:

Did you check docs and existing issues?

[x] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.8.0-1210
Operating system/version
Windows 10
Describe the bug
Not necessarily a bug but no feature request either. Rather a confusion:
Sometimes, treesitter fails to compile (using Zig), popping up some access denied message.
I haven't found a way to try a re-compiling in case it failed. Is this possible at all or do I have to wait until the
next treesitter update?
Steps To Reproduce

Launch Nvim
Execute update
compiling fails

Expected Behavior
If the compiling failed, a way to re-initiate the update
Repro
No response

TSUpdate

Thank you, sometimes the closest solutions are the ones that seem so far away...

authors: StephanRoemer folke


text:
feature: nvim-lualine component

Did you check the docs?

[X] I have read all the todo-comments.nvim docs

Is your feature request related to a problem? Please describe.
👋 Hi!
Thoughts on providing a lualine component that would display the number of TODOs, NOTEs, etc. to the user's liking?
Describe the solution you'd like
Ideally, this plugin can provide a component (e.g. a Lua function returning a string) that can be added to any segment in lualine e.g.
local todos_component = require("todo-comments.lualine").component({
  order = {"TODO", "FIX"},
})

require('lualine').setup({
  sections = {
    lualine_y = {'progress', todos_component },
  }
})

The ideal result would be something like:
✅ 12 🐞 3

...or whatever the glyphs this plugin is configured with.
Describe alternatives you've considered
I wrote a plugin to do this (https://github.com/bezhermoso/todos-lualine.nvim), but it maintains its own copy of this plugin's defaults e.g. glyphs, keywords for each type. Users that override these settings would need to replicate the config for the component to maintain consistency. Not so bad for glyphs, but inconsistency arising from diverging sets of keywords is not good.
Ideally, there is a single configuration that's respected in both the functionality-proper & the lualine component.
Alternatively:
This plugin can provide a Lua API to fetch the number of matches given a list of todo-types e.g. fetch_counts({"TODO", "FIX"}, callback) & expose the counts in a structured way, or simply expose the user's configuration so that todos-lualine can read & use it.
Additional context
No response

Hi @folke any chance you can take a quick look?

just a ping

this starts to be a very boring action...

Sigh


text:
in marathon_times example: sample_posterior_predictive() got an unexpected keyword argument 'vars'

I ran marathon_times.ipynb on colab, and encountered this error:
TypeError                                 Traceback (most recent call last)
<ipython-input-14-f2b87f6f24e2> in <module>()
      1 with marathon_model:
----> 2     pred_samples = pm.sample_posterior_predictive(trace_women, vars=[f_pred], samples=1000)

TypeError: sample_posterior_predictive() got an unexpected keyword argument 'vars'

I've checked the document, sample_posterior_predictive() do have argument 'vars', therefore I don't know how to solve.

I found solution:
with marathon_model:
    pred_samples = pm.fast_sample_posterior_predictive(trace_women,var_names=['f_pred'], samples=1000)

Sorry, just noticed this. Yes, the API has changed since this workshop was given. You have discovered the new API. I will update the whole workshop when I offer it again.

authors: fonnesbeck svetlana-work


text:
Add fonts from Adobe Reader DC 19.x Multilingual Font Pack

https://supportdownloads.adobe.com/thankyou.jsp?ftpID=6839&fileID=6837
https://web.archive.org/web/20200816153035/http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/misc/FontPack1902120058_XtdAlf_Lang_DC.msi
wget http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/misc/FontPack1902120058_XtdAlf_Lang_DC.msi
# extract the FontPack1902120058_XtdAlf_Lang_DC.msi file
cabextract FontPack1902120058_XtdAlf_Lang_DC/Data1.cab
ls Data1/*.otf

Contains these fonts:

AdobeArabic_Bold.otf
AdobeArabic_BoldItalic.otf
AdobeArabic_Italic.otf
AdobeArabic_Regular.otf
AdobeHebrew_Bold.otf
AdobeHebrew_BoldItalic.otf
AdobeHebrew_Italic.otf
AdobeHebrew_Regular.otf
AdobeHeitiStd_Regular.otf
AdobeMingStd_Light.otf
AdobeMyungjoStd_Medium.otf
AdobeSongStd_Light.otf
AdobeThai_Bold.otf
AdobeThai_BoldItalic.otf
AdobeThai_Italic.otf
AdobeThai_Regular.otf
adobedevanagari_bold.otf
adobedevanagari_italic.otf
adobedevanagari_regular.otf
adobefanheitistd_bold.otf
adobegothicstd_bold.otf
adobegothicstd_light.otf
kozgopr6n_medium.otf
kozminpr6n_regular.otf
myriadarabic_bold.otf
myriadarabic_boldit.otf
myriadarabic_it.otf
myriadarabic_regular.otf
myriadhebrew_bold.otf
myriadhebrew_boldit.otf
myriadhebrew_it.otf
myriadhebrew_regular.otf

Done in https://github.com/fontist/formulas/pull/8 .

repo: fontist/fontist


text:
Use with VSCODE

Hi
Can i use this with VSCODE IDE? If yes what are the step to install and use it with this IDE??

Its a standard java maven project, so I believe you can locally set it up with editor of your choice.

Hi Anupam / Anoop,
Wanted to check if you were able to setup and run the program in Visual Studio Code. If so please share me the Steps for installing & Using it in VSCode. Thanks in Advance.

repo: forcedotcom/Data-Migration-Tool


text:
Uncaught Error: [$injector:unpr] Unknown provider: bProvider <- b

I installed the managed package and tried to access the regionDemoApp , since its a managed package i wasn't able to debug it.

I am also getting the same error as above explained except that i am getting the value of {{v.someattribute}} and {{v.someattributes}}

@dchaudhary you are getting the exact same error in the same location? Or are you saying that you are getting some error that mentions "Cannot read property  of"? Is your org on Spring or Summer?

I am getting error :Uncaught Error: [$injector:unpr] Unknown provider: bProvider <- b

Is this still an issue? I've been unable to find any related problemsor repro case.

Hi,
My org is Spring and still getting same error.
On Tue, Aug 25, 2015 at 7:19 PM, Doug Chasman notifications@github.com
wrote:

Is this still an issue? I've been unable to find any related problemsor
repro case.
—
Reply to this email directly or view it on GitHub
https://github.com/forcedotcom/aura-ng/issues/1#issuecomment-134592181.

Hi I have the same error, just installed the package and cant access to /aurang/regionDemoApp.app

I have never been able to reproduce this problem locally and until now
there has only been a single developer that has encountered it. What type
of org are you installing into (edition, version, etc)? Can you provide a
login in the org that I can use to see the issue live? My direct email is
dchasman@salesforce.com
On Jan 11, 2016, at 23:29, xnamahx notifications@github.com wrote:
Hi I have the same error, just installed the package and cant access to
/aurang/regionDemoApp.app
[image: error image]
https://camo.githubusercontent.com/2b5fcbcf44e61e47effd53f6bf4bb8202ee58f12/687474703a2f2f696d6775722e636f6d2f6f3733634d516a
—
Reply to this email directly or view it on GitHub
https://github.com/forcedotcom/aura-ng/issues/1#issuecomment-170786435.

OK - great - made a little progress at least now that I have a repro case to work with.

Yay! Finally figured this one out - sorry it took me so long. @xnamahx I've updated your org to the latest version of the AuraNG package and now the sample app runs great even in prod mode. @dchaudhary I know this one has sat for a very long time but its finally fixed if you install the latest version of the package.

Thanks Doug
On Tue, Jan 12, 2016 at 7:44 PM, Doug Chasman notifications@github.com
wrote:

Yay! Finally figured this one out - sorry it took me so long. @xnamahx
https://github.com/xnamahx I've updated your org to the latest version
of the AuraNG package and now the sample app runs great even in prod mode.
@dchaudhary https://github.com/dchaudhary I know this one has sat for a
very long time but its finally fixed if you install the latest version of
the package.
—
Reply to this email directly or view it on GitHub
https://github.com/forcedotcom/aura-ng/issues/1#issuecomment-170923482.

authors: dchaudhary dutchchasman siddharatha xnamahx

repo: forcedotcom/aura-ng


text:
Scratch Org Error on Creation - Commerce does not exist.

After testing multiple times to setup a scratch org I've received this message.
Command:

sfdx force:org:create -f config/project-scratch-def.json username=sam+commerce1@gmail.com` -s -d 15

Error:

=== Component Failures [1]
TYPE   FILE               NAME  PROBLEM
Error  shape/package.xml        The object 'Commerce' of type Settings metadata does not exist.

at the  same time the scratch org IS created, but when I continue to the next step and run + provide a store name. This error continues to repeat every 10 seconds.
Command:

./quickstart-create-and-setup-store.sh

Error:

ERROR at Row:1:Column:16
sObject type 'WebStore' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
Store not yet created, waiting 10 seconds...
Querying Data... done
ERROR running force:data:soql:query:
SELECT Id FROM WebStore WHERE Name='scratchstore'

Outcome:
A scratch org exists but no store is created

Per some other Issues, I've also tested switching down to the Spring 21 Branch vs the Master Branch to copy from and receive the same

The object 'Commerce' of type Settings metadata does not exist.

Yes I'm seeing the same issue

After testing multiple times to setup a scratch org I've received this message.
Command:

sfdx force:org:create -f config/project-scratch-def.json username=sam+commerce1@gmail.com` -s -d 15

Error:

=== Component Failures [1]
TYPE   FILE               NAME  PROBLEM
Error  shape/package.xml        The object 'Commerce' of type Settings metadata does not exist.

at the same time the scratch org IS created, but when I continue to the next step and run + provide a store name. This error continues to repeat every 10 seconds.
Command:

./quickstart-create-and-setup-store.sh

Error:

ERROR at Row:1:Column:16
sObject type 'WebStore' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
Store not yet created, waiting 10 seconds...
Querying Data... done
ERROR running force:data:soql:query:
SELECT Id FROM WebStore WHERE Name='scratchstore'

Outcome:
A scratch org exists but no store is created

I have resolved the error removing this setting from config/project-scratch-def.json:
,     "commerceSettings": {       "commerceEnabled": true   }

@raffaeledesimone the current org version is api version 51.0 i've tried running the command with 52 but that isn't allowed, switching to run apiversion=51 returns the same issue. do i need to

Samuels-MacBook-Pro:sfdx samuelphifer$ sfdx force:org:create -f config/project-scratch-def.json username=samphif+commerce4@gmail.com --apiversion=51.0 -s -d 15
=== Component Failures [1]
TYPE   FILE               NAME  PROBLEM
─────  ─────────────────  ────  ───────────────────────────────────────────────────────────────
Error  shape/package.xml        The object 'Commerce' of type Settings metadata does not exist.
=== Component Failures [1]
TYPE   FILE               NAME  PROBLEM
─────  ─────────────────  ────  ───────────────────────────────────────────────────────────────
Error  shape/package.xml        The object 'Commerce' of type Settings metadata does not exist.
ERROR running force:org:create:  Failed to deploy settings to scratch org.

@raffaeledesimone the current org version is api version 51.0 i've tried running the command with 52 but that isn't allowed, switching to run apiversion=51 returns the same issue.

Samuels-MacBook-Pro:sfdx samuelphifer$ sfdx force:org:create -f config/project-scratch-def.json username=samphif+commerce4@gmail.com --apiversion=51.0 -s -d 15
=== Component Failures [1]
TYPE   FILE               NAME  PROBLEM
─────  ─────────────────  ────  ───────────────────────────────────────────────────────────────
Error  shape/package.xml        The object 'Commerce' of type Settings metadata does not exist.
=== Component Failures [1]
TYPE   FILE               NAME  PROBLEM
─────  ─────────────────  ────  ───────────────────────────────────────────────────────────────
Error  shape/package.xml        The object 'Commerce' of type Settings metadata does not exist.
ERROR running force:org:create:  Failed to deploy settings to scratch org.

Sorry, i think you have to wait that salsforce update your org instance to version 52.0

@samphif the need for a Commerce setting in the project-scratch-def.json file applies to orgs with api version = 52.0 and over. If your org is api version 51.0,  the spring21 branch will have the correct project scratch def link. If the same error persists, it may be because your project-scratch-def file still has the "commerceSettings" tag.

awesome I just signed up for a summer 21 release preview and this works like a charm. thanks for the assist

authors: AshRelateIQ WarbleSync raffaeledesimone samphif


text:
Error when creating scratch org

Summary
Error thrown when attempting to create a scratch org, appearing as of this morning.
Steps To Reproduce:

Executing: sfdx force:org:create -f config/project-scratch-def.json -a 'ScratchOrg' -v 'DevHub' -d 1

Expected result
Scratch org is created successfully
Actual result
Error is thrown:
npx sfdx force:org:create -f config/project-scratch-def.json -a 'ScratchOrg' -v 'DevHub' -d 1
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/6c28d0a9-4acd-4c4c-bfdf-0a465d8ed7bb.sh
Error: Cannot find module 'lodash'
Require stack:
- /home/vsts/work/1/s/node_modules/@oclif/core/lib/config/config.js
- /home/vsts/work/1/s/node_modules/@oclif/core/lib/config/index.js
- /home/vsts/work/1/s/node_modules/@oclif/core/lib/command.js
- /home/vsts/work/1/s/node_modules/@oclif/core/lib/index.js
- /home/vsts/work/1/s/node_modules/salesforce-alm/node_modules/@salesforce
/command/lib/exported.js
- /home/vsts/work/1/s/node_modules/salesforce-alm/dist/commands/force/org/
create.js
- /home/vsts/work/1/s/node_modules/@oclif/config/lib/plugin.js
- /home/vsts/work/1/s/node_modules/@oclif/config/lib/config.js
- /home/vsts/work/1/s/node_modules/@oclif/config/lib/index.js
- /home/vsts/work/1/s/node_modules/@oclif/command/lib/command.js
- /home/vsts/work/1/s/node_modules/@oclif/command/lib/index.js
- /home/vsts/work/1/s/node_modules/sfdx-cli/dist/cli.js
- /home/vsts/work/1/s/node_modules/sfdx-cli/bin/run
Code: MODULE_NOT_FOUND
System Information
SFDX Version: 7.115.1
Additional information
Feel free to attach a screenshot.

Hi, this is a very weird error, maybe an incomplete of corrupt installation ?
Can you try upgrading to the latest-rc to see if this error still continues ? npm install -g sfdx-cli@latest-rc

@calvinle1 I think this may have been related to some of the problems from sf
https://github.com/forcedotcom/cli/issues/1174 and/or
https://github.com/forcedotcom/cli/issues/1175
Any chance you can try this with version 7.118.1 which works in those scenarios?  We definitely haven't tested using npx like that.

authors: calvinle1 maggiben mshanemc

repo: forcedotcom/cli


text:
Random error 'socket hang up' (ECONNRESET) while performing most time consuming sfdx operations

Summary
In recent weeks we see Increased number of random sfdx operation failures. The error may arise at any time while long operation is performed, i.e. sfdx force:source:deploy, sfdx force:source:push, sfdx force:package:install etc.
The issue seems not related to Internet connection quality. It appears both in datacenters like AWS,  and on desktops, with stable Internet connection. On average, around  2 - 5% of operations fail with following error:
time sfdx force:source:deploy --targetusername username -p force-app/ -w 90

*** Deploying with SOAP API ***
Deploy ID: 0Af9E0000...
SOURCE PROGRESS | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0/8222 Components
...
SOURCE PROGRESS | ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1629/8222 Components
SOURCE PROGRESS | ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1629/8222 Components
Error: socket hang up
    at connResetException (internal/errors.js:639:14)
    at TLSSocket.socketOnEnd (_http_client.js:499:23)
    at TLSSocket.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1334:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  code: 'ECONNRESET'
}
SOURCE PROGRESS | ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 1629/8222 Components
ERROR running force:source:deploy:  Metadata API request failed: socket hang up
real	6m51.253s
user	0m18.841s
sys	0m3.163s

You didn't complete the issue template section where you run sfdx version --verbose.  That's important for this issue.

Are there any updates on this issue? We face it every day, sometimes more, sometimes less. It's become the most constant thing in our system. Now, the problem is even bigger.  We also use a Squid proxy with parent-child setup. Here's what we noticed and what might be causing it:

The server sends empty TLS messages, and some clients might read EOF as TCP RST.
A standard node client without good agent (e.g. global-agent) can't handle the RST.

authors: MaciekLeks busybox0 mshanemc


text:
#214 animationDelay property now affects delay of line marker rendering

Fix for #214 - animationDelay property now defaults to duration property, but if specified delays the rendering of markers on line graphs

Thanks @narenranjit - I agree with having animationDelay defined in the marker options defaults, and I've initialized it with null as you recommended. If undefined or null, the animationDelay value will still default to the value of the duration property.

@parikhshiv the pr looks good - but as a matter of practice for visual changes going forward, it'd be great to set-up a js fiddle with the 'new' behavior (i.e., 2 lines with/without delay) in lieu of actual automated tests later, and add a link here just for posterity. This'll also help with updating the docs later.
What do you think? You could probably just link to the contour.js file in this pr directly from fiddle, like https://raw.githubusercontent.com/forio/contour/d0b17d088c98e1d74a6b9a51491f16383ba5c096/dist/contour.js

+1 for a js fiddle of the base case behavior in question for a pr -- will help lots with docs + testing.

Actually linking to the contour.js file directly that way doesn't set the right script headers, but using rawgit.com does
https://rawgit.com/forio/contour/d0b17d088c98e1d74a6b9a51491f16383ba5c096/dist/contour.js

Thanks @narenranjit and @mmrj  - here is a jsfiddle that illustrates the new behavior - . I've included a 0 sec delay, a 400 ms delay (default), and a 1 second delay.

authors: mmrj narenranjit parikhshiv

repo: forio/contour


text:
Ledger API response error on v2GetAccount

When I call the following method:
await formanceClient.ledger.v2GetAccount({
  address: 'creators:123_123_123:gross_earnings:pending',
  ledger,
})

the ledger returns with the following error:
{
  "errorCode": "NOT_FOUND",
  "errorMessage": "getting account: not found"
}

and the logs show the following warning
WARN: bun: 2024/07/15 09:56:38 query "(jsonb_array_length(account_address_array) = 5 and account_address_array @@ ('$[0] == \"creators\"')::jsonpath and account_address_array @@ ('$[1] == \"123_123_123\"')::jsonpath and account_address_array @@ ('$[2] == \"gross_earnings\"')::jsonpath and account_address_array @@ ('$[3] == \"pending\"')::jsonpath) or (jsonb_array_length(account_address_array) = 6 and account_address_array @@ ('$[0] == \"creators\"')::jsonpath and account_address_array @@ ('$[1] == \"123_123_123\"')::jsonpath and account_address_array @@ ('$[2] == \"gross_earnings\"')::jsonpath and account_address_array @@ ('$[3] == \"pending\"')::jsonpath) or (jsonb_array_length(account_address_array) = 7 and account_address_array @@ ('$[0] == \"creators\"')::jsonpath and account_address_array @@ ('$[1] == \"123_123_123\"')::jsonpath and account_address_array @@ ('$[2] == \"gross_earnings\"')::jsonpath and account_address_array @@ ('$[3] == \"pending\"')::jsonpath) or (jsonb_array_length(account_address_array) = 8 and account_address_array @@ ('$[0] == \"creators\"')::jsonpath and account_address_array @@ ('$[1] == \"123_123_123\"')::jsonpath and account_address_array @@ ('$[2] == \"gross_earnings\"')::jsonpath and account_address_array @@ ('$[3] == \"pending\"')::jsonpath) or (jsonb_array_length(account_address_array) = 9 and account_address_array @@ ('$[0] == \"creators\"')::jsonpath and account_address_array @@ ('$[1] == \"123_123_123\"')::jsonpath and account_address_array @@ ('$[2] == \"gross_earnings\"')::jsonpath and account_address_array @@ ('$[3] == \"pending\"')::jsonpath) or (jsonb_array_length(account_address_array) = 10 and account_address_array @@ ('$[0] == \"creators\"')::jsonpath and account_address_array @@ ('$[1] == \"123_123_123\"')::jsonpath and account_address_array @@ ('$[2] == \"gross_earnings\"')::jsonpath and account_address_array @@ ('$[3] == \"pending\"')::jsonpath)" has [] args, but no placeholders

It looks like the resolved URL is: /api/ledger/v2/ledger/accounts/creators%3A123_123_123%3Agross_earnings%3Apending
If I use postman, and include the account address with the colons unencoded (creators:123_123_123:gross_earnings:pending), then it works as expected. So the SDK is encoding the colon characters which appears to be breaking the endpoint.

Hello @WoodyWoodsta
We've just released a new version of the SDK that fixes this.
Regards

Thanks @flemzord 👍

authors: WoodyWoodsta flemzord

repo: formancehq/formance-sdk-typescript


text:
"Uncaught (in promise): [object Object]" when submit content with errors

Hi There,
I had encountered a wired issue.
I want to allow my client to submit unfinished forms as draft. But if some required field is missing, it will pop this error in the console panel.

To reproduce this issue just change the property of submit button "disableOnInvalid" to false of the demo project. And then go to the simple form (http://localhost:4200/forms/simple)

I just hacked in the source code line935 of "node_module/formiojs/formio.js" and add this "result.components[4].disableOnInvalid = false;"
I had tried lots of ways to catch the exception, but all failed. Could some body help me on this issue? Thank you!
Version: latest;
Angular version: 6.0.0;

@travist Seems it needs a catch at line 1194 (Webform.js)
if (!before) {
return this.beforeSubmit(options).then(function () {
return _this15.executeSubmit(options);
}).catch((err) => {
console.log(err);
});
If I added this catch, then the console error disappeared. Please confirm if this is the right fix. Thank you!

Thanks for debugging @JoeyLi-1
This code is here in the core renderer @ https://github.com/formio/formio.js/blob/master/src/Webform.js#L1138
Pull requests welcome.

@travist Done, please review https://github.com/formio/formio.js/pull/760.

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

repo: formio/angular


text:
Suggestions for additional running modes

Combined --loop and --expr, where the lambda is evaluated once per line, and the return value is printed
Related to the above, --loop --flatten, which is the same as above, but the lambda returns an IntoIterator (such as Option<T>) and prints each item once per line
--display mode, where Display is used instead of Debug when running in expression mode to print items

--display mode, where Display is used instead of Debug when running in expression mode to print items

Perhaps Display should be the default, and Debug opt-in? What do you think?

Oh, I definitely agree with that. I was only suggesting --display in the interest of backwards compatibility; I definitely thing Display should be the default and Debug can be opted in to.

Can we have an offline mode? There is a related issue at cargo-script

authors: Lucretiel bevsxyz fornwall

repo: fornwall/rust-script


text:
Deixar campos de texto sem limite de caracteres

Deixar os seguintes campos sem limite de caracteres:

[ ] Área de texto no novo campo de itens e subitens (tanto da política quanto do plano)

[ ] "Descrição" das informações gerais da política e do plano.

talvez seja necessário reiniciar a aplicação.

repo: forpdi/forpdi


text:
Run raw docker image as an app fails to run wit + false output

When I run forseti docker Image, I've tried forsetisecurity/forseti:latest image and with the grc.io versions v2.25.0 and v2.24.2, it fails to start. With the dockerhub one.
$ docker run -P --rm gcr.io/forseti-containers/forseti:v2.24.2
+ false
+ false
+ false

If I configure a service for docker stack it happens the same
version: '3.6'

services:
  database:
    image: mysql
    # rest of database conofig

  forseti-server:
    image: gcr.io/forseti-containers/forseti:v2.24.2
    depends_on:
      - database
    volumes:
      - ./config.yaml:/forseti-security/forseti_conf_server.yaml
    environment:
      - RUN_SERVER=true
      - SERVICES=inventory
      - SQL_HOST=database
      - SQL_DATABASE_NAME=forseti_security
      - SQL_DB_USER=forseti
      - SQL_DB_PASSWORD=forseti
      - GOOGLE_APPLICATION_CREDENTIALS=/run/secrets/server-service-account
    secrets:
      - server-service-account

Running this produces output:
+ false
+ false
+ false

When it sould run the docker_entrypoint.sh. Even if I override the entrypoint: by hand
```yaml
version: '3.6'
services:
  forseti-server:
    entrypoint: docker_entrypoint.sh
    # rest of forseti config

But running the v2.25.0 does the same even though the ENTRYPOINT has changed in the Dockerfile
it produces the same output.
What does this + false output mean? How is it supposed to be run?

Hi @dinigo, it looks like your close. I recently added a docker-compose.yml file that I think helps make Forseti easier to run with docker. You just need to export 4 env vars and then run make docker_run (details for these values can be found in the compose file):

GOOGLE_APPLICATION_CREDENTIALS
FORSETI_SERVER_CONFIG_PATH
FORSETI_SQL_CONNECTION
FORSETI_SQL_INSTANCE

Yes! this actually works!
I found that the error/behavior I was experiencing Is caused by the docker_entrypoint.sh script being run. I can't get it to work
+ false
+ false
+ false

If I force the entrypoint to some other entrypoint: forseti inventory create it works. But I would rather have this script, the original working. It's far more versatile and configurable through environment variables, which is what I need to run a server and a client without overriding the entrypoint. I've been

Just as a side note, you are using mysql (as written in the schema) but with the postgresql,default port 5432, so I deployed a PosgreSQL Cloud SQL instance. I got confused but it works. In the docs they use the default one and it may save some further confusion to some other

@dinigo Checking in to see if you were able to run the image?

@red2k18 I ran it like so:
version: '3.6'
services:

  database:
    image: mysql
    ports:
      - 3306:3306
    volumes:
      - ./mysqldb:/var/lib/mysql
    environment:
      - MYSQL_USER=forseti
      - MYSQL_PASSWORD=forseti
      - MYSQL_DATABASE=forseti
      - MYSQL_RANDOM_ROOT_PASSWORD

  forseti-server:
    image: forseti-security/forseti-server:43d143d8
    depends_on:
      - database
    volumes:
      - ${FORSETI_CONFIG}:/forseti-security/forseti_conf_server.yaml
    environment:
      - SERVICES=inventory
      - SQL_DB_CONNECTION_STRING=mysql+pymysql://forseti:forseti@database:3306/forseti
      - GOOGLE_APPLICATION_CREDENTIALS=/run/secrets/server-service-account
    secrets:
      - server-service-account

  forseti-client:
    image: forseti-security/forseti-server:43d143d8
    depends_on:
      - forseti-server
    entrypoint:
      - forseti
      - '--endpoint=forseti-server:50051'
      - inventory
      - create

secrets:
  client-service-account:
    file: ${SERVICE_ACCOUNT_CLIENT}
  server-service-account:
    file: ${SERVICE_ACCOUNT_SERVER}

And it works, but because this version overrides the entrypoint.sh. I think either:

Do not provide any entrypoint. Let the end user decide which to use
Provide the entrypoint.sh (functional) and let the user choose the command (client or server)

I've got into the container with bash. Checked that the entrypoint was there with cat. Tried to run from within, and the result was the same +false +false +false.
Can you @Red-Five check that this happens for you too?

@dinigo It is not clear to me what you're trying to do. Can you share your use case with us? Also, we're planning on deprecating docker_entrypoint.sh. Happy to review a PR though. Terraform is the official and only supported method to deploy Forseti, and we recommend using Terraform for installing and upgrading.

@dinigo Let us know if there is anything else we can help with or if we can close this issue.

authors: dinigo gkowalski-google red2k18

repo: forseti-security/forseti-security


text:
Created G Suite group for integration testing

G Suite group has been created using the CFT framework for integration testing to prove that G Suite resources can also be created using the chosen framework.

This PR should be merged only after merging #3299.


text:
Test inventory + scanner with CAI enabled vs disabled

This will run 2 scans: one with CAI enabled and one with CAI disabled. It will compare the violations for these scanners: Bucket, Firewall, IAM, Location.
Resolves #3486

/gcbrun

/gcbrun

@goofiva Latest test results look good:
✔  inventory-cai-enabled-vs-disabled: Command: `sudo gsutil cp -r gs://forseti-server-6e5f37fa/rules $FORSETI_HOME/`
     ✔  Command: `sudo gsutil cp -r gs://forseti-server-6e5f37fa/rules $FORSETI_HOME/` exit_status should eq 0
     ✔  Command: `forseti model use CaiEnabled5d60ef6ff17` exit_status should eq 0
     ✔  Command: `forseti model use CaiEnabled5d60ef6ff17` stdout should not match /Error communicating to the Forseti server/
     ✔  Command: `forseti scanner run` exit_status should eq 0
     ✔  Command: `forseti scanner run` stdout should match /Scan completed/
     ✔  Command: `forseti scanner run` stdout should match /Scanner Index ID: ([0-9]*) is created/
     ✔  Command: `sudo python3 /home/ubuntu/forseti-security/integration_tests/tests/forseti/scripts/update_server_config.py set_cai_enabled false` exit_status should eq 0
     ✔  Command: `forseti model use CaiDisabled5d60ef6ff17` exit_status should eq 0
     ✔  Command: `forseti model use CaiDisabled5d60ef6ff17` stdout should not match /Error communicating to the Forseti server/
     ✔  Command: `forseti scanner run` exit_status should eq 0
     ✔  Command: `forseti scanner run` stdout should match /Scan completed/
     ✔  Command: `forseti scanner run` stdout should match /Scanner Index ID: ([0-9]*) is created/
     ✔  Command: `mysql -u forseti_security_user -pLhCbuY03Kjq7CiuU --host 127.0.0.1 --database forseti_security --execute "SELECT COUNT(resource_id) FROM (SELECT V.violation_type, V.resource_id, V.resource_type, V.rule_name FROM violations V JOIN scanner_index SI ON SI.id = V.scanner_index_id WHERE SI.inventory_index_id = 1577465881302643 UNION ALL SELECT V.violation_type, V.resource_id, V.resource_type, V.rule_name FROM violations V JOIN scanner_index SI ON SI.id = V.scanner_index_id WHERE SI.inventory_index_id = 1577465953401947) Violations WHERE violation_type in ('BUCKET_VIOLATION', 'FIREWALL_BLACKLIST_VIOLATION', 'IAM_POLICY_VIOLATION', 'LOCATION_VIOLATION') GROUP BY violation_type, resource_id, resource_type, rule_name HAVING COUNT(*) = 1;"` exit_status should eq 0
     ✔  Command: `mysql -u forseti_security_user -pLhCbuY03Kjq7CiuU --host 127.0.0.1 --database forseti_security --execute "SELECT COUNT(resource_id) FROM (SELECT V.violation_type, V.resource_id, V.resource_type, V.rule_name FROM violations V JOIN scanner_index SI ON SI.id = V.scanner_index_id WHERE SI.inventory_index_id = 1577465881302643 UNION ALL SELECT V.violation_type, V.resource_id, V.resource_type, V.rule_name FROM violations V JOIN scanner_index SI ON SI.id = V.scanner_index_id WHERE SI.inventory_index_id = 1577465953401947) Violations WHERE violation_type in ('BUCKET_VIOLATION', 'FIREWALL_BLACKLIST_VIOLATION', 'IAM_POLICY_VIOLATION', 'LOCATION_VIOLATION') GROUP BY violation_type, resource_id, resource_type, rule_name HAVING COUNT(*) = 1;"` stdout should match //
     ✔  Command: `sudo python3 /home/ubuntu/forseti-security/integration_tests/tests/forseti/scripts/update_server_config.py set_cai_enabled true` exit_status should eq 0
     ✔  Command: `forseti inventory delete 1577465881302643` exit_status should eq 0
     ✔  Command: `forseti model delete CaiEnabled5d60ef6ff17` exit_status should eq 0
     ✔  Command: `forseti inventory delete 1577465953401947` exit_status should eq 0
     ✔  Command: `forseti model delete CaiDisabled5d60ef6ff17` exit_status should eq 0


text:
[FORSETI] Role scanner functionality

Related to Forseti Security Issue #3624
Scanner
Role Scanner
Description: Control permissions that are actually in IAM roles - ensure that IAM roles do not have more permissions than they should to prevent access.
Python Violations Summary
Generate a violation if the set of permissions for the Role object is NOT the same as the set of permissions found in the role_rules.yaml file.
1:1 Rego | Python Parity Status
While the Rego rule has an allowlist / denylist of roles, it seems generalized - i.e. there is not a way to filter or look specifically at the roles for a specific project, folder, etc. In order to reach feature parity, there needs to be a way to filter and only look at the roles for a specific resource, although this might mean it goes referential. (i.e. get all CAI Role resources, look at what the ancestry for the resource is, and filter / generate violations based on that).
Rego work to do
Create or edit existing Rego rules to do the following:

https://github.com/forseti-security/policy-library/blob/master/policies/templates/gcp_iam_allow_ban_roles_v1.yaml
https://github.com/forseti-security/policy-library/pull/240/files

Allow filtering for specific folders/projects --> currently just looks for anything with the defined role.

Closing as the "excludes" option allows filtering.

repo: forseti-security/policy-library


text:
Validation resources

It would be a really good thing to provide or point to some kind of canonical/accepted AIML standard documentation, including an XSD or RNG file (or maybe embed a copy of that in this repository), and maybe a simple python script to walk the pattern-reductions-template path to discover any paths that do not terminate in a plain, utterable template. I.e., erroneously unterminated categories.
It would also be pretty useful to build in a debug option into the skill to output to debug log the "path" of reductions invoked.

Also maybe a "dependency mapper". I.e., a script that can scan all files and report when a file contains a category that has a reduction (srai) that is satisfied only in another file. Maybe also then, detect duplicate srai resolutions/mappings.

repo: forslund/fallback-aiml


text:
Add removing tmp directory after building/packing process

According to #48

@Fifok Can we also try to remove temp dir if exists, right after Creating Nuget Package has started?
Just as a safety feature if previous package building was terminated for any reason.
In such an edge case we still have the tmp dir with leftovers.

@darekhalecki Yeah, of course. I based on other Forte packages, where it's done only after bundling to .zip. But it's a good idea.

authors: Fifok darekhalecki

repo: fortedigital/EpiContentUsage


text:
black screen

Hey, i tested out your framework, but when im running your example code, all i see is a black screen with a white navigation bar. Theres no visible text at all. Have you experienced this before?

found it, just stupid me that cant read.....

repo: fortmarek/SwipeViewController


text:
Login, Signup and Profile pages show Ads, violating Adsense terms

Still not solved.
It still appear on register page (signup), and even on Login, sometimes it still appear. And therefore violation adsense terms...

I needed to edit one html page. And add some code on it:

After that it was solved.

#29

repo: forumthemer/eles-phpbb-forum-theme


text:
Add CodeGen for Java (Unirest)

Tell us about the task you want to perform and are unable to do so because the feature is not available
Add CodeGen for Java
Library - Unirest

hey @ashitaprasad
i want to work on this issue, can you please assign me

@saurav0523 We do not assign issues. You are free to work on it and send across a PR.

@animator ok sir

@ashitaprasad can you please give me hint how should i start

@animator can you please give me hint how should i start

@saurav0523  To get started with API Dash codegen, check out the codes in the lib/codegen folder for languages that have been already implemented like python, kotlin etc. Usually implementing a codegen for a new language/library in API Dash requires:

Some idea of how jinja template works
Some idea of library/language specific client code that you are generating as the generated code should be as natural (not spaghetti) as possible for someone who is already familiar with the language/library.
You need to also verify the generated code and write appropriate test cases to cover the various model input scenarios.

Related Link - https://github.com/foss42/apidash/discussions/80

@ashitaprasad As suggested by Unirest docs, the code is in the form of a snippet and not a file. Since it's a maven based dependency, I guess that it'd work on the assumption that the dependency is already added in pom.xml and the snippet would be part of some service, controller etc. kind of file instead of being a standalone. And the code snippet for a simple GET request would look like this :-
String url = "https://api.foss42.com";
return Unirest.get(url)
.asString()
.getBody();
I've created a template which would generate such snippets and tested it in a Spring project. Your insights on whether the above snippet is okay or what the right generated code should look like, would be really valuable.

authors: animator ashitaprasad saurav0523 tanishgl


text:
Implement a Splash Screen

Describe the feature you'd like
A splash screen to improve look and feel of app

Screenshots

Would you like to work on the issue?
yes :)

Yes I am working on this :)

@AkashM398 you cannot work on this before asking the creator of the issue. If the creator says that the issue is idle, then work on it, but not before. Please ask @ark786 before you start working on it.

okay, but how do I contact him?

@AkashM398 sorry but I was already working on the issue . Please open a new issue :)

@ark786 I think that splash screen is not needed. It is needed for apps that require some data to be loaded before being displayed to the user. So while the data is being loaded, the splash screen is displayed. But this app does not require any data to be loaded. Hence I think that the splash screen will be more of a hindrance.

@yashk2000  this is a valid point . Let's close this issue :)

repo: fossasia/badge-magic-android


text:
Bookmarks List doesn't get updated when a session is unbookmarked from BookmarksFragment

Initially

Actual Behaviour
Session is unmarked but it still remains in the list.

Expected Behaviour
Session should be removed from the list.

Steps to reproduce it
Bookmark a session from Tracks Fragment.
Go to Bookmarks Fragment and unmark it.
The session still remains in the list (unmarked).
Can I work on this ?

I have submitted PR #1098
@mariobehling @the-dagger Please review

@the-dagger can i work on this issue.

Ok
On Saturday, February 25, 2017, Amit Tiwary notifications@github.com
wrote:

@the-dagger https://github.com/the-dagger can i work on this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/issues/1081#issuecomment-282478054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQtlmo9WrIR9RuCS2uiX6W_9__Jf4uFks5rgBBWgaJpZM4L3esy
.

--
Best,
Harshit Dwivedi

@the-dagger @amitiwary999, @TejasBhitle has already submitted the PR and there is some merge conflict which as soon as he resolves can be merged! In my opinion, will it be wiser to do the same work again?

i think so the pr for this issue have been submittted. @harshitagupta30  there is no point to do the same work again.

@arp95 I suppose I am also saying the same thing! :+1:

@the-dagger Merge conflict has been resolved in the PR #1098

repo: fossasia/open-event-android


text:
Gets all dependencies available offline for generator and improves UI/UX

Checklist

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.

Short description of what this resolves:
Gets all dependencies available offline for the generator and improves UI of the email field.
Fixes #1879 #1768

@geekyd please check - https://openeveweb.herokuapp.com/

repo: fossasia/open-event-webapp


text:
Error deleting need with shift survey present

[Fosterful Scheduler/production] ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR:  update or delete on table "needs" violates foreign key constraint "fk_rails_cf04de6280" on table "shift_surveys"DETAIL:  Key (id)=(1836) is still referenced from table "shift_surveys".

Backtrace
line 74 of [PROJECT_ROOT]/app/controllers/needs_controller.rb: destroy
line 63 of [PROJECT_ROOT]/app/controllers/application_controller.rb: set_time_zone

View full backtrace and more info at honeybadger.io

We need to determine what the desired behavior is here. Should we allow deleting a need at this stage?

repo: fosterful/scheduler


text:
getting-started: flash-device: emphasizing platform-devel

Base on customer feedback, it wasn't clear in the GS to download
the platform-devel instead of platform master.
Signed-off-by: Raul Muñoz raul@foundries.io

Docs for 9473ac6038c129bf789976ef174d16d08db21d16 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1009/docs/artifacts/html/index.html

Docs for e0233a721dcbc9c4375d0bd0c960870e960899e3 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1011/docs/artifacts/html/index.html

Docs for 1cc1ed27e89034f922a96a495b0a85aa89fd04da are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1013/docs/artifacts/html/index.html

repo: foundriesio/docs


text:
anvil disk caching not working anymore?

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
anvil 0.1.0 (08a629a 2023-06-03T00:05:11.227787246Z)
What command(s) is the bug in?
anvil
Operating System
Linux
Describe the bug
It seems that anvil disk caching does not work now. If I launch anvil and send some transactions, the ~/.foundry/anvil/tmp directory is not created anymore.
I am trying to take advantage of anvil caching when running fork tests, but the tests always take the same time (12s for a few transactions) no matter what parameters I set. I think this may be related to the fact that the tmp directory is not created.
anvil -f https://mainnet.infura.io/v3/API_KEY --fork-block-number 17386454 --fork-chain-id 1

It seems that anvil disk caching

what caching do you mean?
~/.foundry/cache/rpc/mainnet/17386454

should exist?

I remember there always was the ~/.foundry/anvil/tmp directory causing my disk running out of space quickly. This directory is not created anymore even when launching anvil with default parameters (by just simply running anvil).
The directory ~/.foundry/cache/rpc/mainnet/17386454 exists but its presence does not speed up my fork tests. It runs 16s for the first time (with ~/.foundry/cache/rpc removed) and 15.4s for the second time (with ~/.foundry/cache/rpc/mainnet/17386454/storage.json present).

this was for caching the entire state/history of the chain, this is now stored in a regular tmp dir because this is only valid for the time the chain exists.
this shouldn't have any impact on rpc though because all rpc state is cached in rpc folder, so idk what's causing this, can you try another key?
or have a look at the logs maybe you can identify the logs this way

I am experiencing the same behavior with Alchemy. Anvil sends many eth_getCode, eth_getBalance, eth_getStorageAt requests as if there was no cache. I can create a minimal example. Are there any anvil/foundry logs I can inspect?

Looking into the anvil code, it seems like it never supported full offline mode with forking. I got confused by this PR https://github.com/foundry-rs/foundry/pull/3877 from which I got the impression that forking can be run fully offline if all necessary data are cached.

authors: mattsse michprev

repo: foundry-rs/foundry


text:
Add A Journal Entry for Release Notes and Dialog that Shows It Every Upgrade

Add a release notes journal entry, maybe it could pop up after each upgrade?

Let's make this a chat card so it's unobtrusive and also visible to players. This can have buttons or links to open the relevant journals.

Query the system version on launch and compare to a hidden setting (similar but separate to dcc.systemMigrationVersion) to determine when to add this chat card.

Fixed on 0.28.0.

authors: algnc mooped

repo: foundryvtt-dcc/dcc


text:
Enchantment "Apply Effect to Actor" troubles

Talked this out with @krbz999 in the Discord and this definitely appears to be a bug, I have a feature with an enchantment activity.

As you can see, it has two effects, one that is an enchantment and one that is a "rider effect". Here is the issue. The effects both transfer successfully but I found a big issue with the way that rider effects work.
If I disable "Apply Effect to Actor" in the rider effect on the feature, then it is also disabled once enchanted to the piece of equipment. This prevents the rider effect from working properly.
If I enable "Apply Effect to Actor" in the rider effect on the feature, then it is immediately activated just by the creature possessing the effect, making the effect a permanent buff.
This is two effects that I have.

To be thorough, I also tried using the "Effect Suspended" option but the result was the same. There needs to be a way enable "Apply Effect to Actor" after it has been transferred to the enchanted item.

Rider effects are supposed to be given a flag to prevent this from happening, so we've somehow regressed on that.

Looks like we just forgot to update how we filter out these effects after we moved the flag location.

authors: Fyorl LadyDefile arbron


text:
Reorder skills in dropdown for treat wounds

Reordering the skills dropdown in the treat wounds dialog, so that the skill options available from feats (Crafting for Chirurgeon or Nature for Natural Medicine) comes first in the list. It should be highly likely that the player wants to use the skill associated with the feat if they have the feat. For players that don't have a related feat, Medicine will be the only skill as before. For frequent healers this should be a nice quality of life change.

Is anything else needed from me for this PR to be actionable/mergable?

Sorry for the delay, I got around to looking at PRs and it makes sense to me. Thank you for the PR.

authors: CarlosFdez ceejii


text:
General cleanup, add Win32 support, and add Linux-to-Win32 cross-compilation

This PR adds Win32 support to capnp.cc, along with the (extensive!) build infrastructure required to make it available through NPM. See this PR's individual commit messages for the full story.
As written, this PR will break Rewind, by (1) changing the CLI commands used for cross-compilation, and (2) refactoring build.js and build-capnp.sh without testing those changes for any Darwin builds. I can see two options:

Update Rewind to use the new CLI commands, and then test the various Rewind workflows which produce a Darwin build. Some of the possible failures are quite late-bound in my experience (e.g. failing to dynamically load capnp.node), so this would probably require running the resulting builds on an actual Mac.
Pin Rewind's capnp dependency against the most recent commit before this PR (c63332b).

what's our plan for testing that

Henry should be able to run the skeletal client that we've built on his laptop - it won't have anything to connect to, but even getting a connection failed error message is a proof of life

Unfortunately this branch also currently results in the client hanging on Linux, seeming to jam the event loop after a request is dispatched on a capability. I have narrowed this down to the source changes to capnp.cc (i.e. it doesn't seem to be caused by the build system changes) - checking out capnp.cc from main and rebuilding produces a functioning module.

Unless there's any urgency, I'd like to hold off on merging this PR until I've made some progress on TF-361 and TF-362; I have a feeling that both tickets are likely to expose additional bugs.

Any update on this PR? Got mine dependent on it (in order to build transform desktop)

That would be great - thanks @rgprog. It's currently holding up TF-13 as that depends on this main branch (node-capnp) being up to speed with the changes in win32-cross-revert-writev (which is itself dependent on this PR merging).
If you could do this week that would be great, as then can try to merge TF-13 by the time I go away next Weds.
Ta1

authors: henryharrod p--b rgprog

repo: fourieraudio/node-capnp


text:
add sample Docker file

Here's the Dockerfile and instructions I used to test #20.

Pull Request Test Coverage Report for Build #13
Details

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 91.561%

Totals

Change from base Build #11:
0.0%

Covered Lines:
217

Relevant Lines:
237

💛  - Coveralls

@nrabinowitz @ibgreen Please take a look

authors: coveralls isaacbrodsky


text:
Extending SceneEntity with object_id and pictogramUrl

I have added  object_id and pictogramUrl in SceneEntity.
Description
I need this change because i want to have possibility to send object id and pictogram URL through protobuf message, in order to be able to display it on 3DView.This pictogram will closer describe object in 3DView(e.g. one image of car for all type of cars in view). The same is for object id(e.g. text  car for all type of cars, text truck for all type of truck)  This is only the first part, the second (displaying on 3DView) is contained in foxglove/studio repo.

Thanks for your contribution.
Regarding object_id: Are you intending for this to act as an identifier for the object, or to be displayed as text? Please note that the SceneEntity type already has an id field. Additionally, the SceneEntity can contain a TextPrimitive to display text. Are these existing features not sufficient for your use case?
Regarding pictogramUrl: We have heard some similar requests for "icons" in the past. However, we are not sure that adding a field directly to SceneEntity is the way we want to approach this problem. For example, another approach might be to add it as a new type of "primitive" that can be part of the scene entity. We've made a note of this request in our product feedback and will continue to gather input from other users and customers, but we don't have any ETA to share for the feature at this time.

Regarding object_id:Yes we saw late that this was updated. When we started our implementation this feature was missing. This part does feel redundant now.
Regarding pictogramUrl: I am not sure I completely understand what You mean. I could create a new primitive to hold this information (or implement this in any other way You'd suggest), but are You saying that I should drop this entirely? If You already have a lot of interest regarding the "icons" I figure You'd welcome that someone offers to implement the requested feature… I am really keen on contributing to this community and would like to implement this feature as it looks like an interesting challenge…

We have heard some anecdotal requests for the feature, but don't have any detailed requirements or examples of how the feature could work. I'm glad you are interested in contributing, but I believe it would be better to start with a discussion to gather input and ideas from others too. I'll close this PR because we are not ready to accept this pictogramUrl change as written.

authors: jtbandes markoSyrmia

repo: foxglove/schemas


text:
happstack-server 7.4.0

Two problems here:
happstack-server-7.4.0 depended on by:

rest-happstack-0.2.10.3 (>=7.0.5 && < 7.4). Silk code@silk.co. @bergmark @hesselink

monad-control-0.3.3.0 depended on by:

happstack-server-7.4.0 (==1.0.*). No maintainer. @Happstack

rest-happstack-0.2.10.4

authors: bergmark snoyberg

repo: fpco/stackage


text:
added: yesod-recaptcha2

I fixed yesod 1.6 build.
yesod-recaptcha2-0.2.3 build failure with yesod-1.6 · Issue #2 · ncaq/yesod-recaptcha2
Checklist:

[x] Meaningful commit message - please not Update build-constraints.yml

[x] Some time passed since Hackage upload

[x] On your own machine, in a new directory, you have successfully run the following set of commands (replace $package with the name of the package that is submitted, $version is the version of the package you want to get into Stackage):
stack unpack $package
cd $package-$version
stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

Unfortunately since this depends on http-conduit, it will have to wait until blaze-builder has been updated. See: https://github.com/lpsmith/blaze-builder/pull/14

OK, if merge that, then please merge it.

The blaze-builder update went through, yay!
At this point, the only remaining issues that I see are:
stackage-curator:
classy-prelude-yesod (not present) depended on by:

[ ] yesod-recaptcha2-0.2.4 (-any). ncaq ncaq@ncaq.net @ncaq. @ncaq. Used by: library

yesod-auth (not present) depended on by:

[ ] yesod-recaptcha2-0.2.4 (-any). ncaq ncaq@ncaq.net @ncaq. @ncaq. Used by: library

classy-prelude-yesod and yesod-auth are both waiting on persistent, which in turn is waiting on haskell-src-meta.
See https://github.com/bmillwood/haskell-src-meta/pull/72
See also: https://github.com/haskell-infra/hackage-trustees/issues/143

Can I wait to solve there issue?
Else, should I do something?

I'm not sure there's anything else you can do, unless there is some way you can remove haskell-src-meta from your transitive dependencies, or get in contact with someone who can make progress on
the haskell-src-meta version bounds.

The wild goose chase continues! The haskell-src-meta thing has been resolved, but there's more to address.
The current blocker is:
yesod-recaptcha2 -> classy-prelude-yesod -> yesod-static -> hjsmin -> language-javascript -> https://github.com/erikd/language-javascript/issues/67
This is the last known issue blocking classy-prelude-yesod, and that is the last known dependency blocking your package.
There's nothing for you to do but wait. But I wanted to update you on the situation.

langauge-javascript was fixed; finally able to merge this. =]

authors: DanBurton ncaq


text:
ci: fix tox workflow

PR Checklist

[x] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] Documentation in docs is updated

Description of changes
tox workflow is currently broken because we don't pin a specific version of tox-gh-actions, and a new major version was released yesterday (https://github.com/ymyzk/tox-gh-actions/releases/tag/v3.0.0).
This made us automatically pick up tox>=4, which removed whitelist_externals option in favour of allowlist_externals (https://github.com/tox-dev/tox/releases/tag/4.0.0rc4).
So the PR updates the parameter used, and updates the installation of tox-gh-actions to pin a specific version, as well as hinting Renovate on it, so we can still benefit from regular updates while facilitating build reproducibility.
It also removes the installation of tox which is useless, as tox-gh-actions already depend on one specific major version of tox. We can even see in the previously working build that we installed 4.x.y, but then went back to 3.x.y because tox-gh-actions<3 didn't accept tox>=4.

Codecov Report

Merging #241 (945d285) into main (7f4dc05) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #241   +/-   ##
=====================================
  Coverage   95.7%   95.7%
=====================================
  Files         32      32
  Lines        914     914
  Branches     203     203
=====================================
  Hits         875     875
  Misses        26      26
  Partials      13      13

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter mkniewallner

repo: fpgmaas/deptry


text:
Add some kind of refresh or reload to the list view

Done...
Also added the state timestamp:

repo: fps-solutions/FPS-Photo-Form


text:
Allow e tags to be included along with a tags for future-proofing

This creates a new staticId param along with anchor. When given and the anchor would translate to an a tag, this includes a new e tag with the value of staticId in replies.

This is definitely needed! Thank you fiat.

license: Unlicense


text:
Bug Fix | FAB attack targetted version inable to reach

Original autoattack code cannot use FAB-targetted version because of the following code bug.

Hi,
thanks for the contribution! I agree that the proposed change makes it more precise, but when using AA the targeted version is set, after initialization, here, which should be sufficient, what do you think?

Yes that will be sufficient if users call autoattack directly, but could potentially provide hazard if user want to benchmark with one particular method (i.e, FAB here) if user call the FAB class and provide their own hyperparameters (like how i notice this myself :) )