text:
Remove old maintainers from gitlab-plugin deploy permissions

Description
Remove old maintainers from deploy permissions for https://github.com/jenkinsci/gitlab-plugin
In addition, please remove the following from the GitHub Developers group for the plugin, as they are no longer active maintainers:
@slide
@batmat
@bassrock
@colourmeamused
@omorillo
@coder-hugo
@xaniasd
@trance1st

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

As discussed with @omehegan I'll leave this for a day or two to give affected people a chance to response.

:+1: from me

:+1: from me

Removed the specified users from the team. Left are: @argelbargel, @mreichel, @christ66, @omehegan, and @dblessing

authors: coder-hugo daniel-beck omehegan slide


text:
added new release user

Description

Submitter checklist for changing permissions

Always

[ ] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] All newly added users have logged in to Artifactory at least once

This change needs an explanation.

Closing since there is no follow-up from the requester

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
Update plugin-ibm-cloud-devops.yml

Add Umesh and Dlaprod functional id

Description

Add Umesh Parulekar and functional id (dlaprod) as the developer
Github repo: https://github.com/jenkinsci/ibm-cloud-devops-plugin
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)
@damovsky
@nishio-dens

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Build failed; the context from the latest run is:
Expand to view
	at groovy.json.JsonBuilder.toString(JsonBuilder.java:347)
	at groovy.json.JsonBuilder.toPrettyString(JsonBuilder.java:361)
	at groovy.json.JsonBuilder$toPrettyString$0.call(Unknown Source)
	at io.jenkins.infra.repository_permissions_updater.ArtifactoryPermissionsUpdater$_generateApiPayloads_closure1.doCall(ArtifactoryPermissionsUpdater.groovy:193)
	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
	at groovy.lang.Closure.call(Closure.java:414)
	at groovy.lang.Closure.call(Closure.java:430)
	at org.codehaus.groovy.runtime.ResourceGroovyMethods.eachFile(ResourceGroovyMethods.java:1070)
	at org.codehaus.groovy.runtime.ResourceGroovyMethods.eachFile(ResourceGroovyMethods.java:1088)
	at org.codehaus.groovy.runtime.dgm$936.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at io.jenkins.infra.repository_permissions_updater.ArtifactoryPermissionsUpdater.generateApiPayloads(ArtifactoryPermissionsUpdater.groovy:134)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:151)
	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:102)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:214)
	at io.jenkins.infra.repository_permissions_updater.ArtifactoryPermissionsUpdater.main(ArtifactoryPermissionsUpdater.groovy:317)
[Pipeline] stage (Archive)
Using the ‘stage’ step without a block argument is deprecated
Entering stage Archive
Proceeding
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE

Powered by the Comment Logger

@patrickjoy FYI just in case.

Please note that GitHub repository commit access is independent of this. See https://jenkins.io/doc/developer/publishing/source-code-hosting/ for effective permissions. File an INFRA issue in Jira to have committers removed.

authors: daniel-beck jenkinsadmin xunrongli-ibm


text:
chore: bdd-spring-1578938033 to 0.0.1

chore: Promote bdd-spring-1578938033 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
update UPDATEBOT_VERSION to 1.1.10

UpdateBot pushed docker dependency: UPDATEBOT_VERSION to: 1.1.10

UpdateBot commands:
updatebot push-version --kind docker UPDATEBOT_VERSION 1.1.10

repo: jenkins-x/builder-base


text:
fix: override steps in composite tasks

lets support overriding a step inside a single step which is an entire task
(as its got no step name)

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/hold cancel

authors: jenkins-x-bot-test jstrachan

repo: jenkins-x/jx-pipeline


text:
User 'jenkins' in the Windows image is not granted local admin privileges

See command number 20 on the image layer details: https://hub.docker.com/layers/jenkins/agent/latest-windows/images/sha256-6b7371a2f2cd73557152041c7bf900740090459db675ac3ee0ef7ca24485eb45?context=explore

|6 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_PATCH_VERSION=2 GIT_VERSION=2.24.0 VERSION=4.3 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net user "$env:user" /add /expire:never /passwordreq:no

It looks like the part of that command that adds the user to the Administrators group is missing. I'm not sure why that is.

Turns out, this is because making the jenkins user Administrator is a recent change, which is only available under the new tagging structure. The latest-windows image linked above is an older one, as this version tag no longer exist.
I have opened a PR downstream to update the JNLP Agent images for Windows to use the new configuration tags.

source: gharchive/issue

repo: jenkinsci/docker-slave


text:
Not able to build PR

Hi
I know about the security bug that affected Jenkins recently. If I understand correctly, latest versions of this plugins solved that.
I have latest jenkins and this plugin's version, but I can't build any PR. I get:
 > git rev-parse origin/PR-3^{commit} # timeout=10
 > git rev-parse origin1/PR-3^{commit} # timeout=10
 > git rev-parse PR-3^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

I am using also the Github Plugin, if it is relevant.
Jenkins: 2.32.1
ghprb-plugin: 1.33.4
GitHub API Plugin: 1.82

This appears to be a configuration issue with respect to github permissions.

Closing this for now. If still happens please provide current config so we can help you resolve this!
Thanks!

authors: altimea benpatterson bjoernhaeuser

repo: jenkinsci/ghprb-plugin

license: mit

license_source: bigquery


text:
Fix thread contention with WorkflowRun

Solves JENKINS-51377 mostly by ensuring the most common operations (things like getExecution) only block when they need to.
Strategies:

Leverage  the Only Safe Form of double-checked locking with volatile fields for some lazily-initialized transient fields rather than full synchronization - since we have almost exclusively read operations happening this greatly reduces thread contention.  The write operations there are protected by marking the fields volatile where simply nulling them or using synchronization for less trivial operations.

TODO:

[X] Fix failures in the durability-fuzzing tests - AFAICT they're not regressions, just pre-existing.
[x] Check if we need to synchronize on the WorkflowRun in the #doTerm() method
[x] Check if we need to synchronize on the logCopyGuard in the #save() method to prevent mutation there (since we no longer synchronize on the getter for that guard object) -- solved by restoring synchronization on the getter.
[x] Document order of locking for WorkflowRun vs logCopyGuard and verify order is enforced

As we would like to benefit from this change, it would be great to get it into a released version. Does anyone have any ETA for that? Thanks!

@jmdh I've cut this as release 2.22 for workflow-job -- would be curious to see how your system plays after the changes.

Cool, thanks! I'll see if we can get this installed together with the new LTS next week.

We haven't seen any related issues so far as we can tell!

authors: jmdh svanoort

repo: jenkinsci/workflow-job-plugin


text:
xmlrpc.PutParamset mit COMBINED_PARAMETER funktioniert nicht

Describe the issue you are experiencing
Die COMBINED_PARAMETER diverser IP-Aktoren eignen sich gut um mehrere Befehle in einem Rutsch zu übertragen.
(z.B. EINschalten mit EINschaltdauer)
Jetzt ist mir aufgefallen das  xmlrpc.PutParamset angewandt auf einen COMBINED_PARAMETER - Datenpunkt nicht funktioniert und eine Fehlermeldung wirft.
Als Testobjekt dient Kanal:3 einer HmIP-PSM:
EINschalten über Datenpunkt STATE geht:
object interface = dom.GetObject("HmIP-RF");
xmlrpc.PutParamset(interface,"0001D3C99CA0D2:3","VALUES","STATE","true");

EINschalten über Datenpunkt COMBINED_PARAMETER geht nicht:
object interface = dom.GetObject("HmIP-RF");
xmlrpc.PutParamset(interface,"0001D3C99CA0D2:3","VALUES","COMBINED_PARAMETER","S=true");

Describe the behavior you expected
Idealerweise ließe sich auch der COMBINED_PARAMETER mittels xmlrpc.PutParamset setzen.
Steps to reproduce the issue

Aktor mit COMBINED_PARAMETER rauspicken
obiges Script anpassen und testen
Fehlermeldungen im Logfile sehen
...

