add python_zipfile to ironbank

Status
Ready/In Progress/In Hold (Reason for hold)
Related Content Pull Request
Related PR: link to the PR at demisto/content
Related Issues
Related: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/python_zipfile:<IP_ADDRESS>94
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/python_zipfile/tags
Get started by pulling the image:
docker pull devdemisto/python_zipfile:<IP_ADDRESS>94

Docker Metadata

Image Size: 23.79 MB

Image ID: sha256:f696650aaf2a6a0788968785c0ff79412fee8f4af963ec0da41947c0ed2213ba

Created: 2021-12-22T16:06:23.393865405Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
PYTHON_VERSION=3.9.7
PYTHON_PIP_VERSION=21.2.4
PYTHON_SETUPTOOLS_VERSION=57.5.0
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c20b0cfd643cd4a19246ccf204e2997af70f6b21/public/get-pip.py
PYTHON_GET_PIP_SHA256=fa6f3fb93cce234cd4e8dd2beb54a51ab9c247653b52855a48dd44e6b21ff28b
DOCKER_IMAGE=devdemisto/python_zipfile:<IP_ADDRESS>94

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:5061bcecc8375fa132fff41e77f435faa07b5a16
org.opencontainers.image.version:<IP_ADDRESS>94

python_zipfile: https://repo1.dso.mil/dsop/opensource/palo-alto-networks/demisto/python_zipfile/-/pipelines/617958


How to use PDO with Reactphp ?

Is there any way we can use PDO with Reactphp ? Or is there any guideline how we can make our custom classes works asynchronously with Reactphp ?

Thank you for this excellent question! Unfortunately, PDO itself does not support non-blocking operation and as such should not be used in a truly async program.
As an alternative, a number of database drivers for MySQL, Postgres, Redis etc. are already available for ReactPHP, see also https://github.com/reactphp/react/wiki/Users#databases.
I hope this helps! :+1:

Looks like the examples are pure PHP implementations of those databases and it looks like MongoDB implementation is not there yet.  Does that mean any drive that needs to be made work with ReactPHP shall be written in pure PHP?

There's already an experimental project for MongoDB connection: https://github.com/jmikola/react-mongodb.
I don't think you'd find non pure PHP implementations of such things. The best guess I could have is to explore the DB functions instead of the PDO, maybe there you could find a socket parameter or similar that you could exploit. Again: not sure, is just a guess.

@nawarian What do you exactly mean by the DB functions? I probably can look into MongoDB ASYNC for node.js and get an idea from there.


[DFHack]# ./dfhack: line 15: 79141 Segmentation fault: 11  DYLD_INSERT_LIBRARIES=./hack/libdfhack.dylib ./dwarfort.exe "$@"

When trying to look at the page of an old fort that died, I get this segfault and DF crashes.

I can reproduce this now with starting a new fort using df-ai. I guess it is a bug in df, and not dfhack or weblegends


Provide the Client ID inside MQTTDisconnect

MQTTConnect offers a lot of data about the client that connected to the MQTT broker, but MQTTDisconnect does not provide any information at all beside that some unidentified session was closed.
It would be useful if MQTTDisconnect would provide at least the Client ID of the client that disconnected from the broker.

Yeah exactly, I'm referring to the PacketInterceptor one. I'll try with the connection callback but once 6dcc30c5f6fcda3ebacf462870acc95105cef777 is released, I won't need it anymore because I'm using it just to manually keep a track of the connected clients.


NUXT with vuetify have "Unexpected token <" error

My version:
"dependencies": {
    "@nuxtjs/axios": "^5.3.6",
    "@nuxtjs/proxy": "^1.3.3",
    "age-calculator": "^1.0.0",
    "babel-runtime": "^6.26.0",
    "cross-env": "^5.2.0",
    "env-cmd": "^8.0.2",
    "lodash": "^4.17.10",
    "nuxt": "^2.4.0",
    "vue-pdf": "^4.0.6",
    "vuetify": "^1.5.5",
    "vuetify-loader": "^1.2.1"
  },

My code
<template>
  <div>
      {{currentPage}} / {{pageCount}}
      <pdf
        src="http://www.ycps.tp.edu.tw/mediafile/1934/news/154/2013-12/2013-12-19-9-55-10-nf1.pdf"
        @num-pages="pageCount = $event"
        @page-loaded="currentPage = $event"
        ref="myPdfComponent"
      />
      <button @click="$refs.myPdfComponent.print()">print</button>
  </div>
</template>
<script>
import pdf from '@/plugins/pdf'
export default {
  components: {
    pdf
  },
  data () {
    return {
      currentPage: 0,
      pageCount: 0
    }
  }
}

</script>

Result

I have try this method to fixed, but not work:
nuxt.config.js
 build: {
    transpile: ['vue-pdf'],
extend (config, { isServer }) {
      if (isServer) {
        console.log('isServer')
        config.externals += [
          require('webpack-node-externals')({
            whitelist: [/^vue-pdf/]
          })
        ]
      }
    }

have any idea? thank you very much

Thanks for reporting. This is a known issue, see #13.


Delete duplicate headers in IGListKit.h

Changes in this pull request
Delete duplicate headers in IGListKit.h
Checklist

[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

hi, CI fails with an error, which is unrelated to the PR, could anyone have a check? Thanks :)
$ bundle exec pod lib lint
 -> IGListKit (3.4.0)
    - WARN  | url: The URL (https://twitter.com/fbOpenSource) is not reachable.
    - NOTE  | [IGListKit/Diffing,IGListKit/Default] xcodebuild:  note: Using new build system
    - NOTE  | [IGListKit/Diffing,IGListKit/Default] xcodebuild:  note: Planning build
    - NOTE  | [IGListKit/Diffing,IGListKit/Default] xcodebuild:  note: Constructing build description
    - NOTE  | [IGListKit/Diffing,IGListKit/Default] xcodebuild:  warning: Capabilities for App may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'App')
[!] IGListKit did not pass validation, due to 1 warning (but you can use `--allow-warnings` to ignore it).
You can use the `--no-clean` option to inspect any issue.
The command "bundle exec pod lib lint" exited with 1.

Hi @hanton – thanks for these contribs! I'll take a look at these today :)

Hi @hanton – this looks good to me! Can you rebase on top of master so that the build can run with the fix?

Hi @hanton – this looks good to me! Can you rebase on top of master so that the build can run with the fix?

Done :)


Improvements in code

I added some improvements to the code. The code was less or more like spaghetti code, So I splitted parts of the code to multiple classes, like Connection.
I also added a base model for all models (now and future), to easily be able to plug in new models.

Hi!

This is a draft, are you working on something else in this PR?
Proposed changes touch pretty much every single area of code, so working on anything at all in parallel will be impossible due to conflicts.
Interface of package has been changed, this could be problematic.

@Jamie- please take a look

Also, this PR is pretty big, it makes it hard to review properly. Can you split it into separate PRs with clear goal description?

This is a draft, are you working on something else in this PR?

I'm adding a multi-threaded system of sockets to be able to work with OpenVPN's events, because that's what I need in my VPN service, and I thought why not contribute to an already existing project :)

Proposed changes touch pretty much every single area of code, so working on anything at all in parallel will be impossible due to conflicts.
Interface of package has been changed, this could be problematic.

Of course, If this pull request (and next commits about the event system) is going to be merged, It's going to be a major version upgrade and backward compatibility is probably not a problem.

Also, this PR is pretty big, it makes it hard to review properly. Can you split it into separate PRs with clear goal description?

I think it's not possible because each commit of this PR depends directly on the previous one, They're not isolated or separate.

Actually I was inspired by Django to merge all models into one file, why that's not acceptable?

I don't know how I could split my already committed changes into multiple PRs, but yeah I also agree splitting would be better.
Also, I'm already developing the event system (in the events branch in my fork) using the same socket module and multiple threads. I would be happy If you take a look at it (actually I haven't pushed all of my changes; I will tomorrow).

I guess you could try to do interactive rebase to split commits that are too big, and then create branches with smaller changes.

I'll cherry pick commits from my master to multiple branches, and create PRs for each branch. You guys should ignore this PR and focus on the others.


CPU usage increasing issue after applying Pinpoint java agent

Hello, We are struggling with an CPU increasing issue after applying Pinpoint java agent(v2.5.2). Comparing before and after applying agent, over 5% of CPU increase was observed in multiple tests. So we have 2 inqueries as below.

Are there resource usage analysis for Pinpoint java agent?
We've seen Performance Analysis page in Pinpoint document. However it concentrates on performance (TPS), we couldn't find any hints for our issue. We're aware of inevitable CPU increase for applying any APM solutions but we want to see some reports for CPU usage.

Additionally, we tried below options to prevent increasing CPU but options were not effective. Do you have any options to recommend for decreasing CPU load?

profiler.kafka.producer.enable=false
profiler.kafka.consumer.enable=false
profiler.springkafka.consumer.enable=false
profiler.spring.webflux.client.enable=false
profiler.sampling.counting.sampling-rate=20

Each application has different characteristics, so you'll need to do your own testing.
We recommend a lower sampling rate, such as 1%.

Thank you for quick reply @emeroad.
Then can I get reports about basic resource overhead without considering applications’ characteristics? We are aware of having challenges to seperate agent’s pure resource usage from application’s total resource usage.
However, if you have any reports like below link (it offers usage data about Datadog agent usage.), please share us.
Datadog basic agent usage page


Implement my-list as advanced type on collection

Implement my-list as advanced type on collection.
Allows for pages to be built with mylist as a section instead of a page in itself.
#325

Hi @fredrikved, are you able to link this to the issue?

Note: I think if you want it to auto link you have to write
Fixes


Validate Binding Behavior: Container is undefined 0.12.5

I'm submitting a bug report

Library Version:
0.12.5

Please tell us about your environment:

Operating System:
Linux (Arch)

Node Version:
6.6.0

NPM Version:
3.10.8

