Derive macro: single field for multiple snippets

Allowing dynamic list of spans to provide highlights you can be good for using miette to wrap tools like TypeScript (tsc).
Looking at the source code, maybe Vec<SourceSpan> might not cut it, but introducing a new LabelledSourceSpan and allowing everything that is Into<Vec<LabelledSourceSpan>> could also make sense.
What do you think?

You can actually provide as many snippets as you want if you use the Diagnostic protocol directly, which is probably a good idea if you're wrapping a tool that spits out many snippets: https://docs.rs/miette/2.0.0/miette/trait.Diagnostic.html#method.snippets
Is this what you're looking for?

Ha! Indeed! This issue can be closed if you don't think the drive micro should support this use case (but I'd be happy to know and learn why!)
Anyway, thanks for your work! It works great :)

I mean, I guess the derive macro could support this! I'll leave this issue open in case someone wants to contribute it, but I have no drive to do this myself. Maybe you can nerd snipe @cormacrelf into wanting to do it? ;)
I'm thinking maybe something like a #[all-snippets] foo: Vec<impl Into<DiagnosticSnippet>> or something of the sort?

Ah yes, @, the nerd sniper's targeting reticle. Good shot.
First off, I am pretty sure the lifetime on DiagnosticSnippet<'a> makes Into a bit awkward, maybe even a for<'a> kind of deal. You don't want to foray too far into that if you can avoid it ;) At least with macros you don't usually need to write down a trait's name to use it. Generally the Diagnostic trait itself with &self receivers is better suited to the task of implementing one of its methods than Into with a self receiver. Telling people to impl<'a> Into< box dyn gore > for &'a MySnippet (?) is not exactly the pinnacle of usability.
With that in mind, this is maybe a use case for my pet #41. If you can implement the Diagnostic::snippets function on a struct SnippetList(Vec<_>); then you could reuse it on other diagnostic types via the macro, no extra traits required. I figured there'd be a need for some composability of the snippets, but I would have thought it would be when building tons of similarly shaped diagnostics. As you have observed, for wrapping another compiler's output, you probably want to implement Diagnostic manually with all the methods in one spot on one type. So not quite a solution to the "solution in search of a problem" problem yet. Not specifically this, anyway, but there is definitely crossover and 41 would help anyone who wanted what was requested here.
Another option is adding an OwnedSnippet type to store in vectors, almost identical to DiagnosticSnippet except the source, which would be owned; then this all becomes very easy. It loses flexibility and I don't know who would miss that but the most plausible idea would be localisation of error messages, hints and such. Miette seems to be uniquely positioned for accessibility right now so I would want to keep that kind of thing open. I hope one day more compilers can have multilingual UIs.

Also just noticed 2.0, nice work! You SEMVER BUMP miette? You interpret her MUST and MAY NOT as described in the RFC 2119?

Was this macro ever added to miette? I can't find it in the docs.

An attribute was not added, no.


Adding Semicolon in Documentation

Proposed Changes
Adding semicolon to complete line

Can one of the admins verify this patch?

retest cscs


adding a test & fix for leading images

for example, in production issue here for Our Stance on Immigration:
https://segment.com/blog/categories/updates/
cc @calvinfo

👍


Snackbar too high when transparent navigationbar and attachShy()

        <android.support.design.widget.FloatingActionButton
            android:id="@+id/activity_main_fab"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|end"
            android:layout_marginBottom="64dp"
            android:layout_marginRight="16dp"
            android:clickable="true"
            android:src="@drawable/my_drawable"
            app:fabSize="normal"
            app:layout_behavior="com.example.ui.component.BottomNavigationFloatingActionButtonBehavior"
            />

When the bottomBar is visible, the snackbar looks good.

@Nolanus @roughike Since it is not precised in the guidelines how bottom nav should behave when snackbar is shown, rather than snackbars being above bottom nav, I have deliberately made the snackbar not go above. Also there is another behavior which shows both snackbar and bb and hides bb when snackbar is dismissed if previously bb was hidden.

The "default" behavior of the SnackBar with translucent statusBar (inside a CoordinatorLayout) is to be shown above the navigation buttons. That doesn't look nice from my point of view, but it's this libraries task to fix that.
Therefore I suggest the additional height that is given to the SnackBar in BottomNavigationWithSnackbar layout behavior should be reset while the BottomBar is hidden to restore the "default" behavior.
If a scrolling happens while the SnackBar is shown, it would be awesome if the height could be added again "on the fly", otherwise overlaying the SnackBar with the re-appearing BottomBar would be ok.

The BottomBar is now a regular View and should behave properly starting from 2.0 and up.
See here for instructions for shy behavior

@roughike still same issue even after 2.0, I am using latest version i.e 2.0.2


Separate function for extracting orientational distribution from MD trajectory

cardamom has a method MD-HBD that builds an orientational potential from the MD trajectory. This functionality should be extracted from cardamom and put into a separate function, in order to be able to use it with chili as well.

Currently, this is private/mdtraj2oripot.m


.NETStandard.Version=2.0 support?

Currently the package supports .NETFramework, Version=4.6.1., so I am wondering will .NETStandard.Version=2.0 also be supported?
Thanks

Please see #87

Please see #87

@jfversluis Yes, sorry about the spam-issue. It was too late when I noticed your post.

No worries :)


Add acronyms to organisations registry

This adds an additional field (acronyms) to the results
we fetch and cache from rummager for the organisations
registry.
Later we will use this extra field to allow users
to filter by looking for an acronym in the autocomplete
facet. This just adds them to the registry.
https://trello.com/c/Ql3rrz9O/374-allow-users-to-filter-orgs-using-abbreviations

I guess we should get this into prod and make sure the cache has been refreshed before we deploy anything that relies on it?

Or is this the thing that clashes with Karl's PR?