What is the version this bug report is based on?
3.61.7.20220318 - Nightly
Which base platform are you running?
rpi3 (RaspberryPi3)
Which HomeMatic/homematicIP radio module are you using?
RPI-RF-MOD
Anything in the logs that might be useful for us?
Mar 20 14:11:43 RM-Test-Pi3Bplus-27 local0.warn ReGaHss: WARNING: XMLRPC 'putParamset': rpcClient.isFault() failed (url: xmlrpc://127.0.0.1:32010, params: {"0001D3C99CA0D2:3","VALUES",[COMBINED_PARAMETER:nil]}, result: [faultCode:-5,faultString:"Invalid parameter or value"]) [CallXmlrpcMethod():iseXmlRpc.cpp:2608]
Mar 20 14:11:43 RM-Test-Pi3Bplus-27 local0.err ReGaHss: ERROR: XMLRPC 'putParamset' call failed (interface: 1009, params: {"0001D3C99CA0D2:3","VALUES",[COMBINED_PARAMETER:nil]}) [CallPutParamset():iseXmlRpc.cpp:1356]

Additional information
Ich habe es auch mit externen Steuerungen wie Homassistant (siehe hier) und auch NodeRed probiert.
NodeRed wirft z.B. folgende Fehlermeldungen aus:
unknown paramsetDescription  HmIP-RF/HMIP-PS/2.6.2/4/SWITCH_VIRTUAL_RECEIVER/VALUES COMBINED_PARAMETER
Error: XML-RPC fault: Invalid parameter or value
Bin mir nicht sicher ob es ein Bug ist, das ganze gar nicht implementiert ist oder ich den Wert falsch übergebe.
Das ganze hat eigentlich keine Relevanz, aber vielleicht wirfst du trotzdem mal irgendwann einen Blick drauf.

Ist PutParamset nicht dafür gedacht, Einstellungen ans Gerät zu senden?
Wäre das Einschalten nicht so?
channels.Get ("0001D3C99CA0D2:3").DPByHssDP ("COMBINED_PARAMETER").State("S=true");

Hmm, ich lese die Beschreibung von putParamset (Doku: HMIP_XmlRpc_API_Addendum) so, das damit alle Parameter in einem Parameter-Set (egal ob MASTER oder VALUES) geschrieben werden können. Also auch "normale" Parameter wie STATE oder ON_TIME.
Das klappt ja grundsätzlich auch, nur bei COMBINED_PARAMETER eben nicht.
Lokal auf der Zentrale per (ReGa-) Scriptbefehl (wie von Dir gezeigt) ist das kein Problem den COMBINED_PARAMETER korrekt zu beschreiben.
Externe Anwendungen (Beispiel NodeRED) unterstützen den COMBINED_PARAMETER auf "normalem Wege" (value node, set value node) gar nicht, aber man kann eben auf die universelle rpc node (man wählt die rpc-Methode und übergibt die Parameter) ausweichen. Aber auch mit der funktioniert COMBINED_PARAMETER per putParamset nicht.
Was aber geht ist setValue, damit kommen Homeassistant und auch die (NodeRed) rpc node klar.

Externe Anwendungen (Beispiel NodeRED) unterstützen den COMBINED_PARAMETER auf "normalem Wege" (value node, set value node) gar nicht, aber man kann eben auf die universelle rpc node (man wählt die rpc-Methode und übergibt die Parameter) ausweichen. Aber auch mit der funktioniert COMBINED_PARAMETER per putParamset nicht.

Also ohne das ich das jetzt genauer debugged habe, aber über ioBroker scheint das einfache setzen des COMBINED_PARAMETER zu funktionieren. Dort kann ich im Objektbaum einfach S=true eingeben und schwubs wird der Schalter angeschalten. Nun weiss ich aber natürlich nicht über welche Methoden (xmlrpc oder anders) das in ioBroker gemacht wird. Meine Vermutung ist aber (weil das im Kontext des hm-rpc adapters stattfindet), das es dort in der Tat via xmlrpc passiert und das zeigt das es prinzipiell gehen muss. Ggf. muss man jedoch da irgendwas "escapen" oder so ähnlich. Aber vllt. probierst du es mal selbst via ioBroker zu debuggen.

Nunja, putParamset funktioniert auch bei allen von mir getesteten änderbaren Datenpunkten / Werten...
außer eben bei COMBINED_PARAMETER bei IP-Aktoren.
Kannst du aber gerne mal testen wenn du z.B. PS/PSM/BSL (mit COMBINED_PARAMETER) usw. hast.

Gibt es denn sowas wie COMBINED_PARAMETER nur bei HmIP? Weil ich könnte mir gut vorstellen das das ein Bug bzw. Limitation der Legacy XMLRPC schnittstelle im HmIPServer ist. Wenn man also einen Fall finden könnte wo solch ein string-basierter Parameter via xmlrpc an rfd/bidcos oder hs485d geschickt werden kann, dann hätte man dafür ein Ansatzpunkt.

Da fällt mir aktuell nur der SUBMIT vom HM-Dis-EP-WM55 ein. Da wird auch String etwa so...
0x02,0x0A,0x12,0x49,0x4E,0x3A,0x20... übergeben.
Muss ich mal schauen ob das per putParamset geht.
Der COMBINED_PARAMETER wurde ja auch erst nach und nach bei diversen Geräten eingeführt und hat es bisher nicht mal in die offizielle  HmIP_Device_Documentation geschafft.

Also, der SUBMIT vom HM-Dis-EP-WM55 lässt sich via putParamset mit einem String beschreiben. Das klappt mit ioBroker und Homeasistant, mit HM-Script bekomme ich es nicht hin. Vermutlich wieder so eine Escaping-Geschichte.
Beispiel aus ioBroker:
sendTo('hm-rpc.0', 'putParamset', {ID: 'NEQ1463378:3', paramType: 'VALUES', params: {'SUBMIT': '0x02,0x0A,0x12,0x49,0x4E,0x3A,0x20,0x32,0x32,0x2C,0x30,0x5e,0x43,0x0A,0x12,0x54,0x6F,0x72,0x3A,0x20,0x7A,0x75,0x13,0x83,0x0A,0x12,0x4F,0x75,0x74,0x3A,0x20,0x36,0x2C,0x35,0x5e,0x43,0x0A,0x14,0xC0,0x1C,0xD1,0x1D,0xE0,0x16,0xF0,0x03'}}, res => {
    log(JSON.stringify(res));
});

Ich hab ja nur ein PCBS in meine HmIP Fuhrpark.
Aber wenn ich auf dem mal ein getParamset für VALUES und für MASTER mache, sehe ich beim ersten nix mit COMBINED_PARAMETER:
echo 'load tclrpc.so; puts [xmlrpc xmlrpc://127.0.0.1:32010/ getParamset [list string "000457098CEFA9:3"] [list string "VALUES"]  ]' |tclsh
PROCESS 0 SECTION 2 SECTION_STATUS 0 STATE 1

echo 'load tclrpc.so; puts [xmlrpc xmlrpc://127.0.0.1:32010/ getParamset [list string "000457098CEFA9:3"] [list string "MASTER"]  ]' |tclsh
COMBINED_PARAMETER {"S=true"} LOGIC_COMBINATION 1 POWERUP_JUMPTARGET 1 POWERUP_ONDELAY_UNIT 0 POWERUP_ONDELAY_VALUE 0 POWERUP_ONTIME_UNIT 0 POWERUP_ONTIME_VALUE 0

VALUES kann (beim PCBS) nur STATE.

Und wenn du
'{S=true,OT=22}'
übergibst?

Keine Chance, selber Fehler wie eins über dir bei MASTER und VALUES.

@Baxxy13 Kannst du mal bitte schauen ob das Problem hier inzwischen in den aktuellen nightly builds bereinigt wurde von eQ3?

Da hat sich erstmal nichts geändert.
Aber es ist eher ein User-Problem und hat irgendwie mit dem Escaping zu tun.
Black hatte mir mal ein funktionierendes Beispiel mit dem SDV generiert:
!- PutParamset Zuweisung vom SDV V4.09.04F LCL für Gerät: HmIP-DRSI4
string stdErr=""; string stdOut="";
string TCL="";
TCL= TCL # " {COMBINED_PARAMETER {string {S=true,OT=30}}}"; !- DatenTyp Integer beachten, Aufzählung: 0=OFF 1=ON_DELAY 2=ON 3=OFF_DELAY

object oCHANNEL= dom.GetObject (ID_CHANNELS).Get ("HMIP-PSM 0D2 Kanal :3 - Schaltaktor");
object oIFace= dom.GetObject (oCHANNEL.Interface () );
string sTCL= ^puts [xmlrpc ^ #oIFace.InterfaceUrl()# ^/ putParamset [list string \"^#oCHANNEL.Address()#^\"] [list string \"VALUES\"] [list struct \"^#TCL#^\"]]^;
system.Exec ("/bin/sh -c 'echo \"load tclrpc.so; " # sTCL # "\" |tclsh'",&stdOut,&stdErr);

Es ist also möglich COMBINED_PARAMETER per xmlrpc.PutParamset zu übergeben.
string sTCL sieht dann so aus:
puts [xmlrpc xmlrpc://127.0.0.1:32010/ putParamset [list string \"0001D3C99CA0D2:3\"] [list string \"VALUES\"] [list struct \" {COMBINED_PARAMETER {string {S=true,OT=30}}}\"]]
Ich hab's aber bisher nicht geschafft das selbst so zu escapen das es mit dem obigen 2-Zeiler läuft.

repo: jens-maus/RaspberryMatic


text:
Probleme in Verbindung mit FHEM

Describe the issue you are experiencing
Gefühlt seit der Aktualisierung auf die neueste Version 3.67.10.20230114 habe ich Fehlermeldungen in FHEM.
In FHEM gibt es die Log-Einträge "023.02.06 19:28:50 1: HMCCUCHN [HmIP_HT_Duschbad] HMCCUCHN: HmIP_HT_Duschbad Execution of CCU script or command failed" wenn versucht wird, einen Thermostat zu steuern.
Davor lief es immer Monate lang unauffällig.
Describe the behavior you expected
Keine Fehlermeldungen, wenn über FHEM die Thermostat gesteuert werden.
Steps to reproduce the issue

Neustart FHEM
Neustart homematic
Versuch die Daten in FHEM per get ccuconfig zu bekommen funktioniert.
Versuch einen Thermostaten zu steuern schlägt fehl.
...

What is the version this bug report is based on?
3.67.10.20230114
Which base platform are you running?
ova (Open Virtual Infrastructure)
Which HomeMatic/homematicIP radio module are you using?
HmIP-RFUSB
Anything in the logs that might be useful for us?
Kommt.

Additional information
No response

Log
homematic-raspi-2023-02-06.log


text:
pov-project structure

Thanks @alexjordan for contributing the tooling. Some notes on the pov: there is still a typo in the vulnableVersions key -- thanks for @wtwhite for pointing this out.
Also, we need to be clear about what signal means here. At the moment, the signal entry for CVE-2018-1324 is
"testSignal": "success"
But the test signaling that the vulnerability is present fails. So IMO this should be
"testSignal": "fail"
here, but success for CVE-2021-44228 (as an example), this is one from our initial "handcrafted" set.
Sorry I should have figured this out earlier while looking at the PR.

Oops, totally missed that typo, I guess that's why sed exists.
For CVE-2018-1324, I accidentally committed the fixed instead of a vulnerable version number in pom.xml (fixed in #13), the way the PoV test is written it causes a failure if the timeout does not happen.
Btw, the schema mandates "failure", same wording as JUnit, not "fail":
testSignal: "success" | "failure"

The tooling looks really nice @alexjordan 👍 Haven't met Cue before.
Wondering if you guys would be OK with renaming the testSignal field to something like testOutcomeWhenVulnerable? The latter naming makes it immediately clear what, e.g., a test success means, whereas I think the current naming leaves some doubt: Does the stated outcome signal vulnerability or safety? (The answer is in Alex's README, but we can save that one lookup :) )

I'm fine with renaming this. I don't believe you will find a completely self-explanatory name though, so I would go with @jensdietrich's proposal because it's shorter.

Great, I'll make a PR tomorrow.

authors: alexjordan jensdietrich wtwhite

repo: jensdietrich/xshady


text:
Fixed project generation

Removing .. groups led to missing file references in the project. In particular referencing a xcconfig file in a parent directory led to a crash because the file path cannot be resolved (generate_project.rb:82). Reverted this change.
The project generation failed with the newest Xcode version (8.2.1) before updating xcodeproj.

Merry Christmas 🎄

Thanks, will check it out :)

repo: jensmeder/Phoenx


text:
Is it possible to set indexes on already created collection?

Is it possible to set indexes on already created collection? Readme only specifies it for indexing the newly created collections.

Never mind.

repo: jenssegers/laravel-mongodb


text:
🛑 Wanted Gigs is down

In 020b4cc, Wanted Gigs (https://www.wanted.co.kr/gigs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wanted Gigs is back up in e0a3156.

repo: jeongsk/upptime


text:
Artoolkit site can’t be reached

Does anybody know why the website of the project "ARToolKit" is down?

@normancarcamo As you might be aware back in 2015, ARToolkit was acquired by DAQRI ... i suppose they are consolidating their assets now ..
I am not very sure what it means for ARToolik open source libraries per say. Though DAQRI did promise to continue investing ARToolkit, the current move indicates otherwise.

I understand, thanks!.

authors: jvijaybhaskar normancarcamo


text:
Fix missing format

Requires https://github.com/sgkit-dev/bio2zarr/pull/271
@tomwhite I hit what looks like a bug in the numba implementation here (so have disabled the tests). Should I try and track it down and report upstream in sgkit, or are we planning to deprecate and remove that code?

I think we are planning to deprecate and eventually remove the code, so ok to leave (but maybe open an issue?).

I think what I saw revolved around accepting S or U values for strings, which is kind of up in the air anyway: https://github.com/sgkit-dev/vcf-zarr-spec/issues/14

authors: jeromekelleher tomwhite

repo: jeromekelleher/vcztools


text:
WebPageDemo.ipynb error

In the file examples/data_connectors/WebPageDemo.ipynb, the "Using RssReader" demo throws the error: AttributeError: 'list' object has no attribute 'split'
Any thoughts on what this could be?

Can you share the trace of the error message?

@beddows is it fixed now? the rss reader has been updated

@jerryjliu @simonManydata Still getting the error - trace attached
WebPageDemo_RssReader_attributeError.txt

@bborn do you have an idea of what the issue is?

@beddows  what's the URL of the feed you're passing it. Looks like the feedparser isn't finding a content element.

@bborn I'm using the provided links in the notebook, which seem to be valid:
documents = RssReader().load_data([
"https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml",
"https://roelofjanelsinga.com/atom.xml"
])

@jerryjliu  ok looks like the content attribute isn't there for some types of feeds, so we need to check for it in the Dict first. Sent a PR

Closed with #435

authors: bborn beddows jerryjliu simonManydata


text:
[Bug]: Knowledge Graph not linking subject to object but linking subject to predicate

Bug Description
I've generated a knowledge graph from text and it seems like the LLM is extracting the object, subject correctly from the prompt however the edges that are being added are not linking the subject to the object. The visualization that is currently generated from the index graph is showing the issue. I've tried to debug the index and it seems like the structures are right - perhaps may the add_edge line that's causing the problem.
This is an example from an interview transcript text which has the line "Manisha Jain is from Thoughtworks". The nodes Manisha Jain and Thoughtworks are nodes in the graph, but the visualization is showing "manisha jain" linked to "is from"

Version
0.6.28
Steps to Reproduce

Generate a knowledge graph and visualized as per example above.
Note that the nodes are not linked together correctly
You can also look at the g.nodes() and g.edges() and see that the edges link subject to the predicates

Relevant Logs/Tracbacks
No response

I am facing same issue any solution?


text:
Apps using this library

What's in this pull request?

just wanted to add that i used this library on creating Go chat app

[Current coverage][cc-pull] is 60.92%

Merging [#1715][cc-pull] into [release_7.3][cc-base-branch] will decrease coverage by 7.34%

@@           release_7.3      #1715   diff @@
=============================================
  Files               63         62     -1
  Lines             2401       2221   -180
  Methods            666        612    -54
  Messages             0          0
  Branches           149        134    -15
=============================================
- Hits              1639       1353   -286
- Misses             762        793    +31
- Partials             0         75    +75

[][cc-pull]

Powered by Codecov. Last updated by [e4927be...689da61][cc-compare]
[cc-base-branch]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/branch/release_7.3?src=pr
[cc-compare]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/compare/e4927be6a8efd9bec72730692dae72fc450a12f8...689da61cd937d428507e1824136edaac8fdd1b51?src=pr
[cc-pull]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/pull/1715?src=pr

Thanks @Yoloabdo !
Looks like there are a lot of unrelated commits in this PR. Want to close this and resubmit?

authors: Yoloabdo codecov-io jessesquires

repo: jessesquires/JSQMessagesViewController


text:
[Delegate] implement additional context menu APIs

Docs: https://developer.apple.com/documentation/uikit/uicollectionviewdelegate#3580853
Already implemented
func collectionView(UICollectionView, contextMenuConfigurationForItemAt: IndexPath, point: CGPoint) -> UIContextMenuConfiguration?

NOT implemented
func collectionView(UICollectionView, previewForDismissingContextMenuWithConfiguration: UIContextMenuConfiguration) -> UITargetedPreview?
func collectionView(UICollectionView, previewForHighlightingContextMenuWithConfiguration: UIContextMenuConfiguration) -> UITargetedPreview?

func collectionView(UICollectionView,  willDisplayContextMenu configuration: UIContextMenuConfiguration,  animator: UIContextMenuInteractionAnimating?)
func collectionView(UICollectionView, willEndContextMenuInteraction configuration: UIContextMenuConfiguration,  animator: UIContextMenuInteractionAnimating?)

func collectionView(UICollectionView, willPerformPreviewActionForMenuWith: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating)

@jessesquires saw this from https://github.com/jessesquires/ReactiveCollectionsKit/discussions/129, are you happy for me to take this? Assuming we can forward on CollectionViewModel?

@ruddfawcett sure! 😄
Just be aware that I'll be working on some bigger changes next week: https://github.com/jessesquires/ReactiveCollectionsKit/discussions/129#discussioncomment-10826010

These three functions do not have an IndexPath parameter anytime, so we cannot find the SectionViewModel or the CellViewModel.
// iOS 13.2+
func collectionView(_ collectionView: UICollectionView, willDisplayContextMenu configuration: UIContextMenuConfiguration, animator: (any UIContextMenuInteractionAnimating)?)
// iOS 13.2+
func collectionView(_ collectionView: UICollectionView, willEndContextMenuInteraction configuration: UIContextMenuConfiguration, animator: (any UIContextMenuInteractionAnimating)?)
// iOS 13.0+
func collectionView(_ collectionView: UICollectionView, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: any UIContextMenuInteractionCommitAnimating)

This function uses the [IndexPath] parameter starting from iOS 16, and multiple sections may be used. Also we cannot find the SectionViewModel or the CellViewModel.
// new iOS 16.0+
func collectionView(_ collectionView: UICollectionView, contextMenuConfigurationForItemsAt indexPaths: [IndexPath], point: CGPoint) -> UIContextMenuConfiguration?
// old iOS 13.0-16.0
func collectionView(_ collectionView: UICollectionView, contextMenuConfigurationForItemAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration?

These two functions did not have an IndexPath parameter before iOS 16, so we cannot find the SectionViewModel or the CellViewModel.
// new iOS 16.0+
func collectionView(_ collectionView: UICollectionView, contextMenuConfiguration configuration: UIContextMenuConfiguration, highlightPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
// old iOS 13.0-16.0
func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview?

// new iOS 16.0+
func collectionView(_ collectionView: UICollectionView, contextMenuConfiguration configuration: UIContextMenuConfiguration, dismissalPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
// old iOS 13.0-16.0
func collectionView(_ collectionView: UICollectionView, previewForHighlightingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview?

authors: jessesquires nuomi1 ruddfawcett

repo: jessesquires/ReactiveCollectionsKit


text:
[Examples] Build Error

Hi,
when trying out the examples I get the following build error for the initial yarn build:
yarn build
yarn run v1.22.19
$ npx projen build
👾 build » default | ts-node --project tsconfig.dev.json .projenrc.ts
/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:40
        throw new AggregateError([error, errorLocal], `jsii assembly ${asm} not found`);
              ^
AggregateError: jsii assembly cdk-nextjs-standalone not found
    at loadAssembly (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:40:15)
    at loadInterface (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:49:15)
    at findInterface (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:68:16)
    at Function.fromFqn (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/builder/struct.ts:131:33)
    at Object.<anonymous> (/Users/user/Desktop/somefolder/cdk-nextjs/.projenrc.ts:168:17)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module.m._compile (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/ts-node/src/index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1091:32) {
  [errors]: [
    Error: Cannot find module 'cdk-nextjs-standalone/.jsii'
    Require stack:
    - /Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/lib/private/assembly.js
    - /Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/lib/private/index.js
    - /Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/lib/builder/struct.js
    - /Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/lib/builder/index.js
    - /Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/lib/index.js
    - /Users/user/Desktop/somefolder/cdk-nextjs/.projenrc.ts
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
        at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
        at Function.resolve (node:internal/modules/helpers:136:19)
        at assemblyPath (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:16:26)
        at loadAssemblyByName (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:20:41)
        at loadAssembly (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:35:25)
        at loadInterface (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:49:15)
        at findInterface (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:68:16)
        at Function.fromFqn (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/builder/struct.ts:131:33)
        at Object.<anonymous> (/Users/user/Desktop/somefolder/cdk-nextjs/.projenrc.ts:168:17) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [Array]
    },
    Error: Expected to find .jsii file in /Users/user/Desktop/somefolder/cdk-nextjs, but no such file found
        at findAssemblyFile (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@jsii/spec/lib/assembly-utils.js:27:15)
        at loadAssemblyFromPath (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@jsii/spec/lib/assembly-utils.js:111:26)
        at loadAssemblyFromDirectory (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:24:40)
        at loadAssembly (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:38:27)
        at loadInterface (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:49:15)
        at findInterface (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/private/assembly.ts:68:16)
        at Function.fromFqn (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/@mrgrain/jsii-struct-builder/src/builder/struct.ts:131:33)
        at Object.<anonymous> (/Users/user/Desktop/somefolder/cdk-nextjs/.projenrc.ts:168:17)
        at Module._compile (node:internal/modules/cjs/loader:1241:14)
        at Module.m._compile (/Users/user/Desktop/somefolder/cdk-nextjs/node_modules/ts-node/src/index.ts:1618:23)
  ]
}

Any ideas?
node --version
v20.9.0

Thanks for raising! Try yarn compile && yarn build. Does that work?

That did the trick. Thanks a lot!

authors: bestickley hffmnn

repo: jetbridge/cdk-nextjs


text:
Add docs for set-context

What this PR does / why we need it:
Atm no docs exist for set-context.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

NONE

/assign @JoshVanL
/unassign

@MattiasGees
Is it not set-current instead of set-context?
/unassign
/assign @MattiasGees

/unassign
/assign @MattiasGees

/unassign
/assign @JoshVanL

/lgm
/unassign

/lgtm

/unassign

authors: JoshVanL MattiasGees

repo: jetstack/tarmak


text:
use utf-8 by default

Ported ensure_bytes function with utf-8 encoding by default, important for python2

cc @bdrosen96


text:
Scan Pull Request by Trigger on Jenkins

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] This pull request is on the dev branch.
[ ] I used gofmt for formatting the code before submitting the pull request.

Refactor Scan Pull Request command to allow the use of Jenkins with Generic Triggers.
Effect of course the multi Scan Pull Requests command.
Refactor includes:

The cloning of the repository is moved to the start of Frogbot run, ( to avoid cases where we started scan, but couldn't operate because of bad credentials etc..). Now we can handle both situations where we are already cloned, Or where we are not, for example multi repo on Jenkins.
Adjust tests to work with the local git operations ( checkout to PR branches etc..)
Scan Pull Requests command now just call scan-pull-request command with the needed info.
Scan pull request command optional can accept PR ID and operate based on that information.

Sample scan pr logs:

16:06:23 [🔵Info] Frogbot version: 0.0.0
16:06:24 [🔵Info] Running Frogbot "scan-pull-request" command
16:06:25 [🔵Info] Scanning Pull Request ID: 288
16:06:25 [🔵Info] Auditing branch BA-10285-Frogbot-0 ...
16:06:27 [🔵Info] JFrog Xray version is: 3.77.4
16:06:27 [🔵Info] Auditing project: /Users/eyalde/onboarding/tests/npmexample/mytest/npmexample ...
16:06:27 [🔵Info] Detected: npm.
16:06:28 [🔵Info] Scanning 58 npm dependencies ...
16:06:28 [🔵Info] Waiting for scan to complete on JFrog Xray...
16:06:35 [🔵Info] Auditing branch main ...
16:06:37 [🔵Info] JFrog Xray version is: 3.77.4
16:06:37 [🔵Info] Auditing project: /Users/eyalde/onboarding/tests/npmexample/mytest/npmexample ...
16:06:37 [🔵Info] Detected: npm.
16:06:37 [🔵Info] Scanning 32 npm dependencies ...
16:06:38 [🔵Info] Waiting for scan to complete on JFrog Xray...
16:06:40 [🔵Info] Xray scan completed
16:06:41 [🔵Info] Successfully scanned pull request ID: 288
16:06:41 [🔵Info] Frogbot "scan-pull-request" command finished successfully

** Suggestion: Maybe move the scan logs to debug?
Link to docs update PR:
link

Closed due split PR into smaller chuncks

repo: jfrog/frogbot


text:
Documentation regarding where to download the extractor is incorrect

Describe the bug
In this section https://github.com/jfrog/jfrog-azure-devops-extension?tab=readme-ov-file#manual-installation of the README it says that to manually download the extractor jar dependency it should be downloaded at this location:
$(Agent.ToolsDirectory)/_jf/.jfrog/dependencies/maven/2.x.x
or
$(Agent.ToolsDirectory)/_jf/.jfrog/dependencies/gradle/4.x.x
But when running the jf mvn or gradle task you will see that it tries to download the extractor dependency again. This is because the jf cli is checking a different location for the dependency.
This documentation should be fixed so that it is looking at ~/.jfrog or ${HOME}/.jfrog instead of $(Agent.ToolsDirectory)/_jf/.jfrog when indicating where to download the dependency.
Current behavior
Manually downloading the jar to the specified location in the README will still cause the JF CLI to download the jar again since it is looking at the ~/.jfrog/dependencies/maven/2.41.12/ location to see if the jar is there.
Reproduction steps
Manually download the jars to the location specified here:
When triggering the [JFrog Maven](https://github.com/jfrog/jfrog-azure-devops-extension?tab=readme-ov-file#jfrog-maven-task) task, JFrog CLI automatically downloads the Maven Extractor jar to the build agent the first time it's required. However, if your build agent does not have access to the internet, the build will fail when attempting to download the file. You'll therefore need to download and install it manually.

To install the Maven Extractor jar on an agent with no internet access:

Create the directory structure on your agent's file-system: $(Agent.ToolsDirectory)/_jf/.jfrog/dependencies/maven/2.x.x
Download the latest [build-info-extractor-maven3-2.x.x-uber.jar](https://search.maven.org/artifact/org.jfrog.buildinfo/build-info-extractor) and place it inside the "maven" directory you created.
Installing the Gradle Extractor
When triggering the [JFrog Gradle](https://github.com/jfrog/jfrog-azure-devops-extension?tab=readme-ov-file#jfrog-gradle-task) task, JFrog CLI automatically downloads the Gradle Extractor jar to the build agent the first time it's required. However, if your build agent does not have access to the internet, the build will fail when attempting to download the file. You'll therefore need to download and install it manually.

To install the Gradle Extractor jar on an agent with no internet access:

Create the directory structure on your agent's file-system: $(Agent.ToolsDirectory)/_jf/.jfrog/dependencies/gradle/4.x.x
Download the latest [build-info-extractor-gradle-4.x.x-uber.jar](https://plugins.gradle.org/plugin/com.jfrog.artifactory) and place it inside the "gradle" directory you created.

Observe that on a follow-up task the jf mvn call will not detect the dependency and try to download it again.
Expected behavior
Once you manually download the jar the jf cli should not try to download it again. The correct location to download the jar should be something like ~/.jfrog/dependencies/maven/2.x.x or ${HOME}/.jfrog/dependencies/maven/2.x.x as the jf cli is looking at it's home directory(JFROG_CLI_HOME_DIR) for the dependency, not the $(Agent.ToolsDirectory)/_jf.
Azure DevOps extension name and version
jfrog-azure-devops-extension/2.9.2
JFrog CLI version
2.52.10
Operating system type and version
n/a
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
JFrog Distribution version (if relevant)
No response

resolved with #478

Fixed by https://github.com/jfrog/jfrog-azure-devops-extension/pull/478

repo: jfrog/jfrog-azure-devops-extension


text:
ERROR invalid Action type. Must be func(*Context)orfunc(*Context) error).

Describe the bug
After following the installation guide:
wget -qO - https://releases.jfrog.io/artifactory/jfrog-gpg-public/jfrog_public_gpg.key | sudo apt-key add -
echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | sudo tee -a /etc/apt/sources.list &&    sudo apt update &&
sudo apt install -y jfrog-cli-v2-jf &&
jf intro

The jf intro intro command exit with error
ERROR invalid Action type. Must be `func(*Context`)` or `func(*Context) error).

Current behavior
Command exit with error:
ERROR invalid Action type. Must be `func(*Context`)` or `func(*Context) error).

Reproduction steps
docker run -it python:3.8 bash

wget -qO - https://releases.jfrog.io/artifactory/jfrog-gpg-public/jfrog_public_gpg.key | apt-key add -

echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | tee -a /etc/apt/sources.list && apt update &&
apt install -y jfrog-cli-v2-jf

jf intro

Expected behavior
No response
JFrog CLI version
2.41.0
Operating system type and version
Ubuntu 22.04/Debian 12
JFrog Artifactory version
No response
JFrog Xray version
No response

Same issue here.

Hi @kinderlars and @jkosek
Thanks for reporting this issue.
Our apologies for the inconvenience caused by this.
This PR should fix it.
I will update this thread once the next release will be out.

Version 2.41.1 fixes this issue.

repo: jfrog/jfrog-cli


text:
Issue with publishing artifact jfrog CLI

CLI version 1.32.4
When running:
jfrog rt mvnc
resulting config is for example:
type: maven
deployer:
snapshotRepo: libs-snapshot
releaseRepo: libs-release
Then mvn command jfrog rt mvn "clean install -Dartifactory.publish.buildInfo=true" fails:
[main] ERROR org.jfrog.build.extractor.maven.BuildInfoRecorder - org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed:
java.lang.IllegalArgumentException: Unable to resolve Artifactory Build Info Client properties: no context URL was found.
at org.jfrog.build.extractor.maven.BuildInfoClientBuilder.resolveClientProps (BuildInfoClientBuilder.java:36)
at org.jfrog.build.extractor.maven.BuildInfoClientBuilder.resolveProperties (BuildInfoClientBuilder.java:26)
at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deployArtifacts (BuildDeploymentHelper.java:298)

@Arun1111 ,  could you share your maven.yaml & full error message?

@Or-Gabay thanks for your response.
Please find my maven.yml file and full error message attached below.
maven configuration.yml file
version: 1
type: maven
resolver:
snapshotRepo: alpha-snapshots
releaseRepo: alpha-release
deployer:
snapshotRepo: alpha-snapshots
releaseRepo: alpha-release
Error Logs:
11:18:34  [main] ERROR org.jfrog.build.extractor.maven.BuildInfoRecorder - org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed:
11:18:34  java.lang.IllegalArgumentException: Unable to resolve Artifactory Build Info Client properties: no context URL was found.
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoClientBuilder.resolveClientProps(BuildInfoClientBuilder.java:36)
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoClientBuilder.resolveProperties(BuildInfoClientBuilder.java:26)
11:18:34  	at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deployArtifacts(BuildDeploymentHelper.java:298)
11:18:34  	at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:104)
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:173)
11:18:34  	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64)
11:18:34  	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
11:18:34  	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:137)
11:18:34  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
11:18:34  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
11:18:34  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
11:18:34  	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
11:18:34  	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
11:18:34  	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
11:18:34  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:18:34  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:18:34  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:18:34  	at java.lang.reflect.Method.invoke(Method.java:498)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli - Internal error: java.lang.RuntimeException: org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed: Unable to resolve Artifactory Build Info Client properties: no context URL was found. -> [Help 1]
11:18:34  org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed:
11:18:34  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
11:18:34  	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
11:18:34  	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
11:18:34  	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
11:18:34  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:18:34  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:18:34  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:18:34  	at java.lang.reflect.Method.invoke(Method.java:498)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
11:18:34  	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
11:18:34  Caused by: java.lang.RuntimeException: org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed:
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:182)
11:18:34  	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64)
11:18:34  	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
11:18:34  	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:137)
11:18:34  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
11:18:34  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
11:18:34  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
11:18:34  	... 11 more
11:18:34  Caused by: java.lang.IllegalArgumentException: Unable to resolve Artifactory Build Info Client properties: no context URL was found.
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoClientBuilder.resolveClientProps(BuildInfoClientBuilder.java:36)
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoClientBuilder.resolveProperties(BuildInfoClientBuilder.java:26)
11:18:34  	at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deployArtifacts(BuildDeploymentHelper.java:298)
11:18:34  	at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:104)
11:18:34  	at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:173)
11:18:34  	... 17 more
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli -
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the errors, re-run Maven with the -e switch.
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli - Re-run Maven using the -X switch to enable full debug logging.
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli -
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles:
11:18:34  [main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
11:18:34  exit status 1

Thanks you, please try to delete maven.yaml and recreate it using jfrog-cli  1.32.4

@Or-Gabay
still the same , I am getting the same error.
I am using the jenkins to trigger the mvn job and jfrog cli to upload the artifacts
here is the command I am using
curl -fL https://getcli.jfrog.io | sh
        cat > configuration.yml <<EOL

version: 1
type: maven
resolver:
snapshotRepo: alpha-snapshots
releaseRepo: alpha-release
deployer:
snapshotRepo: alpha-snapshots
releaseRepo: alpha-release
EOL
export M2_HOME=/opt/maven
./jfrog rt c --url=${baseUrl} --apikey=${this.dsl.env.ApiToken}
./jfrog rt mvn "clean install -Dartifactory.publish.artifacts=flase" configuration.yml --build-name=${buildName} --build-number=${buildVer}
./jfrog rt u "*/jar" healthcloud-snapshot
./jfrog rt bce ${buildName} ${buildVer}
./jfrog rt bp ${buildName} ${buildVer}
The problem is if I use the flag "Dartifactory.publish.artifacts=flase" my job get succesfully executed but in Jfrog under published module the repo path does not show Jar (No path found (externally resolved or deleted/overwritten)).
So to avoid it I am using flag 	Dartifactory.publish.artifacts=true but it gives me the error I pasted in my last comment.
Thanks for your help..

@Or-Gabay
still the same , I am getting the same error.
I am using the jenkins to trigger the mvn job and jfrog cli to upload the artifacts
here is the command I am using
curl -fL https://getcli.jfrog.io | sh
        cat > configuration.yml <<EOL

version: 1
type: maven
resolver:
snapshotRepo: alpha-snapshots
releaseRepo: alpha-release
deployer:
snapshotRepo: alpha-snapshots
releaseRepo: alpha-release
EOL
               export M2_HOME=/opt/maven
               ./jfrog rt c --url=${baseUrl} --apikey=${this.dsl.env.ApiToken}
               ./jfrog rt mvn "clean install -Dartifactory.publish.artifacts=flase" configuration.yml --build-name=${buildName} --build-number=${buildVer}
               ./jfrog rt bce ${buildName} ${buildVer}
               ./jfrog rt bp ${buildName} ${buildVer}

The problem is if I use the flag "Dartifactory.publish.artifacts=flase" my job get succesfully executed but in Jfrog under published module the repo path does not show Jar (No path found (externally resolved or deleted/overwritten)).
So to avoid it I am using flag 	Dartifactory.publish.artifacts=true but it gives me the error I pasted in my last comment.

First of all, there is Jenkins Artifactory Plug-in, which does all of this  much simpler (Example).
On the other hand, your script is missing the artifactory server configuration in configuration.yml.
In order to fix this you need to:

Add a serverId to resolver/deployer (i.e. serverId: *SERVER_ID*)
Add the same serverId to the command jfrog rt c like this:
./jfrog rt c *SERVER_ID* --url=${baseUrl} --apikey=${this.dsl.env.ApiToken}.

Could you please give it a try and let me know?

@Or-Gabay
I tried as per your suggestion and its giving "Server ID test API key authentication is not supported" .

Please send me the full error message.

It is recommended to use API key with username only.
Actually, when using the interactive mode of the jfrog rt c command (without any flags),
the command no longer accepts an API key without a username.
Since in the past, API key without a username used to be supported, the command can still be provided with an API key without a user, but only if the API key is sent as a flag. The reason why this is still supported is backward compatibility.
Despite the above. the maven integration of JFrog CLI never supported an API key without a username.
Here’s my recommendation for resolving the issue:

Configure your Artifactory server details with either username/API key or username/password or access token using the jfrog rt c command. Notice that this command is interactive if it is not provided with all the details as flags.
Run the following command from the root dir of your project: jfrog rt mvnc
Notice that the above command creates a .jfrog dir. I recommend pushing this dir to the source control, so that it is available for your build automation.
3, Run mvn as follows (notice that the command does not includes quotes): jfrog rt mvn clean install --build-name=${buildName} --build-number=${buildVer}
Publish the build-info: jfrog rt bp ${buildName} ${buildVer}

One last thing, as a result of your last comment, I committed a better error message.
Thanks so much for reporting this!

@Or-Gabay
Thanks a lot it worked for me using the username/API key.

Happy to hear it worked for you!!


text:
Unable to update Mail Server configuration without providing a username.

Describe the bug
I am running the Artifactory Mail Server Resource. I configured the Mail Server (with a username and password) and we see the successful set up in the UI. I then update the script so that the mail server resource doesn't include a username and password (as stated in the doc it's optional), we can see in the UI that the username got removed, however we get the below error:
terraform apply
artifactory_mail_server.mymailserver: Refreshing state...

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # artifactory_mail_server.mymailserver will be updated in-place
  ~ resource "artifactory_mail_server" "mymailserver" {
      - password        = "test-password" -> null
      - username        = "test-user" -> null
        # (8 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

artifactory_mail_server.mymailserver: Modifying...
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to artifactory_mail_server.mymailserver, provider "provider[\"registry.terraform.io/jfrog/artifactory\"]" produced an unexpected new value: .username: was null, but now cty.StringVal("").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

If we initially create the mail server without a username and password it doesn't result in an error. (edited)

Requirements for and issue
Terraform script:
terraform {
  required_providers {
    artifactory = {
      source  = "jfrog/artifactory"
      version = "12.3.1"
    }
  }
}

#Configure Artifactory
provider "artifactory" {
  url = "http://ARTIFACTORY_URL/artifactory"
  access_token = "TOKEN"
}

resource "artifactory_mail_server" "mymailserver" {
    enabled         = true
    artifactory_url = "http://ARTIFACTORY_URL/artifactory"
    from            = "test@jfrog.com"
    host            = "IP"
 #   username        = "test-user"
 #   password        = "test-password"
    port            = 25
    subject_prefix  = "[Test]"
    use_ssl         = true
    use_tls         = true
}

Artifactory version: 7.90.5
Terraform provider version: 12.3

Expected behavior
We should be able to update the Mail Server configuration to not include a username and password.

@NoffarLevi Thanks for the report! I've added this to our plan to investigate.

authors: NoffarLevi alexhung

repo: jfrog/terraform-provider-artifactory


text:
[Feature Request] Option to pick multiple files (images and videos) from gallery

I am trying to use this plugin to get files that can be on the iCloud drive and/or the phone's gallery.
I was wondering if we could have that feature please?
Thanks!

Is your request multiple selection? Then that ticket is a duplicate of #25.

My request is a being able to select files from the gallery as well. (as well as selecting more than one).
In some cases, user might want to select a PDF file from iCloud Drive and/or image(s) from the Gallery in the same go.

Closing this since this project will retire, please check out Xamarin.Essentials which now has a FilePicker based on this one.

authors: amirvenus jfversluis vividos


text:
Paragraph tags are lost

I think when I stripped wp tags, it's now too aggressively removing tags.
Example of missing <p> tags

Will be fixed in next release.


text:
OAuthError: [200] (#200) App cannot edit non-app posts

Hello,
I'm trying to make a (hopefully) useful script, which bascially sets all the privacy of posts beyond a certain date to 'only me'. I'm using the token from graphAPI for permissions.
I'm able to get posts,but when I try to update the privacy setting of the post, i get:
OAuthError: [200] (#200) App cannot edit non-app posts
Nearly every permission is enabled in the graphAPI page (https://developers.facebook.com/tools/explorer/) Is there a way to achieve my objective with this token? or is the only way to create an actual app, request the permission from facebook then do it? =/ That seems overly obstructive for a simple use case..

That's pretty useful! I haven't tried doing anything like that before, but judging from the error message Facebook just won't let you edit posts that aren't made by the application you got the token from. Making your own application won't help, then, because those posts aren't made by any application.

authors: Waffleboy jgorset

repo: jgorset/facepy


text:
single file change for to sql and from sql plugin

Notes:

I know this will be rejected since this is close contribution
I've updated this from the prs so all you have to do is update the plugin src/main/webapp/plugins/sql.js file to install it locally.
I'm aware that using a native tool for your db may be better for uml diagrams.
There are many workflows that this works, you can do code share from vscode for collaboration after importing your drawio file from a sql table schema export
setup see wiki from branch https://github.com/lastlink/drawio/wiki/Getting-Started
It's easiest to setup in the drawio desktop, to use the plugin https://github.com/jgraph/drawio-desktop

git clone --recursive https://github.com/jgraph/drawio-desktop.git 1 gb clone btw
npm install
update drawio/src/main/webapp/plugins/sql.js with changes from branch
npm start run application
add plugin in Extras > Plugins > Add select sql
close application and reopen. Plugin is installed

you can find the menu buttons in File > Export As > To SQL or Arrange > Insert > From SQL

References

#3083, #3092, #3091

We'll look into whether an exception can be made here as it's a significant amount of work to be rejected.

I ran through this process but the To SQL option was not showing up on the menu

@steel198513 try looking in File > Export As

@karthiart did you pull/copy the updates for the file from this pr? Otherwise you won't have my changes.

@lastlink Thanks for your response. If you don't mind, can you let me know how to implement it from this pr? Because i dont know how to do these below steps.
It's easiest to setup in the drawio desktop, to use the plugin https://github.com/jgraph/drawio-desktop

git clone --recursive https://github.com/jgraph/drawio-desktop.git 1 gb clone btw

npm install

update drawio/src/main/webapp/plugins/sql.js with changes from branch

npm start run application

When i did npm start. I am getting this attached error message. Any help?

Thanks for making this available.  I was just coming to post some changes that allowed [Spaces in Column Names] to get parsed correctly but yours is so much more robust.
I wanted to share for others coming to this that want just the functionality, but aren't too comfortable with code.  You can get a local copy of the plugin if you modify your draw.io desktop shortcut to include a --enable-plugins, e.g. edit your start menu shortcut to be "C:\Program Files\draw.io\draw.io.exe" --enable-plugins.  Then when you do the 'add' under the "Extras -> Plugins" menu there will be an option to add a file from disk instead, and you just need to save a 'raw' copy of the 'sql.js' file included here and restart your program to get access to all this functionality.

We'll look into whether an exception can be made here as it's a significant amount of work to be rejected.

That would be awesome! Importing schema with FK relationship connectors is a really useful feature in Lucid and I'd love to see it here. Great work, @lastlink !

Thanks for making this available. I was just coming to post some changes that allowed [Spaces in Column Names] to get parsed correctly but yours is so much more robust.
I wanted to share for others coming to this that want just the functionality, but aren't too comfortable with code. You can get a local copy of the plugin if you modify your draw.io desktop shortcut to include a --enable-plugins, e.g. edit your start menu shortcut to be "C:\Program Files\draw.io\draw.io.exe" --enable-plugins. Then when you do the 'add' under the "Extras -> Plugins" menu there will be an option to add a file from disk instead, and you just need to save a 'raw' copy of the 'sql.js' file included here and restart your program to get access to all this functionality.

This worked great, thanks @ChrisNolan

Steps for running external plugin on mac https://github.com/ariel-bentu/tam-drawio/blob/main/mac-pass-arg.md

You can run in vscode drawio extension as well.
settings.json
  "hediet.vscode-drawio.plugins": [
    {
      "file": "<path>\\plugins\\sql.js"
    }
  ],

I'm no longer maintaining this pr, but I've made a separate repo for the plugin. I've added support for vscode drawio plugin compatibility.
See:

https://github.com/funktechno/sqltooling-drawio/tree/main and
sql.js

authors: ChrisNolan andrewchch davidjgraph karthiart lastlink steel198513

repo: jgraph/drawio


text:
Use logging instead of print statements

I find it strange to have print statements all around the code.
What do you think about using loggger() features instead ?

Yep, we should :-).
(This was simply for expediency to begin with)

Solved via https://github.com/jhesketh/smoke_rook/pull/30

authors: brunoleon jhesketh toabctl


text:
Backend error handling

With the current version of main, there are huge errors on the back when typing /tmp/test as Path on the screen
It's not very reassuring :D
Errors should be handled better.
Raised an error of package.json and application.properties not found when we haven't initialized a single module should not have arrived
Edit: Seems to be related to the API call api/project/details?folder=%2Ftmp

yes we can catch it and display a better log

I've used this system before in an application and it's cool.
It could even be a new module :D

This specific error is fixed in https://github.com/jhipster/jhipster-lite/issues/2075, I create an issue for an internationalized errors mechanism

authors: DamnClin antarus pascalgrimaud

repo: jhipster/jhipster-lite


text:
Cannot generate a projet - Modules not applied

Hello,
Since two or three days, I cannot generate a project.
This happens even with two or three modules (at the stage of java).
I've got a visual error  : 'Modules not applied'
When checking network call, I see a server error :

{

    "timestamp": "2024-05-21T14:19:00.207+00:00",

    "status": 500,

    "error": "Internal Server Error",

    "path": "/api/apply-patches"

}

Have you noticed any of this kind of error ?

Hello @thejavator,
Could you please share the .jhipster/modules/history.json file? It should be located in the project folder.
Thank you :)

web interface lite.jhipster.tech

Could you share a screenshot of the selected modules in landscape mode?
Please try to reproduce the problem by selecting as few modules as possible.
Thanks ✌

This a screenshot using my phone but I've got  the same using desktop.
I've selected maven-java.

I confirm the issue.
The cloud version is managed by @jdubois
Can you have a look plz?

Yes I’ll have a look today!

Weird, here's the log for reference:
2024-05-22T06:10:13.486150801Z 2024-05-22T06:10:13.485Z ERROR 1 --- [jhlite] [-handler-125390] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalArgumentException: Enumerated values of type org.eclipse.jgit.lib.CoreConfig$TrustLooseRefStat not available] with root cause
2024-05-22T06:10:13.486180781Z
2024-05-22T06:10:13.486187101Z java.lang.NoSuchMethodException: org.eclipse.jgit.lib.CoreConfig$TrustLooseRefStat.values()
2024-05-22T06:10:13.486191697Z  at java.base@21.0.2/java.lang.Class.checkMethod(DynamicHub.java:1075)
2024-05-22T06:10:13.486195607Z  at java.base@21.0.2/java.lang.Class.getMethod(DynamicHub.java:1060)
2024-05-22T06:10:13.486200168Z  at org.eclipse.jgit.lib.Config.allValuesOf(Config.java:425)
2024-05-22T06:10:13.486204758Z  at org.eclipse.jgit.lib.Config.getEnum(Config.java:417)
2024-05-22T06:10:13.486208473Z  at org.eclipse.jgit.internal.storage.file.RefDirectory.<init>(RefDirectory.java:222)
2024-05-22T06:10:13.486226122Z  at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:189)
2024-05-22T06:10:13.486229459Z  at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:627)
2024-05-22T06:10:13.486232850Z  at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:101)
2024-05-22T06:10:13.486236878Z  at tech.jhipster.lite.module.infrastructure.secondary.git.JGitGitRepository.init(JGitGitRepository.java:33)
2024-05-22T06:10:13.486240073Z  at java.base@21.0.2/java.lang.reflect.Method.invoke(Method.java:580)