Aurelia CLI
0.20.0

Browser:
all

Language:
all

Current behavior:
Using validate binding behavior with a custom element, the following error is raised:
vendor-bundle.js:12602 ERROR [app-router] TypeError: Cannot read property 'get' of undefined
    at ValidateBindingBehavior.getTarget (http://localhost:8080/scripts/app-bundle.js:5002:55)
    at ValidateBindingBehavior.bind (http://localhost:8080/scripts/app-bundle.js:5014:31)
    at BindingBehavior.bind (http://localhost:8080/scripts/vendor-bundle.js:5447:21)
    at Binding.bind (http://localhost:8080/scripts/vendor-bundle.js:8957:31)
    at Controller.bind (http://localhost:8080/scripts/vendor-bundle.js:20068:19)
    at View.bind (http://localhost:8080/scripts/vendor-bundle.js:18129:24)
    at Controller.bind (http://localhost:8080/scripts/vendor-bundle.js:20090:19)
    at View.bind (http://localhost:8080/scripts/vendor-bundle.js:18129:24)
    at Controller.bind (http://localhost:8080/scripts/vendor-bundle.js:20090:19)
    at Controller.automate (http://localhost:8080/scripts/vendor-bundle.js:20035:12)
    at RouterView.swap (http://localhost:8080/scripts/vendor-bundle.js:37922:38)
    at http://localhost:8080/scripts/vendor-bundle.js:15057:29
    at Array.forEach (native)
    at http://localhost:8080/scripts/vendor-bundle.js:15056:20
From previous event:
    at NavigationInstruction._commitChanges (http://localhost:8080/scripts/vendor-bundle.js:15055:33)
    at CommitChangesStep.run (http://localhost:8080/scripts/vendor-bundle.js:14904:36)
    at next (http://localhost:8080/scripts/vendor-bundle.js:14873:20)
    at iterate (http://localhost:8080/scripts/vendor-bundle.js:15958:14)
    at inspect (http://localhost:8080/scripts/vendor-bundle.js:15929:16)
    at http://localhost:8080/scripts/vendor-bundle.js:15947:24
From previous event:
    at processPotential (http://localhost:8080/scripts/vendor-bundle.js:16039:35)
    at http://localhost:8080/scripts/vendor-bundle.js:15946:18
    at iterate (http://localhost:8080/scripts/vendor-bundle.js:15950:12)
    at processActivatable (http://localhost:8080/scripts/vendor-bundle.js:15961:12)
    at ActivateNextStep.run (http://localhost:8080/scripts/vendor-bundle.js:15842:14)
    at next (http://localhost:8080/scripts/vendor-bundle.js:14873:20)
    at iterate (http://localhost:8080/scripts/vendor-bundle.js:15871:14)
    at processDeactivatable (http://localhost:8080/scripts/vendor-bundle.js:15874:12)
    at DeactivatePreviousStep.run (http://localhost:8080/scripts/vendor-bundle.js:15830:14)
    at next (http://localhost:8080/scripts/vendor-bundle.js:14873:20)
    at iterate (http://localhost:8080/scripts/vendor-bundle.js:15958:14)
    at processActivatable (http://localhost:8080/scripts/vendor-bundle.js:15961:12)
    at CanActivateNextStep.run (http://localhost:8080/scripts/vendor-bundle.js:15818:14)
From previous event:
    at LoadRouteStep.run (http://localhost:8080/scripts/vendor-bundle.js:16105:68)
    at next (http://localhost:8080/scripts/vendor-bundle.js:14873:20)
    at iterate (http://localhost:8080/scripts/vendor-bundle.js:15871:14)
    at processDeactivatable (http://localhost:8080/scripts/vendor-bundle.js:15874:12)
    at CanDeactivatePreviousStep.run (http://localhost:8080/scripts/vendor-bundle.js:15806:14)
    at next (http://localhost:8080/scripts/vendor-bundle.js:14873:20)
    at http://localhost:8080/scripts/vendor-bundle.js:15309:16
From previous event:
    at BuildNavigationPlanStep.run (http://localhost:8080/scripts/vendor-bundle.js:15307:58)
    at next (http://localhost:8080/scripts/vendor-bundle.js:14873:20)
    at Pipeline.run (http://localhost:8080/scripts/vendor-bundle.js:14886:14)
    at http://localhost:8080/scripts/vendor-bundle.js:16434:25
From previous event:
    at AppRouter._dequeueInstruction (http://localhost:8080/scripts/vendor-bundle.js:16407:32)
    at http://localhost:8080/scripts/vendor-bundle.js:16398:17
From previous event:
    at AppRouter._queueInstruction (http://localhost:8080/scripts/vendor-bundle.js:16395:14)
    at http://localhost:8080/scripts/vendor-bundle.js:16329:23
From previous event:
    at AppRouter.loadUrl (http://localhost:8080/scripts/vendor-bundle.js:16328:53)
    at BrowserHistory._loadUrl (http://localhost:8080/scripts/vendor-bundle.js:11712:55)
    at BrowserHistory._checkUrl (http://localhost:8080/scripts/vendor-bundle.js:11705:14)

It's probably worth to mention that in this case two custom elements are nested whereas only the "inner" element is being validated. The error occurs on L31, validate-binding-behavior.ts. For some reason, container is undefined.

Can you confirm you have aurelia-templating v1.1.0 installed?

Thanks for the quick response. I hadn't an explicit dependency on aurelia-templating for what reason I was stuck with v1.0.1. Upgrading to v1.1.0 solved my issue. Sorry for the noise. Closing this.


Default image naming

In the Asset Editor, if you don't name your assets the default names go from image, image0, image4, image5, ...
Not sure why they jump from 0 to 4.

Also, when a user selects an image from the gallery through the Sprite Editor, it shows up as "temporary asset" in the Asset Editor.
This could be confusing.  Do we need them to know the difference?  Why can't it just be image7 ?

Also, when a user selects an image from the gallery through the Sprite Editor, it shows up as "temporary asset" in the Asset Editor.
This could be confusing.  Do we need them to know the difference?  Why can't it just be image7 ?

Fixed


This may already exist

I'm obviously not sure what this operating system would do, but there is an OS called Daisuki Linux that claims to be an anime operating system.
I also found a thread talking about this which might be interesting to you. 🤷

this is nothing related to what u posted also this is supposed to be a project I'm doing just for fun so

alright! well good luck!


Please add an option to automatically support gm expression flags

I don't want to add "/gm" expression flags to my regular expressions, because of a requirement of my IDE or in this case an extension I want to use .
But unfortunately Regex Previewer force me to this if I want to check my regex against multiple values.
It would be better to have an option available where I can decide case by case. E.g. the clickable "Test regex..." could offer an "globally multiline" option.

There are many times I want to have a regex test one specific value (first pass of input validation comes to mind) but test the regex itself while writing it against a test suite of valid and invalid values.  Regex Previewer allows a live environment for testing, but the requirement to change my code to accommodate it is worrying at best.


Display name attribute

Description of the Feature
Having a display name for user.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Feature Request: Would be

Would be great if it also shows the dictionary meaning procured from preferred websites.
For example, I hope to see the meaning of word ascetic from https://www.vocabulary.com/dictionary/ascetic, it would be good if it displayed inside vscode itself.

It is sort of hard.

@yzhang-gh If you intended to implement this in the future, please consider adding a toggle because I kind of like the simplicity of the extension.


HDDS-2217. Removed redundant LOG4J lines from docker configurations

Removed potentially confusing LOG4J lines from docker configuration

/label ozone

/retest

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
429
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
shelldocs
0
Shelldocs was not available.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

-1
mvninstall
52
hadoop-hdds in trunk failed.

-1
mvninstall
45
hadoop-ozone in trunk failed.

-1
compile
20
hadoop-hdds in trunk failed.

-1
compile
16
hadoop-ozone in trunk failed.

+1
mvnsite
0
trunk passed

+1
shadedclient
890
branch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in trunk failed.

-1
javadoc
19
hadoop-ozone in trunk failed.

_ Patch Compile Tests _

-1
mvninstall
35
hadoop-hdds in the patch failed.

-1
mvninstall
38
hadoop-ozone in the patch failed.

-1
compile
24
hadoop-hdds in the patch failed.

-1
compile
19
hadoop-ozone in the patch failed.

-1
javac
24
hadoop-hdds in the patch failed.

-1
javac
19
hadoop-ozone in the patch failed.

+1
mvnsite
0
the patch passed

+1
shellcheck
0
There were no new shellcheck issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
800
patch has no errors when building and testing our client artifacts.

-1
javadoc
21
hadoop-hdds in the patch failed.

-1
javadoc
19
hadoop-ozone in the patch failed.

_ Other Tests _

-1
unit
27
hadoop-hdds in the patch failed.

-1
unit
25
hadoop-ozone in the patch failed.

+1
asflicense
34
The patch does not generate ASF License warnings.

2706

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1582

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs

uname
Linux f888af8c88fa 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 5a7483c

Default Java
1.8.0_222

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/branch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/branch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/branch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/branch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/branch-javadoc-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-compile-hadoop-ozone.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-compile-hadoop-hdds.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-javadoc-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/testReport/

Max. process+thread count
306 (vs. ulimit of 5500)

modules
C: hadoop-ozone/dist U: hadoop-ozone/dist

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.4.6

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

ci/acceptance appears to be no failing tests.
ci/integration appears to be failing on seemingly unrelated ratis issues?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
11
https://github.com/apache/hadoop/pull/1582 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/1582

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/2/console

versions
git=2.17.1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

/retest

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
10
https://github.com/apache/hadoop/pull/1582 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/1582

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/3/console

versions
git=2.17.1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Looks like there's some issues with Ratis? Is this related to the patch?

If you think about the integration tests, they are independent (I am working to remove that noise).
I don't know what has been happened but I think you did some merge instead of rebase. Behind this link:
https://github.com/apache/hadoop/pull/1582/files
I see hundred of files which are changed but ideally only docker-config files should be there.
Try:
git checkout HDDS-2217
git rebase origin/trunk
git rebase -i trunk
# chance all the picks to d before the lines which are not part of your patch
git push -f

(Or ping me offline if you have problems...)

/retest

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
1191
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
shelldocs
0
Shelldocs was not available.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

-1
mvninstall
61
hadoop-hdds in trunk failed.

-1
mvninstall
52
hadoop-ozone in trunk failed.

-1
compile
26
hadoop-hdds in trunk failed.

-1
compile
17
hadoop-ozone in trunk failed.

+1
mvnsite
0
trunk passed

+1
shadedclient
943
branch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in trunk failed.

-1
javadoc
19
hadoop-ozone in trunk failed.

_ Patch Compile Tests _

-1
mvninstall
35
hadoop-hdds in the patch failed.

-1
mvninstall
38
hadoop-ozone in the patch failed.

-1
compile
25
hadoop-hdds in the patch failed.

-1
compile
18
hadoop-ozone in the patch failed.

-1
javac
25
hadoop-hdds in the patch failed.

-1
javac
18
hadoop-ozone in the patch failed.

+1
mvnsite
0
the patch passed

+1
shellcheck
0
There were no new shellcheck issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
797
patch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in the patch failed.

-1
javadoc
19
hadoop-ozone in the patch failed.

_ Other Tests _

-1
unit
27
hadoop-hdds in the patch failed.

-1
unit
25
hadoop-ozone in the patch failed.

+1
asflicense
32
The patch does not generate ASF License warnings.

3540

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1582

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient shellcheck shelldocs

uname
Linux 8625d7f60dca 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 91320b4

Default Java
1.8.0_222

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/branch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/branch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/branch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/branch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/branch-javadoc-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-compile-hadoop-ozone.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-compile-hadoop-hdds.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-javadoc-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/testReport/

Max. process+thread count
306 (vs. ulimit of 5500)

modules
C: hadoop-ozone/dist U: hadoop-ozone/dist

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1582/4/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.4.6

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Is there more detail to the log that explains why the smoketest failed?

/retest

Thanks very much for your help @elek and @anuengineer. Onward and upward.


[Enhancement] Add PrivilegeType.OPERATE check to be_ prefixed tables

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Problem Summary(Required) ：

Add PrivilegeType.OPERATE check to be_ prefixed tables, so only adim can query be_ prefixed tables in informatin_schema
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 4 / 5 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeCheckerV2.java
3
4
75.00%
[690]

:large_blue_circle:
com/starrocks/catalog/SchemaTable.java
1
1
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run run starrocks_admit_test

run run starrocks_admit_test

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Auto-update sources used by bots

Need a page that lists the data sources, data used (relationships, etc), and latest version. That gets automatically updated.
This isn't sufficient: https://www.wikidata.org/wiki/User:ProteinBoxBot#Data_Sources

Added information about the data sources and relationships here: https://www.wikidata.org/wiki/User:ProteinBoxBot/Bot_Status
For the latest version, it can be inferred from the logs.. for now..


Tests might fail if path.join return string with backslashes

Some OS paths use backslash and it is the reason why some tests, which depent from path.join, might fail. Need to create wrapper for replace backslashes to slashes.

Need to fix non-slash baseUrl does not work (?)

fixed


Add the ability to store secrets in the database

This PR adds the ability to store secrets in the database, allowing for persistence during restarts.
This is done via the store_secrets configuration option
Resolves #36

@eengstrom pls review


Loads a blank screen in every browser

I just pulled down the new changes and it doesn't load in any browser. I reverted to sha c831747 and it works in Firefox

Damn. Well, I will investigate + fix - but not before Monday, as I will be gone for the whole weekend.

The problem is with toggle.js. It is included in the index.html, but not actually there.

Yeah, I forgot to git add that file after splitting the app into individual components.
It should be noted, though, that the latest commit (the one that does not really work) does not bring any radially new features (and therefore one has no real motivation to pull it). It is a scaffolding for a reworked storage system that will allow greater flexibility with remote storage servers.

Fixed in https://github.com/ondras/wwwsqldesigner/commit/dcea4c24e5efcb66cefb18eec8e7c9b596000867.


faster-whisper branch/revision has changed

the install for whisper-diarization references faster-whisper 0.10.0 but it no longer exists and has been replaced by 0.10.1, causing the whisper-diarization install to fail

not sure the issue is with whisper-diarization, possibly whisperx

while installaing whisper-diarization, the following error occurs in reference to the whisperx package referenced in requirements.txt
`Collecting faster-whisper<EMAIL_ADDRESS>Cloning https://github.com/SYSTRAN/faster-whisper.git (to revision 0.10.0) to /tmp/pip-install-t98pe8m2/faster-whisper_bc01692bbb944c809a2d3802bbe43af9
Running command git clone --filter=blob:none --quiet https://github.com/SYSTRAN/faster-whisper.git /tmp/pip-install-t98pe8m2/faster-whisper_bc01692bbb944c809a2d3802bbe43af9
WARNING: Did not find branch or tag '0.10.0', assuming revision or ref.
Running command git checkout -q 0.10.0
error: pathspec '0.10.0' did not match any file(s) known to git
error: subprocess-exited-with-error
× git checkout -q 0.10.0 did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git checkout -q 0.10.0 did not run successfully.
│ exit code: 1
╰─> See above for output.`

fixed


Added user-agent string solving #52

Added user-agent string solving #52

Coverage increased (+0.1%) to 100.0% when pulling 0c64095c727a986485729c251f817be0ad0948d5 on waldekmastykarz:user-agent-string into 5c1f8fb89f5ee65caff041fc5eda28f98e6b6c9c on SharePoint:dev.


Alternate Assets Base URL feature

I propose a new feature on the File class that allows you to serve assets from a separate domain. It can be used for things such as:

Serving files from a 'cookie-less' subdomain: set up an alternate vhost pointing to the existing assets folder and activate this option to update all asset links
Serving files from a subdomain for use with CDNs that like to cache via CNAME: same implementation as above option
Serving files from an optimised or centralised service: for example syncing assets to Amazon S3 and activating this option to point to the correct domain. Combined with a centralised or replicating database this enables load balancing between multiple servers.

Configuration
# _ss_environment.php
define('SS_ALTERNATE_ASSETS_BASE_URL', '//files.example.com/')

# config.yml
---
Name: my-cdn
---
Only:
  Environment: 'live'
---
File:
  alternate_base_url: '//files.example.com/'

Template
- Source template -
$SiteConfig.Logo                          <%-- A hypothetical Image field on SiteConfig --%>
Download our menu <%-- A hypothetical File field on the current page --%>

- Alternate Assets Base URL disabled -

Download our menu

- Alternate Assets Base URL enabled -

Download our menu

This pull request also includes tests for the new feature and a documentation update to ensure it's discoverable; note that I'm unsure if it's possible to unit test the _ss_environment.php option without breaking other tests in the same run, as you cannot unset constants at runtime.
I'd be interested in any feedback on this. I understand that some discussion and larger strategy is going on regarding making SilverStripe more friendly when it comes to CDNs and load balancing, however this is a simple change that could provide a lot of functionality for people choosing to use it.

This has been superceded by a major redevelopment of the assets system in SS4, so I'm going to close this.

Yeah, you can define a backend that serves from remote urls now. ;D Let me know if you have any questions.


python310Packages.django-compression-middleware: 0.4.2 → 0.5.0

Description of changes
Mainly better resiliency against malformed request headers: https://github.com/friedelwolff/django-compression-middleware/pull/12
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 223044 run on x86_64-linux 1

5 packages built:

paperless-ngx
python310Packages.django-compression-middleware
python310Packages.django-compression-middleware.dist
python311Packages.django-compression-middleware
python311Packages.django-compression-middleware.dist


Bump xstream to 1.4.18 due to high level vulnerabilities

Snyk detected the next vulnerabilities on prev version:
  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569176] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569177] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569178] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569179] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569180] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569181] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569182] in<EMAIL_ADDRESS>  ✗ Remote Code Execution (RCE) [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569183] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569185] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569186] in<EMAIL_ADDRESS>  ✗ Arbitrary Code Execution [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569187] in<EMAIL_ADDRESS>  ✗ Server-Side Request Forgery (SSRF) [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569190] in<EMAIL_ADDRESS>  ✗ Server-Side Request Forgery (SSRF) [High Severity][https://snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-1569191] in<EMAIL_ADDRESS>
xstream 1.4.18 has deprecated the method XStream.setupDefaultSecurity(xstream);

looks good; not sure of all the implications but will find out quickly if it doesn't work well enough, which I think is unlikely.

That is what I was afraid too, @ahgittin . There are always some dependencies that will cause us headaches. And the brooklyn build crashed...


IO error: creation time is not available for the filesystem

Describe the bug
i'm trying to analyze a binary on my ubuntu (wsl 1)

To reproduce

Expected behavior
its should be launching the binsider.

Screenshots / Logs

IO error: creation time is not available for the filesystem

Software information

Operating system: Ubuntu (wsl 1), Linux DESKTOP-UV8U09N 4.4.0-19041-Microsoft #2311-Microsoft Tue Nov 08 17:09:00 PST 2022 x86_64 x86_64 x86_64 GNU/Linux
Rust version: rustc 1.81.0 (eeb90cda1 2024-09-04)
Project version: binsider 0.1.0

duplicate: #21

thank you for your replies. the issue is fixed now


[TC-RVCOPSTATE-2.4] - The Python script should be updated in accordance with the latest changes in the Test Plan.

Feature Area
OperationalState
Test Case
[TC-RVCOPSTATE-2.4]
Reproduction steps
The Python script should be updated in accordance with the latest changes in the Test Plan.
Please refer to the Test Plan PR that has been updated for the relevant test case : https://github.com/CHIP-Specifications/chip-test-plans/pull/3915/files
Python Script : https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/TC_RVCOPSTATE_2_4.py
Test-Plan Reference :
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/rvcoperationalstate.adoc#tc-rvcopstate-2-4-gohome-command-dut_server
Bug prevalence
Whenever I do
GitHub hash of the SDK that was being used
7be9d886ffc50abcbc9fd96abad1cf5c2cab933a
Platform
raspi
Anything else?
No response

This looks like a duplicate of https://github.com/project-chip/connectedhomeip/issues/31829
If you agree, please close the issue


[Xbox] Xbox Controller Not Working

Reason:  AxisMaster is returning null.
Strangely enough, Vjoy device is also not getting it's axes captured: see image

Things I have already tried:

Universal Controller Remapper: This succeeds in creating virtual axes that allow the xbox controller to control the Vjoy Device. This would work great, but unfortuantely it uses the feeder to do so. This means our program cannot access it.

Found One reg path for axes: Computer\HKEY_CURRENT_USER\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\DirectInput\VID_045E&PID_02FF

Resolved https://github.com/zappybiby/SimShift/commit/1f267f836ee7b241ed17c91097ab3fa871a30499


Ember Engine Resolver does not find component installed via "ember install addon"

Dear Ember Engines team.
Great work.  I developed an addon that encapsulates some css and js files and I wanted to include that in my ember-engines application however, on visiting a route "http://localhost:4200/reservation/admin/access/login" that uses the addon component, I get the following error: "A helper named "admin-lte" could not be found".
Though this addon fails my ember-engines app, it successfully gets found when used in a new ember application created through "ember new", which leads me to suspect that perhaps the ember-engines resolver has probably not been adopted to find components added to ember-engines via "Ember install addon-name"?
I am working with the following releases:
(a). ember cli version: "2.7.0"
(b). ember-data: "2.7.0"
(c). ember: "2.7.2"
(d). node: "0.12.7"
(e). npm: "2.11.3"
(f). os: "darwin x64 El Capitan"
(g) jquery: "2.2.4"

What version of the ember-engines addon are you using?
I suspect that inside of the engine's package.json you need to declare a dependency on the addon. We also very intentionally isolate scopes, so what you're describing actually sounds like a feature, not a bug. 😄
I'm closing this issue but please feel encouraged to reopen it if upon further investigation on your side you discover that it may in fact be a bug. In the mean time we will still continue to receive notifications from any followup comments on this issue; being closed doesn't mean that we're ignoring the thread.
Ember and Ember CLI have committed to supporting the Node.js LTS schedule for the HEAD of our master branch(es). This means that we will will drop support for 0.10 on 2016-10-01 and 0.12 on 2016-12-31 per the Node.js Long-term Support Working Group's schedule.
Please stop by #-ember-cli in the Ember Community Slack if you find yourself still having issues; this is likely easier to work through synchronously. Also, if you can create a publicly postable reproduction of the behavior we'd be better-equipped to tell you what is going on.

Hi Nathanhammond.  Thanks for your quick response.  Well, since I am using ember 2.7.0, I have "ember-engines": "0.2.11" installed as per your documentation.
So, how do you  declare a dependency inside of the engine's package.json?
I have shared the repository on bitbucket with you on this email<EMAIL_ADDRESS>If you clone and run ember serve on the repo, please visit the following: http://localhost:4200/reservation/admin/access/login. (have configured the dummy the load the engine as you will see through this.mount).
You will see what I am talking about.  The addon that has the js and css I wanted to use is on npm as admin-lte-css-js.  This addon is the one that has the component "admin-lte" which fails to be discovered in the ember-engines application I have just shared with you.
Let me know your thoughts and many thanks.

It did the right thing for top-level dependencies, but this is something we need to make more clear inside of Ember CLI. I'll take that as a note for our meeting next week.

I am having the same issue today with ember-engines 0.5.14.
I've added the "semantic-ui-ember" addon with yarn add semantic-ui-ember, which adds it to the 'dependencies' block.
This addon provides a component named 'ui-accordion' for example. I am able to use this component in a template of the host app, but not in a template provided by the engine.

I should RTFM to myself!
My index.js file was not configured to use EngineAddon as described in the section Sharing Components and More of the guides.
Things just worked after that


"Radovan" , "Fântânele" , "Târnava" are listed in the drop-down menu

Description:
When user writes ”Radovan" , "Fântânele" , "Târnava" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Radovan"

Expected results
The location appears in the drop-down menu as "Sat Radovan, DOLJ (Radovan)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Târnava"

Expected results
The location appears in the drop-down menu as "Sat Târnava, DOLJ (Radovan)".


24 hour trend

The 24 hour trend line never matches with zoom. I agree the dataset I used us actually is almost constant so the hour average in the zoom is correct, but why the trend is not matching.

This happened because Plotly used inconsistent lower bounds for y-axis (0 vs the minimum latency) so scale is off. Should be fixed now by forcing minimum y range to be 0 on both plots

This happened because Plotly used inconsistent lower bounds for y-axis (0 vs the minimum latency) so scale is off. Should be fixed now by forcing minimum y range to be 0 on both plots


[0.1] Hotfix - UI tweaks

Fixes for #728.
I've changed how the locale button looks as:

It is unclear what it is
It doesn't work in modals
It doesn't work in slide-overs

These are all done @glennjacobs. I had to make some tweaks to the locale toggle so it's worth taking a look.


Support Local Package

Hey 👋
Really interesting tool you've created here!
I was wondering whether you'd be open to supporting (or maybe I'm being really obtuse and it already is?) running the commands against a local package?
I'm mostly looking at the binary-size tool which I'm curious about.
$ swift-package-info binary-size --package Path/To/PackageDir

This would be most helpful as part of an existing CI service as (in conjunction with #3) we would be able to loop it into other tooling to report on the estimated binary size impact of PRs!
Thanks 😄

Hey @Sherlouk 👋 , I'm glad you like it 😊.
That's indeed a great idea! There's no support yet, but it's feasible and would be something interesting to have.
I'll get some time next few days to work on it 👍 .
Also, let me know if you'd like to work on it or on #3 , I can help you with anything needed.
Thanks 😆!

FYI I'm starting to work on this. Will share details soon :).

Hey hey, I'm doing some code cleanups and adding additional tests, but the feature is almost ready to get out of the oven.
Usage wouldn't change much, as the current <repository-url> parameter is being renamed to , and will allow passing either a valid remote Git repository or a local directory path containing a Package.swift:
// remote
swift run swift-package-info --for https://github.com/ReactiveX/RxSwift

// local - with relative path
swift run swift-package-info --for ../RxSwift

// local - with full path
swift run swift-package-info --for /Users/myself/Documents/projects/third-party/RxSwift

Let me know in case you have any feedback.

Cool, I'll jump into #3 next ;).

This is available on latest version 1.0.0. I'm closing the issue, let me know in case you face any issues while using it.

$ swift-package-info --for Packages/ContentModels

Identified Swift Package:
Local path: Packages/ContentModels
Version: Undefined
Product: Undefined

Invalid product: Undefined

Using first found product instead: ContentModels

[6/7] Generating archive for updated app...Failed to measure binary size
Step: Archiving
Error:

+-----------------------------------------------+
|              Swift Package Info               |
|                                               |
|           ContentModels, Undefined            |
+--------------+--------------------------------+
| Provider     | Results                        |
+--------------+--------------------------------+
| Platforms    | System default                 |
| Dependencies | No third-party dependencies :) |
+--------------+--------------------------------+
> Total of 2 providers used.

Just given this a run on a local package and getting this 👀  Any tips?

Just run with verbose:
Running Shell command
Command line invocation:
    /Applications/Xcode122.app/Contents/Developer/usr/bin/xcodebuild archive -project swift-package-info/MeasurementApp.xcodeproj -scheme MeasurementApp -archivePath archive.xcarchive -configuration Release -arch arm64 CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO ENABLE_BITCODE=NO

User defaults from command line:
    IDEArchivePathOverride = /var/folders/54/7cl_0jq16sl8bg5xvn20skwm0000gn/T/archive.xcarchive

Build settings from command line:
    ARCHS = arm64
    CODE_SIGNING_ALLOWED = NO
    CODE_SIGNING_REQUIRED = NO
    ENABLE_BITCODE = NO

note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: Missing package product 'ContentModels' (in target 'MeasurementApp' from project 'MeasurementApp')

** ARCHIVE FAILED **

Finished Shell command

Command failed...
Failed to measure binary size
Step: Archiving
Error: ** ARCHIVE FAILED **

Oh, bummer 😂 .
Can you try it with --verbose on?
Is it by any chance an executable package? I ask since current binary size mechanism only works for libraries.

I intentionally chose the simplest package I have to start with, it's a single library (not executable)
I've also just tried it against Xcode 12.5 for a comparison point, and that's get's a very different error: https://gist.github.com/Sherlouk/1aed9679c290c3c42a117b37622de73a - but that's not repeatable and if I run it again it goes back to the error above:
Running Shell command
Command line invocation:
    /Applications/Xcode125b2.app/Contents/Developer/usr/bin/xcodebuild archive -project swift-package-info/MeasurementApp.xcodeproj -scheme MeasurementApp -archivePath archive.xcarchive -configuration Release -arch arm64 CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO ENABLE_BITCODE=NO

User defaults from command line:
    IDEArchivePathOverride = /var/folders/54/7cl_0jq16sl8bg5xvn20skwm0000gn/T/archive.xcarchive
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = arm64
    CODE_SIGNING_ALLOWED = NO
    CODE_SIGNING_REQUIRED = NO
    ENABLE_BITCODE = NO

note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
/var/folders/54/7cl_0jq16sl8bg5xvn20skwm0000gn/T/swift-package-info/MeasurementApp.xcodeproj: error: Missing package product 'ContentModels' (in target 'MeasurementApp' from project 'MeasurementApp')

If I open the MeasurementApp.xcodeproj then I see this:

Does look like something is genuinely not linked correctly

Thanks for all the information @Sherlouk , it's very useful.
And great you already tried on Xcode 12.5, I was going to check if it was anything related to Xcode and its command line tools version.
I tried here for RxSwift and another framework I have locally and it worked well.
I'll try to simulate it by creating a very simple local library with data structures only 👍 .

Okay so I've done a git diff within the folder the MeasurementApp is in and I see this:
+               1D615D546F42239F6C24CC61 /* ContentModels */ = {isa = PBXFileReference; lastKnownFileType = folder; name = ContentModels; path = Packages/ContentModels; sourceTree = "<group>"; };

The Packages/ContentModels is of course the path that I've passed in - but that relative path doesn't exist relative to the MeasurementApp.
I've now tried running with the absolute path to the package and I get this error instead:
** ARCHIVE SUCCEEDED **

Finished Shell command

Size on disk: 2.6 MB

Measuring app size with ContentModels added as dependency
Failed to measure binary size
Step: Undefined
Error: Unexpected failure. Please run with --verbose enabled for more details.

Doesn't give me a whole lot of information (that's with verbose!)

I was able to simulate with a local version of https://github.com/marinofelipe/CurrencyText. I'm on it.
Will share more details soon.

So, indeed the local package is not correctly resolved and linked against the MeasurementApp main target.
In the other hand I was able to successfully archive and measure binary size via drag and dropping the same framework as a local package into the MeasurementApp.
I'm currently investigating how exactly XcodeProj.addLocalSwiftPackage(path:productName:targetName:addFileReference:) is linking the local package, and alternatives to make it work properly.

Found the issue 🙌  !!
It was actually a dumb mistake 🙈 , as the path for referencing the local package in the MeasurementApp has to be adjusted to be relative to the app directory, which is not the same as the directory the user is running the tool.
It's sad that since most part of binary size calculation messes with updating projects/workspaces and etc, they are not unit testable at all, which would be great to avoid issues like that and potential regressions.
One caveat though is that XcodeProj only support relative paths:
///   - path: Relative path to the swift package (throws an error if the path is absolute)

Which means, at least for now, an absolute path won't work and will be discouraged/unsupported.

Ayy good work, and such a speedy find too!
I'm not hugely fussed about whether it's absolute path or relative path personally, I can make either/both work so if there's a technical reason to only support one then that's absolutely fine by my standards 😄
Let me know once a fix is ready (no rush) and I'll give it a go

Cool, thanks!
I have the same opinion, I expect that relative would be the most used, but maybe in some cases, the full path would also come in handy. But yeah, for now, that's what we have so... it's good enough :).
I'll get a break for Today, but Tomorrow whenever ready I'll let you know.


Can't add pull requests widget for organization private repo

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.22621.1702
Other software
OS Build Version: 10.0.22621.1702.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16
Steps to reproduce the bug
Add widget, pull requests, then enter the url to an organization's private repo and click the arrow
Expected result
Adding is blocked by the organization's oauth policy, and the requests appears in the GitHub org's oauth policy page to be approved.
Actual result
Adding is blocked by the organization's oauth policy, but there is no request to be approved so no way to unblock this.
Included System Information
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
Physical Memory: 63.68GB (44.49GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_<IP_ADDRESS>_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_<IP_ADDRESS>_x64__8wekyb3d8bbwe

@tristanlabelle an organization admin must add/approve the github extension


Update proguard-rules.pro

Don't warn SuppressFBWarnings annotation used in com.liulishuo.okdownload.DownloadContex.java
Fix #99

Codecov Report

Merging #150 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #150   +/-   ##
=======================================
  Coverage   83.28%   83.28%
=======================================
  Files          63       63
  Lines        3774     3774
  Branches      611      611
=======================================
  Hits         3143     3143
  Misses        364      364
  Partials      267      267

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97da7cd...482631c. Read the comment docs.

yes we use Findbugs annotation to suppress some we known warning, but I didn't occur such issue with task transformClassesAndResourcesWithProguardForRelease, how can I reproduce such issue?


Hamburger menu not working

The hamburger menu in hugo-acdemic is not working for me either on small screens on desktop machines using any browser (Safari, Firefox, Chrome), nor on mobile devices (iPhone, iPad).  Specifically, the menu shows up, but clicking it does nothing.
I'm running Hugo 0.46 and hugo-academic 2.3, but the issue has been present for at least a month, using previous versions.

Closing as I cannot reproduce this behaviour using the latest master version of Academic. Please use the support forums for further assistance - sharing a link to your repository code there may help.


add autocomplete to textarea and select

couldn't add it to the Select from react-select as it seems it doesn't support it - i get the following error message:
Property autoComplete does not exist on type
IntrinsicAttributes & Omit<PublicBaseSelectProps<unknown, boolean, GroupBase<unknown>>, StateManagedPropKeys> & Partial<...> & StateManagerAdditionalProps<...> & RefAttributes<...>

not sure what to do for that one.
should close https://github.com/pydantic/FastUI/issues/92

great, thanks so much.


Item persisting on the map after saving fix

This should fix #2810 's fix
There shouldn't be a case for seeing other people's items (yet)
This fix adds preAutoSave and postAutoSave to the game so that items can be destroyed before they are saved by the system. The save method was just separated into 2 not so distinct ones.
This should prevent items from being despawned from your hand while playing as well (at least from the save PoV)
The problem was that the item held in your hand wasn't ever being destroyed, and was kept in the save as well. This created a floating mesh for the rest of eternity on the map.
The fix is that it's destroyed only during forced save and not auto.
I checked for the item remaining on the map in single player and multiplayer, and there doesn't seem to be any type of issue.

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Tested this out - while I seemingly replicated the old issue (held item at 0 0 0 after sort sort of save/reload) once I couldn't do it again, and at no point did I see the held item persisted where I left a player. So maybe the one replication was a fluke / dirty workspace (happened on the first test, JoshariasSurvival in single player)
This PR is technically an API violation as it adds new required methods to the ComponentSystem interface. While related engine classes are tweaked there are usages in modules (like WorldPortals) that would break. To avoid that I made the new methods default` which also allowed me to remove the empty implementations in some implementors.
I tested out Inferno (depends on WorldPortals) while making sure my local WP hadn't rebuilt. It made it through an autosave cycle successfully so .. yay? Default method to the rescue? Hopefully I'm doing it right :-)
The actual architectural split between the two types of saves seem fair enough to me. Maybe something could still be improved further - I wonder if I triggered it by killing the game after/during an auto-save rather than exit gracefully triggering the non-auto-save that includes the held item kill?
Thanks @portokaliu!


Encapsulate parameters.py into a class

This will allow us to cleanly assign methods for initializing and changing parameters, instead of going through command_definitions to do the same thing.

Turns out putting the attributes of parameters.py into a class would make setting the parameters kinda funky since it'd be trying to set itself. Got around this using some parameter util functions that do all the work we need


Indication of MJS and CJS

Great work for the last patch, if you want more fun, you can rename file endings to *.mjs aswell, that indicates to all tools what they are dealing with.
At the same while renaming CommonJS to *.cjs, so everything "just werkz":

will this require changes to the rollup config?  also is there an advantage to this outside of allowing users to execute the src folder code?  ideally the src folder is not executed by consumers

will this require changes to the rollup config?

Yep, basically just input: 'src/aimless.js' -> input: 'src/aimless.mjs'

ideally the src folder is not executed by consumers

That is a fatal assumption you better forget about modern JavaScript.
Source code thrown through build tools in general is more:

bug ridden
accompanied by sourcemap issues
minified / unreadable / undebuggable

Well i think the sales pitch for build tools has always been 2 things:

enable the use of ES6+ through babel
tree shake, minify, and/or take steps to minimize bundle size

Of the two, (2) is the essential piece, since every character of code written in frontend must be downloaded by clients before viewing the webpage.  This means that minimizing size has always been the essential aim of high performing code that can run on any machine in the world.
It's also the reason that this library has no dependencies.  Dependencies lead to large bundles which means more data needed to download in the browser, and therefore worse performance for the end user.
Importing src files ignores (1) and (2), despite the publishers best efforts.  I'd argue that is more dangerous.  src code is there for reference since the dist is unreadable.

Yep, I agree with all your points. Once developing is "done", an artifact needs to be generated, which is as small as it gets, supporting old ES5 browsers etc.
Before that, you are in the coding process, in which speed is key. Since you (as a dev - should use e.g. latest Chrome), you don't have all these restrictions for yourself.
I'm developing via ES6 using many different ES6 libs which I all pull in directly from /src/:

More than 800 files, including wasm files etc... several hundred ES6 files are in the first second, using around 500-600ms.
So why don't I just use a bunch of dist.js files? The reality of a dev is to constantly test different PR's and quickly test old code or write new code. If for every minuscule PR/test you first have to spawn a bunch of shells to start build/watch processes, you are wasting crucial "flow time" and get less work done.
For the end user, all this doesn't really matter, but you as a dev get more "quality work time" (which also serves the end users of course later).

I see what you're saying.  a lot of stuff we do is centered around working with other devs, and improving that flow state.  so why would we use tools that slow us down when we don't need to, instead use those tools only to enable performance of end user (production env, distributed release).
It's a good point, I don't think many people care about that level of optimization on the dev side.  I'll test the rename and see if the generated bundle is still working as expected

s/completed/completely destroyed/ :joy:
gg & gl


Rename controller-manager to controller

Because this changes the deployment name in the CSV, it should allow for OLM upgrades despite the change in label selectors.
Fixes #882
/cc @yevgeny-shnaidman @ybettan

/retest

/lgtm

/cherry-pick release-2.0


Force http in tests

The prior change did fix the invalid cert issue, but then some tests started failing only on net461 with an algorithm conflict. @javiercn you may want to check the default algorithms between a net461 client and a Core server.
Different fix: force these tests to use http.
Feel free to merge, I may be offline.

@muratg I'm already filing

@muratg https://github.com/aspnet/MetaPackages/issues/252
I do believe what @Tratcher means is that there is a conflict between the default algorithms used by HTTP Client when establishing an HTTPS connection to a Kestrel server on the edge exposing an HTTPS endpoint. Maybe @halter73 knows something about it?

Seems like the build is hanging on appveyor. Is there any way to re-trigger it? @ryanbrandenburg

I've pushed an empty commit to the branch to re-trigger the appveyor build


+verbosity at component loading AttributeError

targets #380

@adamghill LGTM, can we merge this?

Sorry this took so long, but it is merged now.


Proper UI appearance for UI Prefab

Detail
Currently, the UI is pure button with text. We need icon so that the default UI Prefab is directly usable.
We need following UI Elements:

Cardboard icon for switching vr view
QR code scan icon
split line at the middle bottom of the screen
Cancel or back button on top left side

These will be how it looks like default. Dev teams can modify it as they see fit.


I would show the Git integration and nbdiff after we have started with "A first computational notebook"

I think this will flow better: We start with the notebook, commit, push, do some more changes, inspect diff, discover nbdiff.

After experimenting and thinking more, I think it is fine as is. Closing.


buck2 can't upgrade / buck2 help server could use some love

I figured I'd update my buck installation, so I ran cargo install again, with -f, which is how I update things that cargo installs normally.
I ended up getting Access is denied. (os error 5), which is unusual; given that cargo installs to a local directory, rather than one system-wide, you generally don't need elevated permissions to remove or update programs.
Thinking about this for a moment, I realized the server is probably running somewhere. The help output is... not helpful:
〉buck2 help server
buck2.exe-server
Start, query, and control the http server

USAGE:
    buck2.exe server [OPTIONS]

OPTIONS:
    -h, --help
            Print help information

    -v, --verbose <NUMBER>
            How verbose buck should be while logging. Values: 0 = Quiet, errors only; 1 = default; 2
            = more info about errors; 3 = more info about everything

            [default: 1]

There's nothing in those options about how to start or stop the server.
In the end, I used Task Manager to just kill it, and after that, a new cargo install went off without a hitch. But knowing what the right way to do this would be nice, haha. I suspect that you just don't notice this happening on a Unix system, you can replace executables while they're running, no problems, but Windows does not like that much.

buck2 killall is the magic command you are looking for.
I also encounter this on the regular, it can be quite frustrating.

buck2 kill kills just the instance you are talking to, so that would be the first place to start. killall looks for all Buck daemons in all isolation directories, so is more of the nuclear option. Although that is perhaps appropriate if you need to upgrade Buck2.


fix: Removed orphaned file & reference

Description

Pipeline Reference

Pipeline

Type of Change

[ ] Update to CI Environment or utlities (Non-module effecting changes)
[ ] Azure Verified Module updates:

[ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] Breaking changes and I have bumped the MAJOR version in version.json.
[x] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] I have run Set-AVMModule locally to generate the supporting module files.
[x] My corresponding pipelines / checks run clean and green without any errors or warnings

@jtracey93 / @matebarabas are we delaying the merge until @krbar had a chance to re-assign ownership of the team(s)?

@jtracey93 / @matebarabas are we delaying the merge until @krbar had a chance to re-assign ownership of the team(s)?

I think we should move forward with this, as the GH team ownership is handled in a separate issue (opened by the team linter bot), and we also keep the orphaned module issue open until it's fully concluded. With other words, there are 2 things that need the happen independently, and this is one of them. Let's merge it!


Tracking multiple URL's within a campaign

Just started working with KP, and appreciate the work and effort you folks have put into building and supporting this project.  I have two quick questions:

What would be your suggestion for the best way to track users accessing different URL's on the KP server?  For example, I have a standard landing page, but also an "unsubscribe" link in the message template.  I am experimenting with using POST requests to send data to the creds table, but ultimately I would rather see the specific URL's accessed by the users in the Visits table.  Any thoughts on a perhaps better way to accomplish this?

What is the TAG/Type functionality used for?  Is there any way to integrate this into a web or e-mail template?  I haven't see any reference in the templates documentation.

Thanks again!

Question 1
So you can track different URLs in a sort of indirect fashion. The easiest would probably be to set the Web Server URL as the first URL you want to track and send yourself a single test message. Then while in the same campaign, delete your previously sent test message, set the Web Server URL to the second URL you want to track and proceed as usual. What this does is causes both to be created as landing pages that are associated with one campaign.
Alternatively you could have a single landing page that redirects or changes the content based on a query variable like ?page=unsubscribe vs ?page=login. Of course unsubscribe and login could be numbers or what ever you'd like.
Question 2
The tag editor allows you to change tags, which are basically small pieces of metadata that are applied to different things. For example campaign types are a tag that are applied to campaigns. Basically, it's a short name with a description. In the case of the campaign type, it can be whatever you want to use it for, it's entirely optional. We use it internally to classify our campaigns based on what data we're trying to collect so we know what constitutes a success (visit, credential, nothing in the case of test / demo campaigns) and can more accurately analyze the data later.

Thanks for the info, Z.  I accomplished what I wanted (tracking access to specific landing pages) through a bit of a hack, using the Credential storing ability as a placeholder for the data I was looking for.  Here's what I did:
In the e-mail template:
For any landing page besides the default, for the href use: href="{{ url.webserver_raw }}/some_landing_page.html?id={{ uid }}"
In the landing page:
<iframe name="shim" style="align:left;border:2px;width:100%;height:1px" src="/images/trans.gif"></iframe>

<form name="unsub" id="unsub" method="post" action="./shim.html" target="shim">
	<input type="hidden"   id="username" name="username" value="{{ client.first_name }} {{ client.last_name }}" />
        <input type="hidden"   id="password" name="password" value="some note to track" />
	</form>

<script type="text/javascript">document.getElementById("unsub").submit();</script>

The shim.html page can be anything, include just a blank page, I put some debug information that I can use when troubleshooting data.
This gives me the data that I am looking for, and unique visits by user are still handled properly.  Not the most elegant solution, but it does the trick for now.  I am going to experiment with your query valuable above at some point, it is something I used to do in my prior PHP version of my landing website.  I will update if I come up with something more elegant!
Thanks!

Cool sounds good! Yeah there's a few ways to accomplish the same things sometimes. I'd like to take it as a sign that we've succeeded in making the tool quite flexible. If there's something you need added into to the variables let me know through another ticket. Adding Jinja variables, functions, filters etc are some of the easiest changes we can make.
If you start to get hard core into template design, you might find the page-variables.html page useful. We keep it for debugging purposes and it shows the status of all of the variables. Just drop it in your webroot, send yourself a test message and then view the page.


Rewrite RawPixel.py using new ImageStore class - raw_pixel.py

Fixes #256
Description
Initial work based on #257, credits to him.

[x] Uses new ImageStore class
[x] Uses new DelayRequester class
[x] etlMods unused
[x] Conforms to PEP8 wherever possible (tested using pycodestyle)
[x] Split process_image_data() method into smaller methods
[x] Add test suite test_raw_pixel.py

Other information
For #210, as pointed out, the answer is artist_names
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@mathemancer can I get a review up to now?

Hey, @sp35 Is this ready for re-review?  If so, please request a re-review through the Github interface.

@mathemancer Are you waiting for something else?

@mathemancer Fixed that


The mkdocs-exporter pypi library fails to install into the latest, official mkdocs-material Docker container image

This issue from the microsoft/playwright-python project appears to be related.
TL;DR: Since mkdocs-exporter relies on playwright and (as of 2024-06-20) it does not provide install instructions or a package for Alpine, without deep diving into what Alpine system-level dependencies are required (and if they are even available via official Alpine repos), there is no way to install mkdocs-exporter into Alpine-based docker images. Those that attempt an install will receive playwright related errors below. Unfortunately, the offical mkdocs-material, is Alpine based at this time. So a supported theme (material) is only available to mkdocs-exporter+mkdocs-material users if they manually install mkdocs-material and mkdocs-exporter onto a playwright supported OS (like Debian). This issue provides a sample Dockerfile that does exactly this and works as of 2024-06-20 with the current latest versions of mkdocs-material, mkdocs-exporter, and the playwright Pypi packages; however, it would be great if mkdocs-exporter developers could figure out how to allow for Alpine based installs or (at a mimimum) advertise that they do not support Alpine-based deployments.
Expected Behavior
Given I attempt to install mkdocs-exporter into the official, latest docker.io/squidfunk/mkdocs-material:9.5.27 (v9.5.27 at the time of this bug report) Docker container image like so,
FROM docker.io/squidfunk/mkdocs-material:9.5.27
RUN pip install mkdocs-exporter

as described by the official mkdocs-material documentation for installing additional python plugin libraries,
When I execute a docker build command, like so,
 docker build -t mkdocs-material-with-exporter .

Then the Docker container image builds successfully and mkdocs-exporter functions as described in the documentation when using it to export mkdocs sites as PDFs.
Observed Behavior
Given I attempt to install mkdocs-exporter into the official, latest docker.io/squidfunk/mkdocs-material:9.5.27 (v9.5.27 at the time of this bug report) Docker container image like so,
FROM docker.io/squidfunk/mkdocs-material:9.5.27
RUN pip install mkdocs-exporter

as described by the official mkdocs-material documentation for installing additional python plugin libraries,
When I execute a docker build command, like so,
 docker build -t mkdocs-material-with-exporter .

Then the Docker container image fails to build, and provides the following error messages:
[+] Building 5.5s (6/6) FINISHED                                                                      docker:default
 => [internal] load build definition from Dockerfile                                                            0.0s
 => => transferring dockerfile: 117B                                                                            0.0s
 => [internal] load metadata for docker.io/squidfunk/mkdocs-material:9.5.27                                     0.5s
 => [auth] squidfunk/mkdocs-material:pull token for registry-1.docker.io                                        0.0s
 => [internal] load .dockerignore                                                                               0.0s
 => => transferring context: 2B                                                                                0.0s
 => CACHED [1/2] FROM docker.io/squidfunk/mkdocs-material:9.5.27@sha256:257eca88da7f42242cd05e8cebf6d10ebd079e  0.0s
 => ERROR [2/2] RUN pip install mkdocs-exporter                                                                 4.9s
------
 > [2/2] RUN pip install mkdocs-exporter:
1.554 Collecting mkdocs-exporter
1.635   Downloading mkdocs_exporter-6.0.0-py3-none-any.whl.metadata (5.5 kB)
1.752 Collecting beautifulsoup4>=4.12.2 (from mkdocs-exporter)
1.766   Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
1.998 Collecting libsass>=0.22.0 (from mkdocs-exporter)
2.010   Downloading libsass-0.23.0.tar.gz (316 kB)
2.077      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 316.1/316.1 kB 5.3 MB/s eta 0:00:00
2.119   Preparing metadata (setup.py): started
2.740   Preparing metadata (setup.py): finished with status 'done'
3.005 Collecting lxml>=4.9 (from mkdocs-exporter)
3.019   Downloading lxml-5.2.2-cp311-cp311-musllinux_1_2_x86_64.whl.metadata (3.4 kB)
3.028 Requirement already satisfied: mkdocs>=1.4 in /usr/local/lib/python3.11/site-packages (from mkdocs-exporter) (1.6.0)
3.114 INFO: pip is looking at multiple versions of mkdocs-exporter to determine which version is compatible with other requirements. This could take a while.
3.114 Collecting mkdocs-exporter
3.127   Downloading mkdocs_exporter-5.3.1-py3-none-any.whl.metadata (5.8 kB)
3.243 Collecting importlib-metadata>=6.0 (from mkdocs-exporter)
3.258   Downloading importlib_metadata-7.1.0-py3-none-any.whl.metadata (4.7 kB)
3.355 Collecting importlib-resources>=5.0 (from mkdocs-exporter)
3.367   Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB)
3.377 Requirement already satisfied: mkdocs-material<10.0.0,>=9.4.14 in /usr/local/lib/python3.11/site-packages (from mkdocs-material[imaging]<10.0.0,>=9.4.14->mkdocs-exporter) (9.5.27)
3.456 Collecting nest-asyncio>=1.5.6 (from mkdocs-exporter)
3.469   Downloading nest_asyncio-1.6.0-py3-none-any.whl.metadata (2.8 kB)
3.480 Collecting mkdocs-exporter
3.495   Downloading mkdocs_exporter-5.3.0-py3-none-any.whl.metadata (5.8 kB)
3.536   Downloading mkdocs_exporter-5.2.1-py3-none-any.whl.metadata (5.6 kB)
3.567   Downloading mkdocs_exporter-5.2.0-py3-none-any.whl.metadata (5.6 kB)
3.602   Downloading mkdocs_exporter-5.1.0-py3-none-any.whl.metadata (5.4 kB)
3.637   Downloading mkdocs_exporter-5.0.0-py3-none-any.whl.metadata (5.4 kB)
3.669   Downloading mkdocs_exporter-4.1.0-py3-none-any.whl.metadata (5.4 kB)
3.694 Collecting importlib-metadata<5.0 (from mkdocs-exporter)
3.706   Downloading importlib_metadata-4.13.0-py3-none-any.whl.metadata (4.9 kB)
3.717 INFO: pip is still looking at multiple versions of mkdocs-exporter to determine which version is compatible with other requirements. This could take a while.
3.718 Collecting mkdocs-exporter
3.731   Downloading mkdocs_exporter-4.0.2-py3-none-any.whl.metadata (5.4 kB)
3.766   Downloading mkdocs_exporter-4.0.1-py3-none-any.whl.metadata (5.4 kB)
3.809   Downloading mkdocs_exporter-4.0.0-py3-none-any.whl.metadata (5.4 kB)
3.846   Downloading mkdocs_exporter-3.1.1-py3-none-any.whl.metadata (5.4 kB)
3.881   Downloading mkdocs_exporter-3.1.0-py3-none-any.whl.metadata (5.4 kB)
3.899 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
3.915   Downloading mkdocs_exporter-3.0.3-py3-none-any.whl.metadata (5.4 kB)
3.956   Downloading mkdocs_exporter-3.0.2-py3-none-any.whl.metadata (5.4 kB)
3.993   Downloading mkdocs_exporter-3.0.1-py3-none-any.whl.metadata (5.4 kB)
4.034   Downloading mkdocs_exporter-3.0.0-py3-none-any.whl.metadata (5.4 kB)
4.079   Downloading mkdocs_exporter-2.0.2-py3-none-any.whl.metadata (5.4 kB)
4.122   Downloading mkdocs_exporter-2.0.1-py3-none-any.whl.metadata (4.7 kB)
4.168   Downloading mkdocs_exporter-2.0.0-py3-none-any.whl.metadata (4.6 kB)
4.197   Downloading mkdocs_exporter-1.3.0-py3-none-any.whl.metadata (4.7 kB)
4.216 Requirement already satisfied: mkdocs-material-extensions<2.0.0,>=1.1.1 in /usr/local/lib/python3.11/site-packages (from mkdocs-exporter) (1.3.1)
4.231   Downloading mkdocs_exporter-1.2.2-py3-none-any.whl.metadata (4.4 kB)
4.264   Downloading mkdocs_exporter-1.2.1-py3-none-any.whl.metadata (4.4 kB)
4.302   Downloading mkdocs_exporter-1.2.0-py3-none-any.whl.metadata (4.4 kB)
4.345   Downloading mkdocs_exporter-1.1.0-py3-none-any.whl.metadata (4.5 kB)
4.386   Downloading mkdocs_exporter-1.0.2-py3-none-any.whl.metadata (4.4 kB)
4.420   Downloading mkdocs_exporter-1.0.1-py3-none-any.whl.metadata (4.1 kB)
4.454   Downloading mkdocs_exporter-1.0.0-py3-none-any.whl.metadata (4.0 kB)
4.490   Downloading mkdocs_exporter-0.0.2-py3-none-any.whl.metadata (4.0 kB)
4.521   Downloading mkdocs_exporter-0.0.1-py3-none-any.whl.metadata (1.4 kB)
4.534 ERROR: Cannot install mkdocs-exporter==0.0.1, mkdocs-exporter==0.0.2, mkdocs-exporter==1.0.0, mkdocs-exporter==1.0.1, mkdocs-exporter==1.0.2, mkdocs-exporter==1.1.0, mkdocs-exporter==1.2.0, mkdocs-exporter==1.2.1, mkdocs-exporter==1.2.2, mkdocs-exporter==1.3.0, mkdocs-exporter==2.0.0, mkdocs-exporter==2.0.1, mkdocs-exporter==2.0.2, mkdocs-exporter==3.0.0, mkdocs-exporter==3.0.1, mkdocs-exporter==3.0.2, mkdocs-exporter==3.0.3, mkdocs-exporter==3.1.0, mkdocs-exporter==3.1.1, mkdocs-exporter==4.0.0, mkdocs-exporter==4.0.1, mkdocs-exporter==4.0.2, mkdocs-exporter==4.1.0, mkdocs-exporter==5.0.0, mkdocs-exporter==5.1.0, mkdocs-exporter==5.2.0, mkdocs-exporter==5.2.1, mkdocs-exporter==5.3.0, mkdocs-exporter==5.3.1 and mkdocs-exporter==6.0.0 because these package versions have conflicting dependencies.
4.534
4.534 The conflict is caused by:
4.534     mkdocs-exporter 6.0.0 depends on playwright>=1.33
4.534     mkdocs-exporter 5.3.1 depends on playwright>=1.33
4.534     mkdocs-exporter 5.3.0 depends on playwright>=1.33
4.534     mkdocs-exporter 5.2.1 depends on playwright>=1.33
4.534     mkdocs-exporter 5.2.0 depends on playwright>=1.33
4.534     mkdocs-exporter 5.1.0 depends on playwright>=1.33
4.534     mkdocs-exporter 5.0.0 depends on playwright>=1.33
4.534     mkdocs-exporter 4.1.0 depends on playwright>=1.33
4.534     mkdocs-exporter 4.0.2 depends on playwright>=1.33
4.534     mkdocs-exporter 4.0.1 depends on playwright>=1.33
4.534     mkdocs-exporter 4.0.0 depends on playwright>=1.33
4.534     mkdocs-exporter 3.1.1 depends on playwright>=1.33
4.534     mkdocs-exporter 3.1.0 depends on playwright>=1.33
4.534     mkdocs-exporter 3.0.3 depends on playwright>=1.33
4.534     mkdocs-exporter 3.0.2 depends on playwright>=1.33
4.534     mkdocs-exporter 3.0.1 depends on playwright>=1.33
4.534     mkdocs-exporter 3.0.0 depends on playwright>=1.33
4.534     mkdocs-exporter 2.0.2 depends on playwright>=1.33
4.534     mkdocs-exporter 2.0.1 depends on playwright>=1.33
4.534     mkdocs-exporter 2.0.0 depends on playwright>=1.33
4.534     mkdocs-exporter 1.3.0 depends on playwright>=1.33
4.534     mkdocs-exporter 1.2.2 depends on playwright>=1.33
4.534     mkdocs-exporter 1.2.1 depends on playwright>=1.33
4.534     mkdocs-exporter 1.2.0 depends on playwright>=1.33
4.534     mkdocs-exporter 1.1.0 depends on playwright>=1.33
4.534     mkdocs-exporter 1.0.2 depends on playwright>=1.33
4.534     mkdocs-exporter 1.0.1 depends on playwright>=1.33
4.534     mkdocs-exporter 1.0.0 depends on playwright>=1.33
4.534     mkdocs-exporter 0.0.2 depends on playwright>=1.33
4.534     mkdocs-exporter 0.0.1 depends on playwright>=1.33
4.534
4.534 To fix this you could try to:
4.534 1. loosen the range of package versions you've specified
4.534 2. remove package versions to allow pip attempt to solve the dependency conflict
4.534
4.535 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
------
Dockerfile:2
--------------------
   1 |     FROM docker.io/squidfunk/mkdocs-material:9.5.27
   2 | >>> RUN pip install mkdocs-exporter
   3 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install mkdocs-exporter" did not complete successfully: exit code: 1

Additional Notes
Running pip --debug install mkdocs-exporter on the RUN line of the Dockerfile yields a more robust error message with colorized output. I have not provided that here due to the length of the output, the custom formatting that will likely get mangled, and how easily reproducible it is on a developer's local machine.
I have attempted this same install procedure with downgraded versions of both the Docker container image and the mkdocs-exporter library, so I suspect it has been an issue for a while.
I have attempted explicitly installing playwright via pip install playwright inside the container and experienced similar errors.
$ docker run --rm -it --entrypoint '' docker.io/squidfunk/mkdocs-material:9.5.27 /bin/sh
/docs # pip install playwright
ERROR: Could not find a version that satisfies the requirement playwright (from versions: none)
ERROR: No matching distribution found for playwright

Attempting to install older versions of playwright explicitly (playwright==1.33.0, for example) yields the same results.
The docker.io/squidfunk/mkdocs-material:9.5.27 image uses Alpine 3.19.1, which is still supported by the Alpine team until 2025-05-09.
It looks like playwright is not installable on the upstream vanilla Alpine image either based on this test:
$ docker run --rm -it --entrypoint '' docker.io/alpine:3.19.1 /bin/sh
# apk add python3
# apk add py3-pip
# pip install --break-system-packages playwright

However, it has no issues on this Debian-based image:
$ docker run --rm -it --entrypoint '' docker.io/python:3-bookworm /bin/sh
# pip install playwright

I was able to get mkdocs-exporter working by translating the official mkdocs-material Dockerfile to a functionally equivalent Debian-based one, but that solution is not exactly ideal. For anyone else trying to solve this same issue in the interim, here is the Dockerfile:
FROM python:3.11-bookworm

# Build-time flags
ARG WITH_PLUGINS=true

# Environment variables
ENV PACKAGES=/usr/local/lib/python3.11/site-packages
ENV PYTHONDONTWRITEBYTECODE=1

# Set build directory
WORKDIR /tmp

# Copy files necessary for build
COPY mkdocs-material/material material
COPY mkdocs-material/package.json package.json
COPY mkdocs-material/README.md README.md
COPY mkdocs-material/*requirements.txt ./
COPY *requirements.txt ./
 Here is the original Dockerfile that this one is based on. This Dockerfile assumes that you have done a git clone of squidfunk/mkdocs-material from Github and that repository is in a subdirectory relative to this Dockerfile.
The biggest differences between this Dockerfile and the official one from mkdocs-material are:

Debian vs Alpine based, so FROM line is different and apt is used instead of apk for system pkg installs
Equivalent package names are different (some are not required) on Debian vs Alpine
tini is installed in a different directory so the ENTRYPOINT is different
Cannot remove the .cache directory because this is where PDFs are cached post-build
Removed the user-requirements.txt install lines and hardcoded the install of libraries like mkdocs-exporter
Not clearing the package manager cache or removing build deps after system pkg installs

Hi @codrcodz,
Yes, this is an expected issue.
As you've mentioned, Playwright is not supported on non-glibc based Linux distributions (including Alpine):

https://playwright.dev/python/docs/intro#system-requirements
https://adrienbrignon.github.io/mkdocs-exporter/configuration/generating-pdf-documents/#prerequisites

To work around this issue, MkDocs Exporter provides a Dockerfile that builds a compatible image based on a supported operating system (Ubuntu).


Create rbenv-plugins organization to track maintainer approved plugins.

Repositories under this organization would replace the current wiki list.
It has the benefit of widening the list of maintainers that can makes changes/fixes.  Hopefully this can relieve any burden a plugin author encounters, without them having to grant access to their repo.
It gives people a one-stop place to look for plugins.
Not sure if issues lists should be opened - my feeling is yes but current upstream developers might object?
It also has the benefit for giving scripts such as rbenv-installer a single plugin reference point.

We've created the "rbenv" organization where we have pulled official plugins in (mostly ones that were written by @sstephenson and I), and will continue to do so in the future. All other plugins should be maintained by the community in separate projects, like they are right now. We won't maintain a separate rbenv-plugins org just yet.


Fix wire_holograms_modelany not working

Fixes #1311 and cleans up the code a bit.

For reference, here are the changes to hologram.lua from 03e1ffb and this PR:
https://github.com/wiremod/wire/commit/4b315d1d5c21d0744f5e5062ed824e67ac89dded
Looks good to me, the cleanup gets it back to how it was before 03e1ffb.
Can be merged as soon as it has been shown that this does not allow anyone to crash the game who cannot also crash the game in another way.
I see the following cases:

user crashing their own client

trivial to crash => ignore

sufficiently privileged admin crashing the server

trivial to crash => ignore

unprivileged user crashing the server

not possible to do with a model that the server doesn't even have

sufficiently privileged admin crashing another client

trivial to crash => ignore

unprivileged user crashing another client

@bigdogmat this is what you need to show

Wouldn't both users need to have the model that causes the crash? And if it belongs to an asset from another game or mod, that's really Not Our Fault® and the model that caused the crash needs to be reported to the creator. The only exceptions are special models such as effects, which I could see crashing the game but aren't really supposed to cause a crash, in which case there would be an argument for creating a blacklist.

we can't really know if a model is affected unless we can inspect that model server-side.
A solution would be to inspect the model on the client that displays it.
We're already doing the scaling client-side, so setting the model client-side in case of "wire_holograms_modelany 2" would not be much more complicated, right?

So, you'd like a basic client-side sanity check?

I can't show that unless I have a model that is known is crash people.
Also how would we do a sanity check? There's nothing we're currently checking with the models other than what WireLib.CanModel provides, while we can do this check client side, I wouldn't know where to do it.

Yeah I'm ok with it on the condition that someone looks into checking models client-side in the aftermath.

on the condition that someone looks into
@TomyLobo
Don't mean to be rude, but that is the exact kind of sentence that gets a PR frozen for months without movement on here it seems heh, who is the best to look into such a thing?

@TomyLobo did say "in the aftermath", so I'm going to merge this so that we get to the aftermath.


Post about this library on https://proandroiddev.com

I'm already a writer in that community with several non-self-promotional posts so I should be able to promote this library there no problem =)

Published on October 4, 2021! https://proandroiddev.com/android-contacts-reborn-19985c73ad43
I've been working on a draft of that article for over a year. I managed to convince the proandroiddev mods to get it published under their publication =)


Updating Dependency Doc for Ubuntu 18.04

qt5-default is needed to build else there be error on cmake -
could not find a Qt installation of ''

This is a potentially destructive change and could break compilation of other projects that aren't using qt5, so shouldn't be in the list of packages to be installed.
The documentation already mentions that qmake may not be configured by default to use Qt5 and explains that qtchooser can be used to select it:

On any distribution if you find qmake isn't available under its default name, or if qmake -v lists a Qt4 version, make sure you have qtchooser installed in your package manager and use it to select Qt5. This might be done by exporting QT_SELECT=qt5, but check with your distribution for details.


Browser block has no content at all.

I added a browser block which is not working properly. The setup is exactly the same as another browser block, which is working perfectly. I created an reproduction of my issue at: https://github.com/amirakbulut/Twill-reproduce
Curious towards what I'm missing..

Anyone? Would really appriciate some help on what I'm doing wrong.

Solved it :)


Onivim Fold

Persistent folding not working need some help!
augroup AutoSaveFolds
autocmd!
autocmd BufWinLeave * mkview
autocmd BufWinEnter * silent loadview
augroup END
This gives error in onivim.

It's hard to debug if we don't know what is the error message.

@Sandee022 Any help? It's not clear what the issue is and how to reproduce.


Parsing failure for negative values in arrays.

I found that if value in an array is negative (other than the first value), it won't parse.
See:
#include "jvar.h"
using namespace jvar;
int main(int argc, char** argv)
{
const char *test = "{"angle":[171.8,20,2,3,-96.3,20.6]}";
Variant array;
array.parseJson(test);

puts(array.toString().c_str());

}
Gives:
Json parsing failed: Parser error: Invalid value ',-' at line 1
Not knowing the full workings of state engine the parser, I propose this fix:

--- src/str.cpp
+++ src/str.cpp
@@ -581,7 +581,8 @@

                     case PuncTok:
                     {
-                        if (!mSinglePunc && (lastc != ':') && charPunc(c))
+                        bool arrayNegative = (lastc == ',') && (c == '-');
+                        if (!mSinglePunc && (lastc != ':') && charPunc(c) && !arrayNegative)
                         {
                             append(c);
                         }

Thanks for finding the issue.  This is the part of the lower level parser that has given me some grief.  At one point I had made a decision to cluster punctuation marks..  This made it easy to implement things like += >> and other operators... but it has caused issues.. I had added a single mode for this reason, it turns out that some combinations like ,- are never right.  So this has been fixed.


udp: set Don't Fragment(DF) bit in IP packet header

Commit Message: set corresponding socket options to set do not fragment bit in IP packet header for UDP listener sockets and QUIC upstream connection sockets.
Additional Description: also fix getLoopbackAddress() in envoy_quic_utils.cc to use the same socket interface and v6_only bit as peer_address.
Risk Level: medium, change the DF bit on the wire
Testing: new unit tests
Docs Changes: N/A
Release Notes: Yes
Platform Specific Features: N/A
Runtime guard: envoy.reloadable_features.udp_set_do_not_fragment

/retest

/retest

Fixed test coverage. PTAL!