@sihugh we should deploy this before we merge the code that will use the acronyms. The code we write to use the acronyms should be able to handle cases where no acronym is provided (only ~half of organisations have an acronym).
It might be nice to add a rake task to clear the cache of set registries, what do you think?
This doesn't clash with Karl's PR (https://github.com/alphagov/finder-frontend/pull/890); I already merged the PR that created conflicts there (https://github.com/alphagov/finder-frontend/pull/888). We should make sure when reviewing Karl's PR that the cache structure is the same or the difference is handled in some way.


Docs: use of @Custom decorator

The documentation for @Custom decorator is missing. We can find it in this https://github.com/tobydeh/fastest-validator-decorators/issues/8#issuecomment-766756166

An example has been added with commit 5bd02ada070bde062af29274e4160179955f38fd

Thank you!


Checkout

So I just added possibility to change billing address for checkout. I also moved common address parts for commands to trait to avoid code duplication. I also changed order for code execution with transactions.


ng2 uiSref ignores link target="_blank"

<a target="_blank"
   [uiSref]="'someState">
</a>

Will open state in current tab instead of new one.

I may be wrong about this but is the [uiSref] supposed to be [ui-sref] in stead of the previous?  Maybe that is you issue.  I am fairly new to ui-router but you may want to try that.

@Troy1b4 [uiSref] is Angular 2 directive

Okay, thanks for the clarification.

Moving to https://github.com/ui-router/ng2/issues/25


Update elasticsan requirements

https://github.com/Azure/azure-sdk-for-python/pull/26291

https://github.com/Azure/azure-sdk-for-python/pull/26291

/check-enforcer override


Circle seems to be broken

Circle only draws a single pixel at the top left corner, regardless of backgroundColor and borderColor:
Reproduce by taking a working square rect and making it a circle:
new UI.Circle({
    position: new Vector2(10, 40),
    size: new Vector2(20, 20),
    backgroundColor: 'white',
    borderColor: 'white'
  });

Ah, this somehow slipped me! Circle uses radius instead, and I have just corrected the docs. So you would specify radius: 20, instead of using size.

Nice. this explains my frustration. I just figured it was actually an Oval and Vector2 was valid


Rename TemplateLogic to LogicManager + Improve test coverage

Coverage increased (+1.0%) to 99.584% when pulling d3a0fadaa96e110f42770d3ad4f102ffd1825851 on jeromesimeon:js-release-0.8.6 into cddfb5f84abe8734c4f094b261477f1fcfe7ef81 on accordproject:master.


Hardware trigger mode

Hi, does this package support hardware trigger mode?

No, this pkg does not support the hardware trigger mode.
It's furthermore not planned to be implemented in the future.
Best,
Marcel
On Mar 8, 2017 04:20, yquantao<EMAIL_ADDRESS>wrote:
Hi, does this package support hardware trigger mode?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/magazino/pylon_camera/issues/15, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARTnn2Eg2JEWrAfJAUAhApvCtI8mtU72ks5rjh6EgaJpZM4MWUdS.

Feel free to add it, in  case you need it ;-)

Yep thanks, I'll have a try, because in my case, two cameras should be opened at the same time.
Best,
Yang

@irazr do you have updates on this? Your contribution would be more than welcome!

I'd also like to check if anyone's had any luck with adding hardware trigger functionality; we also need it for stereo camera use.

Just found this. So I need the hardware trigger for a custom stereo vision system and would anyhow implement it.
I would write it that way, that the user can activate the hardware trigger in the  config/default.yaml file.
Have there been any discussion or advices that have been discussed before regarding this implementation? Otherwise I would submit my code as a pull request the next days.

@AJwgnr  can you give us an update when you do it ,if you will ,I need it as well.

@AJwgnr  ,I implemented it the way you said in this fork ,but I commented out the support for usb cameras because I needed to use ptp as well , https://github.com/yasmeenel3sh/pylon_camera/blob/indigo-devel/include/pylon_camera/internal/impl/pylon_camera_base.hpp


Add context to fatal errors in analyze.AnalyzeOrg

When analyzing repos in an org, generatePackageInsights and AddPackage produce fatal errors that will prevent the analysis from continuing. Currently, the errors are confusing as they do not reveal which repos caused the failure (partially related to #101). This PR wraps those errors to provide context.
Analyzing repositories  99% |███████████████████████████████████████ | (5796/5799) [44m29s:1s]Error: failed to analyze org large-org: failed to get head branch name: exit status 128
Usage:
  poutine analyze_org [flags]

Flags:
  -h, --help           help for analyze_org
  -i, --ignore-forks   Ignore forked repositories in the organization
  -j, --threads int    Parallelization factor for scanning organizations (default 2)
  -t, --token string   SCM access token (env: GH_TOKEN)

Global Flags:
      --config string         config file (default is .poutine.yml in the current directory)
  -f, --format string         Output format (pretty, json, sarif) (default "pretty")
  -s, --scm string            SCM platform (github, gitlab) (default "github")
  -b, --scm-base-url string   Base URI of the self-hosted SCM instance (optional)
  -v, --verbose               Enable verbose logging

9:27PM | ERROR | error="failed to analyze org large-org: failed to get head branch name: exit status 128"

I do find it confusing that cloneRepoToTemp failing isn't fatal but generatePackageInsights and AddPackage are. Personally, I wonder whether a repository failing to scan should cancel analysis for an entire org.
https://github.com/boostsecurityio/poutine/blob/4416b90c629f8a1a283017c5f8019460f4a4d25a/analyze/analyze.go#L133-L149

Personally, I wonder if such errors for a repository should cancel analysis for the entire org, rather than logging the error and moving on.

I agree I think these should not cancel the analysis for the organization.

I went ahead and changed the error handling in analyze_org to log the errors of generatePackageInsights and AddPackage (https://github.com/boostsecurityio/poutine/pull/117) and making them not longer "fatal" when analyzing an organization. The context (ie: the repo name) is also included in the logs now so this change is no longer necessary.
We'll track improving how Git errors are reported in https://github.com/boostsecurityio/poutine/issues/101.

Sounds good!


Move to 7.0.0

because PowerShell 7 officially GA 🎉
https://devblogs.microsoft.com/powershell/announcing-powershell-7/

@daxian-dbw beat me to it!


Zap Swap Curve

Coverage decreased (-94.07%) to 0.0% when pulling 19cf062c5389cb3a08d236eabf05d7e8f8d7afe4 on zap-swap-curve into ab8cb85f846418a07a35a59aabe8ede5b971ebce on main.


Macvlan support in cluster-network-operator

This change introduces macvlan config for additional networks in cluster-network-operator, as a part of
https://github.com/openshift/cluster-network-operator/pull/126

/retest

/retest

/assign @smarterclayton

@smarterclayton As far as I looked CI result, the CI errors comes from somewhere else than my changes, but I don't know why.
Could you please let me know some pointer for that if you know? Thanks in advance.

/assign @dcbw

I've do ./hack/update-swagger-docs.sh but still CI failed with Swagger is out of date. Please run hack/update-swagger-docs.sh error

@adambkaplan @abhinavdahiya PTAL?

@adambkaplan I've updated the PR. PTAL?

/hold
not for 4.1 now

Close PR and let me submit again...


All non-successful build events being sent as failures

All builds not resulting in a success (unstable, aborted) are being sent to Datadog as failed events.  Would like to be able to send as warnings with the correct title in the event.  The tag:result is correct.
 StringBuilder title = new StringBuilder();
    title.append(job).append(" build #").append(number);
    if ("SUCCESS".equals(builddata.get("result"))) {
      title.append(" succeeded");
      payload.put("alert_type", "success");
      payload.put("priority", "low");
      message = "%%% \n [See results for build #" + number + "](" + buildurl + ") ";
    } else if (builddata.get("result") != null) {
      title.append(" failed");
      payload.put("alert_type", "failure");
      message = "%%% \n [See results for build #" + number + "](" + buildurl + ") ";
    }
    title.append(" on ").append(hostname);
    // Add duration
    if (builddata.get("duration") != null) {
      message = message + DatadogUtilities.durationToString(builddata.getDouble("duration"));
    }

Included in 0.7.0 release.


Fixed minor typo in code comment

I fixed a really minor typo in a code comment - I thought it was better to help rather than ignore it :)

@jeremylindsayni Thank you for fixing that!


Hotfix for appimage packaging issue

This hotfix crudely fixes the issue described in #84.

Issue https://github.com/pydeployment/pydeployment/issues/84 was addressed in PR https://github.com/pydeployment/pydeployment/pull/88


enforce extra type checks

[] |> :erlang.binary_to_integer
NaN

length(0)
undefined

We should crash here, given that is the behavior of elixir.  I am sure there is many more like this.

I'm sure there are more too. Will probably have to investigate how each works. For some I tried to go by what the erlang docs said, but I think some of the crash scenarios may not be documented


Bismuth glass: Test ingredient items not mod names

For the bismuth glass recipe, do check whether the ingredients have been defined instead of relying on particular mod names.  The reason is that multiple mods define an item "sand".  This makes this mod more compatible with other mods besides aai-industry.
Since our recipe is added in the data-update phase, those items should already be defined in the other mods data phase.

Did start checking items instead of mods in my other mod, but seems I forgot to go back to this mod and change the way I do it here xD
Just now realized that there was a typo in aai, but this fixes that as well


ButtonContent does not display icon

Downloaded latest version of SimpleToolkit.Core (3.0.0) from Nuget.
Added the UseSimpleToolkit to builder as suggested in documentation
       var builder = MauiApp.CreateBuilder();         builder             .UseMauiApp<App>()             .RegisterAppServices()             .UseSimpleToolkit()             .RegisterViewModels()             .RegisterViews()             .ConfigureFonts(fonts =>             {                 fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");                 fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");             });