This is currently running version v1.6.0, I'm upgrading to the latest (v1.8.0) release.

Upgrading to v1.8.0 didn't solve the issue.

Do you use the default Docker image or a native one?

@pascalgrimaud I'm using the native image:
jhipster/jhipster-lite-native:v1.8.0
Can you try on your Linux machine? As I have a Mac, I can't execute it locally.

I'm guessing it's a GraalVM issue with JGit

I'm guessing it's a GraalVM issue with JGit

I'm sure it is :-D

Using locally the command docker run -p 7471:7471 --rm jhipster/jhipster-lite-native:v1.8.0, I confirm the issue:

I think we need to improve this class https://github.com/jhipster/jhipster-lite/blob/main/src/main/java/tech/jhipster/lite/module/infrastructure/primary/NativeHints.java

I will have a look

Seems pretty straight forward, the quarkus config has done it already (https://github.com/quarkiverse/quarkus-jgit/blob/main/deployment/src/main/java/io/quarkus/jgit/deployment/JGitProcessor.java). Will do some local testing with native docker image and native binary and do the PR afterwards.

@murdos : do you want me to do a release ?

@pascalgrimaud : yes, it would be great, since it's currently blocking usage of https://lite.jhipster.tech
@jdubois : do you think you could allow @pascalgrimaud and me to update https://lite.jhipster.tech, in order to always use the last version?

Unfortunately not, as I have a specific employee account, I can't share it with you (there's a security risk, and you could see some non-released stuff...).
We'd need to migrate to GCP for this, what do you think about it?

@jdubois : yeah, I think it would be nice if multiple people could be in charge of updating and maintaining lite.jhipster.tech.
If that implies moving to GCP it's fine for me.
@pascalgrimaud : WDYT?

It is a good idea to migrate to GCP, but I don't know who can help. Maybe @PierreBesson or @SudharakaP ?

authors: atomfrede jdubois murdos pascalgrimaud renanfranca thejavator


text:
Current element can't select a child element if they have the same tags.

String html = "" +
                "" +
                "" +
                "    " +
                "
Scrapers
" +
                "    " +
                "" +
                "";

        Document document = Jsoup.parse(html);
        Element parentSpan = document.selectFirst("span");
        Element childSpan = firstSpan.selectFirst("span");

The values of parentSpan and childSpan are equal, I figured parentSpan should return its child.

repo: jhy/jsoup


text:
Fix regression on Elements.forms()

the Elements.forms() method used to return FormElement-s that are directly in the Elements collection. This behaviour was broken since a657ae0240b875a703a1e4909d56ad59997d362d. See https://github.com/jhy/jsoup/issues/1384
I wrote the fix accordingly to what's written in the javadocs of the methods involved:

comments, textNodes and dataNodes says they return direct child nodes. I specialized the private nodesOfType method to handle child node lookup only (and renamed it childNodesOfType)
forms() doc says it returns the forms elements present in the selected elements, not child nodes. I removed the use of nodesOfType and put back the previous code.