Added the namespace to my page:
xmlns:simpleCore="clr-namespace:SimpleToolkit.Core;assembly=SimpleToolkit.Core"
I didn't see any mention in the documentation as to what the namespace should be so making an assumption that this is the correct one since I was able to access the ButtonContent from it.
And this is the xaml code for the ContentButton:
        <simpleCore:ContentButton>             <HorizontalStackLayout Padding="12,10" Spacing="10">                 <simpleCore:Icon                      Source="email32.png"                      TintColor="Red"                     VerticalOptions="Center"                     HeightRequest="18"                      WidthRequest="18"/>                 <Label Text="Sign in with email"                         TextColor="White"                        FontAttributes="Bold"                        VerticalOptions="Center"/>             </HorizontalStackLayout>         </simpleCore:ContentButton>
It displays the text ok but not the icon. When I changed the simpleCore:icon TintColor property to red that I spotted a little red square but no image.
I'm testing this with an Android project where my icons (.png) are stored under Platforms\Android\Resources\drawable folder. Note that my icon gets displayed when I use:
<Image Source="email32.png" WidthRequest="30" HeightRequest="30" Margin="10"/>
which would indicate that the icon is available to the project.
Any ideas how to resolve this?
Thanks

Hi @tfierens,
could you please try the newest version of SimpleToolkit? I tried your code and it worked for me. If it does not work, you can always use IconTintColorBehavior from Community Toolkit.


Structure of input