Thanks! Merged.

authors: apflieger jhy


text:
Implement sending API requests to the Jina gateway

Feature Request
As a user, I want to be able to index data through the running Flow.  Frontend should be able to send json bodies via POST requests/websocket streams.

This ticket requires figuring out how we create jsons from files/text.
Acceptance Criteria

This ticket is done when: pressing the play button uploads all the files to the workspace

This ticket is done when: the Index Flow is started and terminated once all the files are indexed

This ticket is done when: the Query Flow is started and the example page is opened

https://api.jina.ai/rest

This is for all the apis related to indexing/querying.

https://api.jina.ai/daemon/

This is for all the apis related to flow creation/termination

Link to subfeature: https://jinaai.productboard.com/feature-board/planning/features/7271365

Tasks to do:

update data structure to include workspaces
implement file uploading to workspaces
implement tabs for flowView
add endpoint uri to flow state
double clicking the gateway opens indexing file upload modal

As discussed the data ingest itself will now look like this:

a special crafter will be used for each example with a URL to an s3 bucket
user will upload the files to the s3 bucket
the crafter will pull files for indexing directly from the s3 bucket

@deepankarm update the crafter python file in order to use the correct csv file

authors: BastinJafari aga11313 lusloher

repo: jina-ai/dashboard


text:
Allow fuzzy tag search

Some users requested the capability to do fuzzy string matching at a tag level.

Please @davidbp, can u please develop the idea, what is the intented behavior

Some users wanted to search in ‘uncleaned data’ with tags. Imagine the context where your users add information and this information is not selectable from a list of possible values. Then groups defined by tags become fuzzy/not clean. This makes filtering a problem, since categories might have to be either cleaned a-priory or search has to take this into account.

Closing because this was deemed not rellevant.

authors: JoanFM davidbp

repo: jina-ai/docarray


text:
ios error 'Alipay.h' file not found

ios error 'Alipay.h' file not found

在plugin里面是有Alipay.h的文件，但是在build ios时候会报错说没有，手动复制过去之后打包出现

/Users/xxxx/Downloads/xxxx/platforms/ios/xxxx/Plugins/cordova-plugin-gubnoi-alipay/Alipay.m:19:65: error: no known class method for selector 'resultWithStatus:message:'
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR message:orderString]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

希望能帮忙看一下  谢谢

#3 解决方案

repo: jing-zhou/cordova-plugin-alipay


text:
Add Lobster Implementation

http://aardappel.github.io/lobster/README_FIRST.html

So, what are the results?

@aardappel  Just opened an issue(https://github.com/aardappel/lobster/issues/275) because the c++ version isn't outputting the results file. But JIT results are:
Lobster (JIT):

        Benchmark 1: lobster related.lobster
        Processing time (w/o IO): 1.374362s
        Processing time (w/o IO): 1.357002s
        Processing time (w/o IO): 1.368519s
        Processing time (w/o IO): 1.357769s
        Processing time (w/o IO): 1.360122s
        Processing time (w/o IO): 1.365586s
        Processing time (w/o IO): 1.368886s
        Processing time (w/o IO): 1.362331s
        Processing time (w/o IO): 1.368122s
        Processing time (w/o IO): 1.369936s
        Processing time (w/o IO): 1.370132s
        Processing time (w/o IO): 1.368973s
        Processing time (w/o IO): 1.358904s
          Time (mean ± σ):      1.451 s ±  0.006 s    [User: 1.430 s, System: 0.021 s]
          Range (min … max):    1.443 s …  1.457 s    10 runs

Lobster (JIT):

        Benchmark 1: lobster related.lobster
        Processing time (w/o IO): 21.338143s
        Processing time (w/o IO): 21.351429s
          Time (abs ≡):        21.678 s               [User: 21.614 s, System: 0.059 s]

Lobster (JIT):

        Benchmark 1: lobster related.lobster
        Processing time (w/o IO): 189.900035s
        Processing time (w/o IO): 189.729168s
          Time (abs ≡):        190.737 s               [User: 190.542 s, System: 0.171 s]

Hmm, those are terrible results even for the JIT mode, close to Python.. pretty sure Lobster is on average at least an order of magnitude faster than Python. Either there is some problem in the Lobster code that we're overlooking where effectively it is doing more work, some algorithmic difference.
Example of a previous benchmark someone made: https://twitter.com/wvo/status/1275870985611177984

Only glaring issue I see is the unoptimized dictionary.
This line could also be an issue if it's not optimized to a memset. It was slightly faster than allocating a new list every iteration:
for(posts_count) j:
            tagged_post_count[j] = 0

@aardappel The C++ results are in. ~7x faster than JIT but still in the bottom half of the table.
https://github.com/jinyus/related_post_gen/blob/5b4aa2a529532d76cae59af2cd53884c636b75bd/readme.md?plain=1#L90

I will check why this is all so slow sometime later :)