This is more of an observation / idea than anything else, (or perhaps you've already thought of some way to solve it)
In the docs you show an example:
$data = [
    'code' => 'gr',
    'en'  => ['name' => 'Greece'],
    'fr'  => ['name' => 'Grèce'],
  ];

  $greece = Country::create($data);

  echo $greece->translate('fr')->name; // Grèce

This made me wonder, how would i go about validating that the provided locales contain all the required data?
To my mind, something like this would make it a whole lot easier.
$data = [
    'code' => 'gr',
    'translations' => [
        'en'  => ['name' => 'Greece'],
        'fr'  => ['name' => 'Grèce'],
   ]
  ];

That way it would be a simple thing to validate using L5.2's new array validation?

closed, as i now realize this is easily accomplished.


Alertmanager Web GUI issue

What did you do?
Upgrade alertmanager to 0.14 version.
What did you expect to see?
The Web GUI page loading 100% like below.

What did you see instead? Under which circumstances?
The below page.

Environment

System information:
$ uname -srm
Linux 3.10.0-514.6.2.el7.x86_64 x86_64

$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

Alertmanager version:
$ /opt/alertmanager/alertmanager --version
alertmanager, version 0.14.0 (branch: HEAD, revision: 30af4d051b37ce817ea7e35b56c57a0e2ec9dbb0)
build user:       root@37b6a49ebba9
build date:       20180213-08:16:42
go version:       go1.9.2

Prometheus version:
$ /opt/prometheus/prometheus --version
prometheus, version 2.2.1 (branch: HEAD, revision: bc6058c81272a8d938c05e75607371284236aadc)
build user:       root@149e5b3f0829
build date:       20180314-14:15:45
go version:       go1.10

$ /opt/prometheus/promtool check config /opt/prometheus/prometheus.yml
Checking /opt/prometheus/prometheus.yml
SUCCESS: 1 rule files found
Checking /opt/prometheus/all.rules
SUCCESS: 5 rules found

Alertmanager configuration file:

# cat /opt/alertmanager/alertmanager.yml
global:
  # The smarthost and SMTP sender used for mail notifications.
  smtp_smarthost: '<IP_ADDRESS>:25'
  smtp_from<EMAIL_ADDRESS>  smtp_require_tls: false

route:
  receiver: default
  group_interval: 30s

receivers:
  - name: default
    email_configs:
      - to<EMAIL_ADDRESS>

Prometheus configuration file:

# cat /opt/prometheus/prometheus.yml
global:
  scrape_interval: 30s
  evaluation_interval: 30s
  scrape_timeout: 30s
alerting:
  alertmanagers:
  - static_configs:
    - targets:
       - localhost:9093
rule_files:
  - all.rules
scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:9090']
        labels:
          alias: prometheus
  - job_name: 'grafana'
    scheme: https
    tls_config:
        insecure_skip_verify: true
    static_configs:
      - targets: ['localhost:3000']
        labels:
          alias: grafana
  - job_name: 'server1'
    static_configs:
      - targets: ['<IP_ADDRESS>:9100']
        labels:
          alias: server1
.
.
etc

Logs:

Alertmanager:
$ journalctl -u alertmanager -f
-- Logs begin at Tue 2018-04-17 12:10:14 UTC. --
May 23 18:16:05 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:05.556723857Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/kube.min.css not found"
May 23 18:16:05 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:05.651949342Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/kube.min.css not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.556424622Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/jquery.min.js not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.559950996Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/moment.min.js not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.560048569Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular.min.js not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.560998418Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-moment.min.js not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.638985204Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/kube.min.css not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.652198483Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular.min.js not found"
May 23 18:16:06 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:06.741735536Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-moment.min.js not found"
May 23 18:16:07 server1 alertmanager[25705]: level=warn ts=2018-05-23T18:16:07.206455107Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/kube.min.css not found"

Prometheus:
$ journalctl -u prometheus -f
-- Logs begin at Tue 2018-04-17 12:10:14 UTC. --
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.254108508Z caller=main.go:221 build_context="(go=go1.10, user=root@149e5b3f0829, date=20180314-14:15:45)"
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.254145049Z caller=main.go:222 host_details="(Linux 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64 server1 (none))"
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.254159382Z caller=main.go:223 fd_limits="(soft=1024, hard=4096)"
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.256940485Z caller=main.go:504 msg="Starting TSDB ..."
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.256986309Z caller=web.go:382 component=web msg="Start listening for connections" address=<IP_ADDRESS>:9090
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.831656033Z caller=main.go:514 msg="TSDB started"
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.831730584Z caller=main.go:588 msg="Loading configuration file" filename=/opt/prometheus/prometheus.yml
May 23 17:46:55 server1 prometheus[24259]: level=info ts=2018-05-23T17:46:55.834033582Z caller=main.go:491 msg="Server is ready to receive web requests."
May 23 17:47:00 server1 prometheus[24259]: level=error ts=2018-05-23T17:47:00.835291979Z caller=notifier.go:473 component=notifier alertmanager=http://localhost:9093/api/v1/alerts count=0 msg="Error sending alert" err="Post http://localhost:9093/api/v1/alerts: dial tcp [::1]:9093: connect: connection refused"
May 23 17:47:06 server1 prometheus[24259]: level=error ts=2018-05-23T17:47:06.28304693Z caller=notifier.go:473 component=notifier alertmanager=http://localhost:9093/api/v1/alerts count=0 msg="Error sending alert" err="Post http://localhost:9093/api/v1/alerts: dial tcp [::1]:9093: connect: connection refused"

Did you install alertmanager from package?

Hi Simon,
From here: https://github.com/prometheus/node_exporter/releases/download/v0.16.0/node_exporter-0.16.0.linux-amd64.tar.gz
Kind Regards

I've deleted and unzipped again, but the same thing.
I was thinking to delete the directory and to create and extract again.
Any suggestion?

What version did you run before? There is at least one report about a similar case (#770).
I am not too familiar with the alertmanager internals, but it seems like the requests for ui/app/lib/angular.min.js are no longer relevant in the current code base, which makes this look like some caching problem.
Can you

try clearing your browser's cache
try another browser
try running alertmanager on another address/port and access the web UI there
tell us which browser you are using

... and report back?

This looks like your browser has the old javascript cached. Clear the cache and it should load fine.

Yes it seems that there was a problem, I've do the following actions:
•Restarted the PC.
•Restarted AlertManager.
•Cleared all browsers cache and restarted them.
An now I have the GUI that seems to be OK:

The logs looks like:
[root@server1 ~]# systemctl status alertmanager
● alertmanager.service - Prometheus Alertmanager
Loaded: loaded (/usr/lib/systemd/system/alertmanager.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-05-24 04:51:53 UTC; 4 days ago
Main PID: 942 (alertmanager)
CGroup: /system.slice/alertmanager.service
└─942 /opt/alertmanager/alertmanager --config.file=/opt/alertmanager/alertmanager.yml
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.551306384Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-route.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.554182885Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-sanitize.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.571330066Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-resource.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.585093311Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-moment.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.593992714Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.640874249Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-sanitize.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.68741525Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-route.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.733886426Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-resource.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.780828026Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/angular-moment.min.js not found"
May 28 09:11:28 server1 alertmanager[942]: level=warn ts=2018-05-28T09:11:28.880176613Z caller=web.go:33 msg="Could not get file" err="AssetInfo ui/app/lib/kube.min.css not found"

Your logs are normal. Your browser was requesting old, no-longer available files, so the alertmanager backend was reporting that the files could not be found.


KAFKA-5450 Increased timeout of Connect system test utilities

Increased the timeout from 30sec to 60sec. When running the system tests with packaged Kafka, Connect workers can take about 30seconds to start.

@ewencp please review.

This only changes the system test utility for Connect, so it'd be great to backport this to 0.11.0 to fix the current failures with most of the Connect system tests running against packaged Kafka.

LGTM, thanks! Merging to trunk and 0.11.0


Expose pointer coordinates on press events

Is your feature request related to a problem? Please describe.
I wanna implement a ripple effect in button component but I can't access pointer coordinates in press events
Describe the solution you'd like
Expose clientX and clientY(when applicable) in press events
Describe alternatives you've considered
I've been using native events with refs
Additional context

onPress has been removed in v0.6.0, you can use "normal" onClick handlers.


python310Packages.recordlinkage: add missing build dependencies

Description of changes
https://github.com/NixOS/nixpkgs/pull/248866 broke this package without adding these build dependencies.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Closed by #253074.


How do we use Instance Profile as a credential source?

I want to run k6 tests in our CICD pipelines. The pipeline runners are on AWS and use AWS instance profiles. How can I create an AWSConfig object if I don't have access keys and secrets to pass it?
I was really surprised that jslib-aws is not based on the AWS SDK, which automatically handles authentication for you. https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials-node.html

If more than one credential source is available to the SDK, the default precedence of selection is as follows:

Credentials that are explicitly set through the service-client constructor
Environment variables
The shared credentials file
Credentials loaded from the ECS credentials provider (if applicable)
Credentials that are obtained by using a credential process specified in the shared AWS config file or the shared credentials file. For more information, see Loading Credentials in Node.js using a Configured Credential Process.
Credentials loaded from AWS IAM using the credentials provider of the Amazon EC2 instance (if configured in the instance metadata)

I'm using number 6.

Hey @shadycuz,
I think you're right, and the sixth credential source from that list isn't supported yet by k6-jslib-aws.
This is something that would require some changes, following what's documented here.
I guess this is feasible, but would require some effort we'll need to prioritize.
Alternatively, you could give it a try, contributions are more than welcome.
Thanks! 🙇🏻

Hi @shadycuz 👋🏻
Thanks for reporting this issue. Much appreciated 🙇🏻
For context, and as I think it might be an excellent resource to refer to in the future, there are a couple of reasons why k6-jslib-aws is based (as in, its implementation is selectively picked up and adapted from the aws js SDK v3) but not built upon the official node SDK:

k6 does not use node under the hood, nor v8, but a custom javascript engine goja
Our javascript runtime still lacks some APIs allowing full compatibility with a node environment. Although we have tried to bridge that gap in recent years, we're still missing some on that front, and I don't believe k6 could be compatible with the SDK natively. (I might be wrong, and if anyone can test it, please go ahead and let us know the result 🙇🏻 )
In our experience, the AWS SDK is massive, constantly changing in what feels like drastic ways, and embeds many features and services that are irrelevant to the context of k6: reliability testing. Hence, and integrating that we're also a small team, we have decided to implement our own minimal and community-driven version of the SDK that caters to specific needs rather than the whole AWS ecosystem.

For the rest, I fully align with @joanlopez 🤝
Our approach so far has been to build the smallest scope we could and rely on the community to help us integrate and implement changes that catered to further needs. As mentioned above, this is to cater to our small team size and limited resources on that front.
We would really appreciate and take the time to carefully review a PR if you have the capacity to put it together indeed 🎉 🙇🏻


Icon submission: Optery

URL of the site or app
https://www.optery.com/
Proof of the Aegis-compatible 2FA
https://help.optery.com/en/article/how-to-add-multi-factor-authentication-mfa-2-step-verification-2fa-to-your-account-for-additional-security-e16sz4/

Logo / icon info
https://www.optery.com/wp-content/uploads/2022/09/optery-logo-3.svg (I saved this SVG directly and used the shield in my design.)
I followed all of the instructions very carefully. However, this is my first time submitting and I apologize as I had an issue at the "combine logo" stage. In Affinity Designer, when I selected "Layer > Geometry > Add" my whole logo simply turned one color and I couldn't figure out how to get it to work the right way. Everything else should be correct. I would be happy to make the proper adjustment with some guidance from you, unless this submission is still acceptable.
Background color info
The logo is blue and white, and I simply reversed the two colors so the background would be blue.
Upload icon(s)
optery.zip
Anything else?
Thank you for maintaining Aegis Icons! I've been loving it for a long time now.
Confirmation

[X] I have read and carefully followed CONTRIBUTING document during the creation of the icon.

Weird bug, that it taken 4 days for GitHub to show this issue on my repo... That was the reason for late response.
I check this on tomorrow / this weekend.

Added to the repo with necessary fixes and smaller logo size:
https://github.com/aegis-icons/aegis-icons/blob/master/icons/1_Primary/Optery.svg


[BUG] Path quotes are broken, kinda?

Information

Apktool Version (apktool -version) - 2.6.1
Operating System (Mac, Linux, Windows) - Windows

Stacktrace/Logcat
>apktool
'""C:' is not recognized as an internal or external command,
operable program or batch file.

Steps to Reproduce

set %JAVA_HOME% to a path with a space, which needs quotes to work with most software. E.g.: "C:/Program Files/Java/jdk-15.0.2"
comment out @echo off (to show actual commands)
Run apktool.
apktool crashes when the batch file tries to invoke the jar with:

""C:/Program Files/Java/jdk-15.0.2"\bin\java.exe" -jar -Duser.language=en -Dfile.encoding=UTF8 "C:\apktool\apktool.jar"
'""C:' is not recognized as an internal or external command,
operable program or batch file.

Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? N/A, but yes.
If you are trying to install a modified apk, did you resign it? N/A
Are you using the latest apktool version? yes

Fix for my system
By adding quotes around %java_exe% - "%java_exe%", it invokes the jar correctly. It produces this monstrosity of a command line:
"""C:/Program Files/Java/jdk-15.0.2"\bin\java.exe"" -jar -Duser.language=en -Dfile.encoding=UTF8 "C:\apktool\apktool.jar"

and that works!
There's no way that's the right solution. But string manipulation in batch scripts is painful & cruel, so I'm not gonna try writing a proper patch.
...I'm still hoping that filing this bug report might help someone!

Not sure of any solution myself, but if thats what Gradle does - https://github.com/iBotPeaches/Apktool/blob/master/gradlew.bat#L74
That works for me. If you'd like to PR that - I'd accept it. Otherwise I'll get to it in a day or so.

a good practice is to always use forward slash (/),
if you store the path in a variable you can set YOUR_VARIABLE=%YOUR_VARIABLE:\=/%

but using 8.3 short path should work better,
one positive side effect is that using short path would let you drop one set of "" from your command, making it more readable (short paths do not need "" wrapping).

anyway that's my normalization: https://github.com/eladkarako/android/blob/master/bin/apktool/apktool.cmd

I think batch scripts are an abomination, so I don't generally submit PRs about them :)

I think batch scripts are an abomination

you are more than welcome to use NodeJS js
with child_processes and spawn, to skip the shell middleman
and launch your application directly with whatever arguments you want.
will work the same for any OS.


Wrong coorinates in exported geojson files

Using vt2geojson tool I convert several pbf tiles from 3 zoom level to geojson files:
vt2geojson https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer/tile/3/3/2.pbf > 3_2.geojson
vt2geojson https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer/tile/3/3/1.pbf > 3_1.geojson
vt2geojson https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer/tile/3/2/2.pbf > 2_2.geojson
vt2geojson https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer/tile/3/2/1.pbf > 2_1.geojson

But when I open geojson files in QGIS, features have wrong position and tiles order:

Services Directory: https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer?cacheKey=aa41ff47603e8df5&f=html
How I can receive geojson files with correct coordinates?
Thanks!

Hi, did you able to solve this issue?
I'm facing the same problem with my geoserver layer.

Hi @AsimAziz ,
no, I did not solve this issue

i'd wager a bet that this is because the Esri tiles are z/y/x and this lib expects z/x/y.
does this produce the correct results?
vt2geojson https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer/tile/3/3/2.pbf -x 2 -y 3 > 3_2.geojson


FEATURE: allow FINISH and CANCEL TOUR buttons in CovalentGuidedTour to be localized

Feature Request

Currently the button labels for the FINISH and CANCEL TOUR buttons are hard coded. For the Vantage Analyst apps we need to provide translations for the tours.

I'll post a PR for this shortly


Probably want to update to latest machine

There aren't huge changes but there's at least one change to the client => server interaction over RPC which is pretty vital.
@dhiltgen

Updated with https://github.com/dhiltgen/docker-machine-kvm/releases/tag/v0.0.5


Improve styling

[ ] Setup styling tools (e.g. Pollen, Open Props)
UI

[ ] Buttons
[ ] Typography
[ ] Cards
[ ] Wrappers

A few updates:

as of https://github.com/redwoodjs/example-store/pull/58, we're using open props in conjunction with styled components
in #59, I added feather icons, but I've yet to use them yet


Read default eosio key from config.ini in addition to command line #2149

The related issue #2149 passes the test


perf: blog ToC

:tada: This PR is included in version 1.13.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SPI master not always doing full duplex transfer. rbuf_write_push not high during read

Based on HAS, SPI master is always full duplex transfer. That means, whenever SS_N go low, it does not matter read or write transfer, data from MISO should always push to the read buffer. This was not the case from the RTL and simulation.

From the above image, rbuf_write_push should be asserted when ss_n go low. From the below simulation, it was not toggle most of the time. See marked red place. The condition for rbuf_write_push should be whenever ss_n low, it will push every 32 bit data until ss_n go idle.

Can you explain what are you trying to do here?

During reads, the MISO data is stored in the Read buffer FIFO. So the title of this bug saying that "rdbuf_write_push not high during read" is inaccurate. This can be seen clearly in the waves you attached during the period when "cmd_is_read" signal is high and the read data is being pushed into the Read buffer FIFO.
During writes, the MISO data from the slave is not stored in the buffer. If needed, we can add this to the logic, but then the FW will be responsible for either pulling out the data from the Read buffer FIFO or soft resetting the FIFO pointers at the end of the transaction once the command is complete (not busy) and once all desired data is read. That would not be our recommended design. Even in the waves you attached, if this feature was enabled, only Xs would be pushed into the Read buffer FIFO, so it doesn't seem particularly useful. Is this needed for some reason?

See SPI Master Write Programming in HAS:

The read buffer of SPI master should always record MISO when SS_N is active. This is our agreement.  It is important because the SPI master is generic. In some cases, Xs would be pushed into the Read Buffer FIFO. For other slave, meaningful data will be pushed in. It is up to firmware to decide. Firmware may or may not to read out data from read buffer. IP should take care of either cases smoothly. This is to be expected when this SPI master talk to our security SPI slave.

To be clear, if we enable this feature, write commands will push data into
the Read FIFO. There is no way for the hardware to know the intent of the
FW, so there is no way for the HW to "take care of either case smoothly".
The only mechanism available would be to either:
A - Require the FW to read out the entirety of the Read Buffer FIFO on
every transaction including writes
B - Require the FW to perform a soft reset of the Read Buffer FIFO
As long as you understand this new FW requirement you are adding, we can
add the feature. Please confirm.
On Wed, Sep 8, 2021 at 11:37 PM Julie Zhang @.***>
wrote:

See SPI Master Write Programming in HAS:
[image: image]
https://user-images.githubusercontent.com/47224718/132622640-4a0ca3f0-32fa-41fe-a76d-a36b9dda2c57.png
The read buffer of SPI master should always record MISO when SS_N is
active. This is our agreement. It is important because the SPI master is
generic. In some cases, Xs would be pushed into the Read Buffer FIFO. For
other slave, meaningful data will be pushed in. It is up to firmware to
decide. Firmware may or may not to read out data from read buffer. IP
should take care of either cases smoothly. This is to be expected when this
SPI master talk to our security SPI slave.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/chipsalliance/aib-protocols/issues/12#issuecomment-915756068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYPV2J6JIF4QWALXKA4SMLUBA2X3ANCNFSM5DVV5ANQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
_This e-mail message (including any attachments) may be confidential,
proprietary, privileged, or otherwise exempt from disclosure under
applicable laws. If you are not an intended recipient, please delete this
message. Thank you.
_

This requirement was always in the HAS and it is not a new feature.  Both of the mechanism does not sound user friendly and clean.   Maybe you can think about cleaner architecture for your SPI master. It does not have to be that clunky and inflexible.

Fixed in 0.8.4, but only locally tested. DV will add further testing.
By default, current RTL behaves the same as before, a write transaction necessarily ignores the return read data.
However, by setting bit [1] in the "read buffer control" (which should be at 0x4c), this will enable full duplex traffic for wtites. In this case, every 4 bytes of write data will also generate 4 byte of read data in the read buffer. It is the user's responsibility to either:
A. Read out all data in the Read Buffer so the read buffer is empty.
B. Read out some (or none) of the Read Buffer and then Write a 1 to bit [0] to trigger a Soft Reset of the Read buffer (and then writing a 0 afterwards) to indicate the user is done reading out data and the remaining data in the Read Buffer can be discarded.
Userguide updates are pending as well, but will probably come in after DV has confirmed the fix.

It looks lot better than before. RTL looks steps further than your description.
By default, current RTL behaves the same as before, a write transaction necessarily ignores the return read data.
Comment: By default, most write, push to read buffer happens, but not always. A bit more DV there. The RTL also performs soft reset as well which is good. (Without setting bit [1] in the "read buffer control").  The soft reset in the waveform are not performed by test.  They are from the RTL.  Basic test with no soft reset from test does not hang the RTL.  Much better than previous version.

SPI master: clear rd_buffer beginning of each transaction.
SPI_slave: similar clearing as SPI_master

Buffer is now being cleared at the beginning of each transaction. Again, this was tested locally, but formal DV on this has not been done.

My mistake, I was out of date on what was checked into the repo. This is not released yet.

Eximius to checkin the fix in the next update. Local regression work. DV will test this feature.

This should be fixed in 0.8.6 drop. This was verified with local testing only and has not been added to DV suite yet.

Soft reset at the beginning of the SPI transaction verified OK.
SPI master always full duplex transfer not correct during write transfer. Look at the wave, it seems always miss the last write push for the write.

What RTL is saying the condition for the write push to read buffer is for write address in certain range.  That is no right.  Write push is purely slave with ss_n. As long as ss_n is low, for every 32 bit shifting, push it to read buffer. You already has rx_count. Whever rx_count hit 1f, push it in. That's it.

Ethi agrees to the comments, next update to have a fix for this issue

Should be fixed in 8.8 drop. Verified with local sims only.

With 0.89 check in, I can see designer removed quite extra logic. This almost working now with one caveat. For some transaction, there are double write push at the end of transaction. Can you correct that?  You should be able to reproduce that with your current test vector. Let me know if you need extra information.


Link to Demo doesn't work

In README.md, the link to the demo doesn't work.
This is in progress and all files will be uploaded soon.

All demo files have been uploaded to the server.


some bug fix

fix wrong name.
make image size safe.
iOS textureFrameAvailable in main thread

 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.新宿 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@ksballetba

https://github.com/alibaba/power_image/issues/13


live <= main

fixing the header

Docs Build status updates of commit 542fb38:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


slight resize

@waderyan,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Enable WriteCore feature for datalake-store

We need to enable WriteCore feature to datalake-store. Therefore add use-write-core: true and do a regen.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.DataLakeStore


Dynatrace Service: Creating Dashboards does not work properly due to changes in Dashboard API

Need to adapt to API changes

This problem first occured with V1.187 of Dynatrace:
When executing keptn configure monitoring --project=<project> via the Keptn CLI, the following error appeared in the log output:
Creating Dashboard for project sockshop
Response Status:400 Bad Request
Could not create Dynatrace Dashboard for project sockshop: 400 Bad Request
Could not create Dynatrace dashboard for project sockshop: 400 Bad Request

This is fixed with v0.6.1 of the Dynatrace service


make demo fails due to sed issue in "make demo_content" target

In a fresh install on ubuntu 20.04, "make demo" failed with
sed: can't read s/author_email\="mjordan@sfu"\,/author_email="mjordan@sfu", packages=["i7Import", "i8demo_BD", "input_data"],/g: No such file or directory
make[1]: *** [Makefile:374: demo_content] Error 2
make[1]: Leaving directory '/tmp/isle-dc'
make: *** [Makefile:334: demo] Error 2

this turned out to be a OSX vs. GNU sed incompatibility.
I've made a fix and will post a PR shortly.

@DonRichards can you please test this?  (I don't have access to assign this PR to you.)


support grpc Client

What does this pull request do?
I add code for supporting Grpc Client call

Related issues
closes #ISSUE
645

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1176 opened

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-06-28T13:15:10.277+0000

Duration: 3 min 10 sec

Commit: a0da562713313338d4a229be3d862c9ed13f239d

Trends :test_tube:

Steps errors
Expand to view the steps failures

Load a resource file from a shared library

Took 0 min 0 sec . View more details on here
Description: approval-list/elastic/apm-agent-python.yml

Error signal

Took 0 min 0 sec . View more details on here
Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Log output
Expand to view the last 100 lines of log output

[2021-06-28T13:17:52.368Z]  > git config core.sparsecheckout # timeout=10
[2021-06-28T13:17:52.375Z]  > git checkout -f a0da562713313338d4a229be3d862c9ed13f239d # timeout=15
[2021-06-28T13:17:56.003Z] Commit message: "support grpc Client"
[2021-06-28T13:17:56.004Z] First time build. Skipping changelog.
[2021-06-28T13:17:56.004Z] Cleaning workspace
[2021-06-28T13:17:56.078Z]  > git --version # timeout=10
[2021-06-28T13:17:56.082Z]  > git --version # 'git version 2.17.1'
[2021-06-28T13:17:56.087Z] fatal: bad object bbed8ab717206e63fa6cc1cef7d35f4a13f717ab
[2021-06-28T13:17:56.767Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-06-28T13:17:56.865Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-06-28T13:17:56.006Z]  > git rev-parse --verify HEAD # timeout=10
[2021-06-28T13:17:56.011Z] Resetting working tree
[2021-06-28T13:17:56.011Z]  > git reset --hard # timeout=10
[2021-06-28T13:17:56.042Z]  > git clean -fdx # timeout=10
[2021-06-28T13:17:57.002Z] Timeout set to expire in 1 hr 0 min
[2021-06-28T13:17:57.279Z] [INFO] Number of builds to be searched 10
[2021-06-28T13:17:57.451Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-06-28T13:17:57.479Z] Running in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1176/src/github.com/elastic/apm-agent-python
[2021-06-28T13:17:57.527Z] [INFO] gitCheckout: Checkout SCM PR-1176 with default customisation from the Item.
[2021-06-28T13:17:57.569Z] [INFO] Override default checkout
[2021-06-28T13:17:57.654Z] Sleeping for 10 sec
[2021-06-28T13:18:07.690Z] The recommended git tool is: git
[2021-06-28T13:18:07.831Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2021-06-28T13:18:07.840Z] Wiping out workspace first.
[2021-06-28T13:18:07.850Z] Cloning the remote Git repository
[2021-06-28T13:18:07.850Z] Using shallow clone with depth 3
[2021-06-28T13:18:07.850Z] Avoid fetching tags
[2021-06-28T13:18:07.868Z] Cloning repository git@github.com:elastic/apm-agent-python.git
[2021-06-28T13:18:07.902Z]  > git init /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1176/src/github.com/elastic/apm-agent-python # timeout=10
[2021-06-28T13:18:07.914Z] Fetching upstream changes from git@github.com:elastic/apm-agent-python.git
[2021-06-28T13:18:07.915Z]  > git --version # timeout=10
[2021-06-28T13:18:07.921Z]  > git --version # 'git version 2.17.1'
[2021-06-28T13:18:07.922Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-06-28T13:18:07.927Z]  > git fetch --no-tags --progress -- git@github.com:elastic/apm-agent-python.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2021-06-28T13:18:09.585Z] Cleaning workspace
[2021-06-28T13:18:09.598Z] Using shallow fetch with depth 3
[2021-06-28T13:18:09.598Z] Pruning obsolete local branches
[2021-06-28T13:18:09.570Z]  > git config remote.origin.url git@github.com:elastic/apm-agent-python.git # timeout=10
[2021-06-28T13:18:09.574Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-06-28T13:18:09.580Z]  > git config remote.origin.url git@github.com:elastic/apm-agent-python.git # timeout=10
[2021-06-28T13:18:09.587Z]  > git rev-parse --verify HEAD # timeout=10
[2021-06-28T13:18:09.591Z] No valid HEAD. Skipping the resetting
[2021-06-28T13:18:09.591Z]  > git clean -fdx # timeout=10
[2021-06-28T13:18:09.600Z] Fetching upstream changes from git@github.com:elastic/apm-agent-python.git
[2021-06-28T13:18:09.600Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-06-28T13:18:09.604Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/apm-agent-python.git +refs/pull/1176/head:refs/remotes/origin/PR-1176 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2021-06-28T13:18:10.261Z] Merging remotes/origin/master commit f64994d0a72be9d54ddec76afb65842dc8bcabed into PR head commit a0da562713313338d4a229be3d862c9ed13f239d
[2021-06-28T13:18:10.385Z] Merge succeeded, producing a0da562713313338d4a229be3d862c9ed13f239d
[2021-06-28T13:18:10.386Z] Checking out Revision a0da562713313338d4a229be3d862c9ed13f239d (PR-1176)
[2021-06-28T13:18:10.439Z] Commit message: "support grpc Client"
[2021-06-28T13:18:10.439Z] Cleaning workspace
[2021-06-28T13:18:10.519Z]  > git --version # timeout=10
[2021-06-28T13:18:10.522Z]  > git --version # 'git version 2.17.1'
[2021-06-28T13:18:10.526Z] fatal: bad object bbed8ab717206e63fa6cc1cef7d35f4a13f717ab
[2021-06-28T13:18:10.264Z]  > git config core.sparsecheckout # timeout=10
[2021-06-28T13:18:10.267Z]  > git checkout -f a0da562713313338d4a229be3d862c9ed13f239d # timeout=15
[2021-06-28T13:18:10.329Z]  > git remote # timeout=10
[2021-06-28T13:18:10.355Z]  > git config --get remote.origin.url # timeout=10
[2021-06-28T13:18:10.362Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-06-28T13:18:10.365Z]  > git merge f64994d0a72be9d54ddec76afb65842dc8bcabed # timeout=10
[2021-06-28T13:18:10.376Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-06-28T13:18:10.388Z]  > git config core.sparsecheckout # timeout=10
[2021-06-28T13:18:10.394Z]  > git checkout -f a0da562713313338d4a229be3d862c9ed13f239d # timeout=15
[2021-06-28T13:18:10.441Z]  > git rev-parse --verify HEAD # timeout=10
[2021-06-28T13:18:10.455Z] Resetting working tree
[2021-06-28T13:18:10.455Z]  > git reset --hard # timeout=10
[2021-06-28T13:18:10.488Z]  > git clean -fdx # timeout=10
[2021-06-28T13:18:11.383Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-06-28T13:18:11.956Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-06-28T13:18:13.438Z] Running in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1176/src/github.com/elastic/apm-agent-python/.git
[2021-06-28T13:18:13.585Z] Archiving artifacts
[2021-06-28T13:18:14.402Z] + git rev-parse HEAD
[2021-06-28T13:18:14.764Z] + git rev-parse HEAD
[2021-06-28T13:18:15.092Z] + git rev-parse origin/pr/1176
[2021-06-28T13:18:15.151Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-06-28T13:18:15.394Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-06-28T13:18:16.473Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-python/pulls/1176/reviews return 0 elements
[2021-06-28T13:18:16.560Z] [INFO] githubPrCheckApproved: Title: support grpc Client - User: Zioyi - Author Association: FIRST_TIME_CONTRIBUTOR
[2021-06-28T13:18:16.973Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-06-28T13:18:16.975Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-06-28T13:18:17.093Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2021-06-28T13:18:17.129Z] Sleeping for 5 sec
[2021-06-28T13:18:18.400Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2021-06-28T13:18:18.504Z] Stage "Test" skipped due to earlier failure(s)
[2021-06-28T13:18:18.621Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-06-28T13:18:18.722Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-06-28T13:18:18.844Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-06-28T13:18:19.081Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-28T13:18:19.132Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-28T13:18:19.222Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-28T13:18:19.320Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-28T13:18:19.770Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1176
[2021-06-28T13:18:19.948Z] [INFO] getVaultSecret: Getting secrets
[2021-06-28T13:18:20.008Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-28T13:18:21.032Z] + chmod 755 generate-build-data.sh
[2021-06-28T13:18:21.032Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1176/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1176/runs/1 ABORTED 190478
[2021-06-28T13:18:21.032Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1176/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-28T13:18:21.032Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1176/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-06-28T13:18:21.032Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-06-28T13:18:22.375Z] Retry 2/3 exited 22, retrying in 2 seconds...

Hi @Zioyi! Thanks a lot for your pull request! I'll have a closer look in the coming days!

Closing, as this was implemented in #1703


Fix nullability on some fields

abandoning in favor of https://github.com/ffddorf/unms-exporter/pull/5


 Thank you!

Do you have solved? I met the same problem on the I686. but is ok on the X86-64


v4.0 for 1.20.1 breaks the oak stick crafting recipe

With this mod installed, I cannot make a stick anymore using 2 oak slabs. The other woods are fine, 2 birch slabs make a birch stick. When I check jei, it says the recipe for an oak stick is just one oak slab but if you do that in the crafting table, this results in a button as always. So oak sticks are not craftable.

Will check it out, apologies!

aha!
found it..
I assume you meant planks :P
not sure how i missed that

new releases up on CF

Thank you so much for the speedy fix! Oops yes I meant planks lol


Cmake build files for cyw43 driver without BTStack

Hi
I want to use the HCI layer for the Pico W without BTStack - just using the cyw43-driver.
I need to use the following functions:
cyw43_init()
cyw43_bluetooth_hci_write()
cyw43_bluetooth_hci_read()
Can anyone help with what to put into a cmake file to build this correctly. The right library and build options?
I have used these functions in a Micropython C module (https://github.com/paulhamsh/HCI-PicoW) but don’t understand cmake and the Pico build process enough to get this to work in a standalone program.
Thanks

So, this works but isn't optimal because it includes btstack and I had to create a btstack_config.h file.
cmake_minimum_required(VERSION 3.13)

include(./pico_sdk_import.cmake)

project(my_project C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(PICO_BOARD pico_w)
set(CYW43_ENABLE_BLUETOOTH 1)

pico_sdk_init()

add_executable(hci_pico main.c )
target_link_libraries(hci_pico pico_stdlib   pico_cyw43_arch_none   pico_btstack_ble   pico_btstack_cyw43)
target_include_directories(hci_pico PRIVATE ${CMAKE_CURRENT_LIST_DIR}) # bt stack config
pico_enable_stdio_usb(hci_pico 1)
pico_enable_stdio_uart(hci_pico 0)
pico_add_extra_outputs(hci_pico)

Linking to pico_btstack_ble will pull in the btstack library. cyw43_bluetooth_hci_write and cyw43_bluetooth_hci_read are in cyw43_driver. You would have to set CYW43_ENABLE_BLUETOOTH=1 yourself?

Thank you - no error. Where is the forum?

https://forums.raspberrypi.com/viewforum.php?f=145

Resolved thank you


Update structure

Changes:

[x] Remove observations.deploymentID
[x] Remove observations.timestamp
[x] Remove observations.mediaID
[x] Replace media.sequenceID with media.eventID and update definition
[x] Replace observations.sequenceID with observations.eventID and update definition
[x] Update media table description
[x] Update observation table description
[ ] Update skos of media.deploymentID to parentEventID #200
[ ] Update definition of observations.countNew
[ ] Update definition of metadata.sequenceInterval

For discussion see #203.

This PR is abandoned in favour of #279.


Make sonarlint and sonarcloud rules consistent

Also, investigate ways to make SURE that they are consistent

vs code: https://github.com/SonarSource/sonarlint-vscode#connected-mode
intellij: https://github.com/SonarSource/sonarlint-intellij/wiki/Bind-to-SonarQube-or-SonarCloud

information added to #147