Ok, had a quick look at why it is so slow, and the first surprising thing is that for the JIT (at 5K posts) I got 1.31s (very close to your 1.35s, I have a 5950X), but for the C++ mode I got 104ms (a LOT faster than your 189ms), which I think can't be just due to CPUs. This was with the latest visual studio in release mode. That gets it a lot close to the faster languages.
Beyond that, there's nothing too special happening. It spends 50% of its time in the for (assert(tag_map.get(tag))) index: tagged_post_count[index] += 1 loop (the dictionary doesn't affect it), 35% in for(posts_count) j: tagged_post_count[j] = 0 (which most definitely doesn't become a memset), and 15% or so in for(tagged_post_count) count, idx: guard count > min_tags.
Tried a micro optimisation: move the tagged_post_count[j] = 0 into the 2nd for(tagged_post_count) loop (and += 1 -> ++) and saw time drop to 1.10s for JIT and C++ to 96ms so no big gains there.
So yeah, looks like the JIT mode sucks more than I thought, more than 10x slower than C++ mode. Looks like C++ is going to be required when you care for speed. And even that still needs a fair bit more of optimization.

Did a fresh run and the results are stable. Linux vs windows compiler could be the cause of the difference.
https://github.com/jinyus/related_post_gen/blob/9ef36370e2f35977143e56b9ee903dcf5bc9b127/readme.md?plain=1#L97
Lobster (C++):

        Processing time (w/o IO): 0.132631s
        total: 0.18s memory: 28096k
        Processing time (w/o IO): 0.13307s
        total: 0.18s memory: 27968k
        Processing time (w/o IO): 0.134092s
        total: 0.18s memory: 28092k
        Processing time (w/o IO): 0.121073s
        total: 0.17s memory: 27964k
        Processing time (w/o IO): 0.132747s
        total: 0.18s memory: 28096k
        Processing time (w/o IO): 0.133872s
        total: 0.18s memory: 28220k
        Processing time (w/o IO): 0.1346s
        total: 0.18s memory: 28220k
        Processing time (w/o IO): 0.12152s
        total: 0.17s memory: 28096k
        Processing time (w/o IO): 0.1224s
        total: 0.17s memory: 28220k
        Processing time (w/o IO): 0.121131s
        total: 0.17s memory: 28096k

Lobster (C++):

        Processing time (w/o IO): 1.99688s
        total: 2.23s memory: 80912k
        Processing time (w/o IO): 2.105853s
        total: 2.34s memory: 80916k
        Processing time (w/o IO): 1.863491s
        total: 2.10s memory: 81044k

Lobster (C++):

        Processing time (w/o IO): 17.828839s
        total: 18.58s memory: 249092k
        Processing time (w/o IO): 17.919368s
        total: 18.67s memory: 249224k
        Processing time (w/o IO): 18.261384s
        total: 19.02s memory: 248968k

Oh, but those have improved? 189 -> 121ms for the first one?
Still surprising VS does better than Clang with this code, in my past benchmarking Clang was always ahead.

authors: aardappel jinyus


text:
Set up neotest-haskell + neotest bindings

This PR adds neotest-haskell (and neotest-python, which I'll play with some at $work) and some neotest bindings for:

running the test under the cursor
rerunning the last test
displaying test output

I didn't get this to play nicely with nvim-dap in Haskell but it may work better on the python side and it's still an improvement over my existing "run an actual test script like a scrub" approach.
Helps with #78

Hooray 💯 🥳

repo: jisantuc/nix-home


text:
Use without NVIDIA GPU + CUDA?

Hi. I'm just wondering, is there any possibility of using RealSR if I do not have NVIDIA GPU + CUDA?

Yes it can.But you need to change the yml file a little bit.Add a '#' before gpu_ids to run in cpu mode.

repo: jixiaozhong/RealSR


text:
I can‘t run the example

I want to run the example project, But I failed when I executed the pod update command.
And I don't know how to download this version of public_suffix-2.0.5.
can you help me? Thanks

@iOSstudyPerson Did #261 resolve your problem?

btw. why did you try to do an pod update?
The easies way to run the example is probably by running
pod try JJFloatingActionButton

I will close this for now. Feel free to reopen it if the issue is not resolved.

authors: iOSstudyPerson jjochen

repo: jjochen/JJFloatingActionButton


text:
[Suggestion] [Plugin.Program] Support for .url shortcut file (like csgo, dota)

Right now the Program plugin doesn't register shortcut like csgo shortcut, because it is .url shortcut not .lnk
I did hack together this code for my personal use (I don't know much C# so I'm not making a pull request), hopefully it can be helpful.
My changes in Wox.Plugin.Program: https://github.com/jjw24/Wox/compare/master...thanhmssl10:urlshortcut
Shortcut have .url extension:

Wanted result:

does it not work if you add the extension in program plugin via File Suffixes?

does it not work if you add the extension in program plugin via File Suffixes?

Oh yeah, I forgot, let me get back to you, I got this problem like 6 months ago, not tested on the new releases :smile:

@jjw24 Update
Add .url to File Suffixes doesn't work because the function StartMenuPrograms() only return programs that  the files have extension .lnk and appref-ms (hard-coded).
And the function LnkProgram() I pretty sure it cannot handle .url files (I remember it throw some errors but I don't remember exactly what errors 😅). In my code, I have to use different code to read the .url file, can't reuse LnkProgram()

Just going to close this as this repo is no longer maintained, feel free to open the issue in Flow if this is still a problem


text:
Seperator does not change

Hi,
I generated css outputs by using your plugin with the configuration settings which are below. However, still seperator is generated with double line
(.icon-content--application--images--icon-set--edit-gray)
Also, when i try to leave prefix as  "prefix: '.icon-'" still folder path is added.
svg_sprite: {
basic: {
expand: true,
cwd: 'ReponsiveWeb',
src: ['content/application/images/icon-set/*.svg'],
dest: 'content/application/images/icons/sprite-icons',
shape: {
id: {
separator: '-',
generator: 'sprite'
},
dimension:{
maxWidth: 50,
maxHeight: 50,
attributes: true
},
spacing: {
padding: 10
}
},
options: {
mode: {
css: {
prefix: '.icon-',
render: {
css: true,
less: true
}
}
}
}
}
}
Thank yo for your helping.

Without having tested it, please try writing separator instead of seperator ;)
Cheers, Joschi

Hi,
In the code that part is true :)
But i found the mistake, shape config part must be inside of options. When i try as below it worked.
options: {
shape: {
id: {
separator: '-',
generator: 'sprite'
},
dimension: {
maxWidth: 50,
maxHeight: 50,
attributes: true
},
spacing: {
padding: 10
}
},
mode: {
css: {
common: 'sprite-icons',
prefix: '.icon-',
render: {
css: true,
less: true
}
}
}
}

authors: burakhanalkan jkphl

repo: jkphl/grunt-svg-sprite


text:
render_video problem

I made an issue based on answer from https://github.com/jkulhanek/robot-visual-navigation/issues/4#issuecomment-1080374996 and i still can't run command python render_video.py , my terminal output like below
/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/deep_rl/common/util.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  from collections import OrderedDict, Callable
Registering trainer turtlebot
Registering trainer turtlebot-noprior
Registering trainer turtlebot-unreal
Registering trainer turtlebot-unreal-noprior
Registering trainer turtlebot-a2c
Registering trainer turtlebot-a2c-noprior
Registering trainer dmhouse-a2c
Registering trainer dmhouse-unreal
Registering trainer dmhouse-ppo
Registering trainer dmhouse-ppo-a2cvn
Registering trainer turtlebot-ppo-a2cvn
Registering trainer dmhouse-ppo-unreal
Registering trainer dmhouse-dqn
Registering agent dmhouse-dqn
Registering trainer dmhouse
Registering agent turtlebot-noprior
Registering agent turtlebot
Registering agent dmhouse
Registering agent dmhouse-a2c
Registering agent dmhouse-ppo
Registering agent dmhouse-unreal
Registering agent turtlebot-a2c
Registering agent turtlebot-unreal
Registering agent turtlebot-a2c-noprior
Registering agent turtlebot-unreal-noprior
Traceback (most recent call last):
  File "render_video.py", line 76, in <module>
    env = trainer.create_envs(1, dict(renderer="hardware", screen_size=(500, 500), **default_args()['env_kwargs']),
  File "/home/rokhmat/tesis/robot-visual-navigation/python/trainer.py", line 550, in create_envs
    env = create_multiscene(num_training_processes, wrap=wrap_internal, use_dummy=use_dummy, **env_kwargs)
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/__init__.py", line 58, in create_multiscene
    return AsyncVectorEnv(funcs)
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/vector/async_vector_env.py", line 128, in __init__
    dummy_env = env_fns[0]()
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/__init__.py", line 49, in func
    env = wrap(gym.make(**kwargs))
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/envs/registration.py", line 676, in make
    return registry.make(id, **kwargs)
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/envs/registration.py", line 520, in make
    return spec.make(**kwargs)
  File "/home/rokhmat/anaconda3/envs/tesis/lib/python3.8/site-packages/gym/envs/registration.py", line 137, in make
    env = self.entry_point(**_kwargs)
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/__init__.py", line 12, in _createImageEnvironment
    return ImageEnvironmentWrapper(TimeLimit(ImageEnvironment(**kwargs), 300))
  File "/home/rokhmat/tesis/robot-visual-navigation/python/environment/image_collection_environment.py", line 45, in __init__
    super(ImageEnvironment, self).__init__(**kwargs)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)

is there something missing from the command I ran? or are there steps i have to do?
Previously I have downloaded the pre-trained models that you provide.
Thanks for your attention. I’m looking forward to your reply.

It should be working now. I tested it with the dmhouse environment.

after I run the command python render_video.py --path /home/rokhmat/thesis/robot-visual-navigation dmhouse, there is an error as below:
(robotvn) rokhmat@b401:~/tesis/robot-visual-navigation/python$ python render_video.py --path /home/rokhmat/tesis/robot-visual-navigation dmhouse
Traceback (most recent call last):
  File "render_video.py", line 1, in <module>
    import gym
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/__init__.py", line 4, in <module>
    from gym.core import (
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/core.py", line 7, in <module>
    from gym import spaces
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/__init__.py", line 1, in <module>
    from gym.spaces.space import Space
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/space.py", line 15, in <module>
    from gym.utils import seeding
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/utils/seeding.py", line 7, in <module>
    from numpy.random import Generator
ImportError: cannot import name 'Generator' from 'numpy.random' (/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/numpy/random/__init__.py)

there seems to be a problem with the gym version, should I change to an older version?

This is a wrong numpy version. If you start with a fresh environment and install all requirements.txt you should not have this problem.

I have started with a new environment and installed all the requirements.txt, but I got an error with cv2
(robotvn) rokhmat@b401:~/tesis/robot-visual-navigation/python$ python render_video.py --path=/home/rokhmat/tesis/robot-visual-navigation dmhouse
Traceback (most recent call last):
  File "render_video.py", line 4, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

so I installed cv2 by conda install -c conda-forge opencv -y,but after successfully installing cv2 (opencv 4.5.4), there was an error like yesterday
(robotvn) rokhmat@b401:~/tesis/robot-visual-navigation/python$ python render_video.py --path=/home/rokhmat/tesis/robot-visual-navigation dmhouse
Traceback (most recent call last):
  File "render_video.py", line 1, in <module>
    import gym
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/__init__.py", line 4, in <module>
    from gym.core import (
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/core.py", line 7, in <module>
    from gym import spaces
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/__init__.py", line 1, in <module>
    from gym.spaces.space import Space
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/spaces/space.py", line 15, in <module>
    from gym.utils import seeding
  File "/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/gym/utils/seeding.py", line 7, in <module>
    from numpy.random import Generator
ImportError: cannot import name 'Generator' from 'numpy.random' (/home/rokhmat/anaconda3/envs/robotvn/lib/python3.8/site-packages/numpy/random/__init__.py)

i have found where the problem lies, i tried using opencv with an earlier version (4.5.2) and in my case it worked.
I installed opencv by pip install opencv-python==4.5.2.*
and produce terminal output as below
(try-robotvn) rokhmat@b401:~/zzz-test/robot-visual-navigation/python$ python render_video.py --path=/home/rokhmat/zzz-test/robot-visual-navigation dmhouse
/home/rokhmat/anaconda3/envs/try-robotvn/lib/python3.8/site-packages/deep_rl/common/util.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  from collections import OrderedDict, Callable
Registering trainer turtlebot
Registering trainer turtlebot-noprior
Registering trainer turtlebot-unreal
Registering trainer turtlebot-unreal-noprior
Registering trainer turtlebot-a2c
Registering trainer turtlebot-a2c-noprior
Registering trainer dmhouse-a2c
Registering trainer dmhouse-unreal
Registering trainer dmhouse-ppo
Registering trainer dmhouse-ppo-a2cvn
Registering trainer turtlebot-ppo-a2cvn
Registering trainer dmhouse-ppo-unreal
Registering trainer dmhouse-dqn
Registering agent dmhouse-dqn
Registering trainer dmhouse
Registering agent turtlebot-noprior
Registering agent turtlebot
Registering agent dmhouse
Registering agent dmhouse-a2c
Registering agent dmhouse-ppo
Registering agent dmhouse-unreal
Registering agent turtlebot-a2c
Registering agent turtlebot-unreal
Registering agent turtlebot-a2c-noprior
Registering agent turtlebot-unreal-noprior
/home/rokhmat/anaconda3/envs/try-robotvn/lib/python3.8/site-packages/dmhouse/__init__.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

but the resulting video has a low resolution, can I produce a video with a higher resolution?

Sorry, currently I don't have the capacity to write the wrapper to render video in higher res. But you can easily do it yourself and I will be happy to accept the PR. In order to do that, you can implement a wrapper that will construct the inner env with higher res and store and downsample the observations.

I've found a way to get better rendering results, I was inspired by the colab you provided.  basically I just increase the plot size and save the animation with better quality.  I think the results are quite satisfactory.  thank you very much.

authors: jkulhanek rokhmatf

repo: jkulhanek/robot-visual-navigation


text:
Save without formatting

What do you think of a key combo to bypass formatting and save? Sometimes I have to temporarily disable the Format on Save setting to make patches for OSS/projects that don't use prettier.

@tacomanator I'm not sure how I would go about coding that one. Maybe it would be better if we had a whitelist or blacklist of globs. I did a PR for a related project that does blacklist globs:
https://github.com/kentcdodds/prettier-eslint-atom/pull/11/files
Then you would just blacklist the projects you didn't want it for. What do you think of that solution?

@robwise that would definitely help. I haven't thought of a better way either.

I just had this exact issue recently. It would be nice to ignore souce.min.js type files.

I'm currently work on a PR that will integrate prettier-eslint-atom where I wrote this feature, so stay tuned!

@Anthonyzou @tacomanator We now have the ability to both whitelist and blacklist certain globs so I'm closing this for now. Maybe in the future we should add a keymap to toggle format on save on and off.

authors: Anthonyzou robwise tacomanator

repo: jlongster/prettier-atom


text:
增加块可视化模式的快捷键绑定，键位是：+v

快可视化可以非常方便的进行列编辑，原始快捷键是ctrl+v。
本配置文件禁用了vim中的ctrl键导致快可视化不可用，所以修改键位以支持块可视化模式。

棒滴很

authors: jlvihv showthesunli

repo: jlvihv/vscode-vim-keybindings


text:
--help option is not handled correctly

Describe the bug
When running goverters help command via flag --help, it prints out the following:
$ goverter --help
Error: unknown command: --help
Usage:
...

The bad thing is, that its return code is non-zero.
To Reproduce
Run goverter with help command:
goverter --help
echo $?

Return code is 1.
Expected behavior
Goverter help message should be shown without an error message and the return code should be 0.
The bad thing about this is that there isn't even a version command, so no option to call goverter in a noop way to do an optional installation like this:
goverter -h >/dev/null 2>&1 || go install github.com/jmattheis/goverter/cmd/goverter@latest

Good catch, as a workaround you can use command -v to check if a command exists:
command -v goverter || go install github.com/jmattheis/goverter/cmd/goverter@latest

thanks, wasn't aware of command shell builtin

authors: jmattheis nilskuhn

repo: jmattheis/goverter


text:
seek/truncate/seek/getsize issue

import pyfakefs.fake_filesystem
import os
fs = pyfakefs.fake_filesystem.FakeFilesystem()
fs.CreateDirectory('/Volumes')
fs.CreateDirectory('/Volumes/ramdisk')
fs.CreateDirectory('/Volumes/ramdisk/test')
os0 = pyfakefs.fake_filesystem.FakeOsModule(fs)
opener0 = pyfakefs.fake_filesystem.FakeFileOpen(fs)
component0 = "alpha"
path0 = "/Volumes/ramdisk/test"
path0 += "/" + component0
bytes0 = 0
bytes0 += 1
file0 = opener0(path0,'w')
file0.seek(bytes0)
file0.truncate()
file0.seek(bytes0)
result = os0.path.getsize(path0)
print result
1 for os, 0 for pyfakefs.  Hope this is the last of these!

Yeah, these are a little tricky, the behavior is not really predictable - I hope so, too.
And you are at the night shift again!

authors: agroce mrbean-bremen

repo: jmcgeheeiv/pyfakefs


text:
Données HP/HC incorrectes pour un contrat Tarif Bleu réglementé

System Health details

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
l'API kwhstat d'ecojoko n'incrémente pas kwh_hc_ns en heure creuse
Reproduction steps
Voir les traces
Debug logs
REPONSE ECOJOKO: {'stat': {'data': [0], 'period': {'this': 1699743600000, 'prev': 1699657200000, 'measure_unit': 'W', 'kwh_hp_ns': 11.9578, 'kwh_hc_ns': 0, 'price': 2.936316196, 'price_prod': 0, 'kwh': 11.9578, 'kwh_prod': 0, 'raw_watt': 852}, 'pricing_details': [{'color': '#7ED2DF', 'id': 2, 'label': 'Heures Pleines'}, {'color': '#679AA2', 'id': 3, 'label': 'Heures Creuses'}], 'axis': {'y': {'max': 7000}}}}

Diagnostics dump
No response

Bonjour, effectivement j'ai le même problème sur mon tarif EDF Vert Electrique Option HC HP.

Bonjour, effectivement j'ai le même problème sur mon tarif EDF Vert Electrique Option HC HP.

Merci pour votre retour, je vais remonter l'information à ecojoko. En attendant leur retour, je suis toujours en train de chercher une solution de contournement.

Bug corrigé dans la version 1.2.0

Bug corrigé dans la version 1.2.0

authors: YohDuDojo jmcruvellier


text:
Favicon

Add one

Merging into #6

repo: jmeas/finance-app