Installation problem with pycups

When installing i get this error
`(env) inventree@astrid:~$ pip install git+https://github.com/wolflu05/inventree-cups-plugin
Collecting git+https://github.com/wolflu05/inventree-cups-plugin
Cloning https://github.com/wolflu05/inventree-cups-plugin to /tmp/pip-req-build-lhgmgzyd
Running command git clone --filter=blob:none --quiet https://github.com/wolflu05/inventree-cups-plugin /tmp/pip-req-blhgmgzyd
Resolved https://github.com/wolflu05/inventree-cups-plugin to commit e22e825507b6355d9d35cd286ebff0d13b79ef88
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting pycups (from inventree-cups-plugin==0.1.0)
Downloading pycups-2.0.1.tar.gz (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 1.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: inventree-cups-plugin, pycups
Building wheel for inventree-cups-plugin (pyproject.toml) ... done
Created wheel for inventree-cups-plugin: filename=inventree_cups_plugin-0.1.0-py3-none-any.whl size=4837 sha256=f325dd0ec4dcbca03622c53dd3c4638c893779a0010f3bf30b0dca2a505
Stored in directory: /tmp/pip-ephem-wheel-cache-hbx9k6s1/wheels/10/10/e2/ad282e09f8a03e111e0fd4d5d7214f7c327f2a11e7b84
Building wheel for pycups (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pycups (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
In file included from cupsconnection.c:22:
cupsconnection.h:26:10: fatal error: cups/http.h: No such file or directory
26 | #include <cups/http.h>
|          ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycups
Successfully built inventree-cups-plugin
Failed to build pycups
ERROR: Could not build wheels for pycups, which is required to install pyproject.toml-based projects
(env) inventree@astrid:~$
`

Hello @tnemrap ,
this is because the native dependencies for cups are not installed. There is a warning in the README.md about that. So just install them before and then retry.

⚠ This plugin needs cups-devel installed to install its dependencies. You can read more about the requirements at pycups. If you're using apt as a package manager run apt install libcups2-dev before.

Thanks this is solved.


How to test variables passed to res.view?

I has a test using supertest and should.js as follows.
var req = request(sails.hooks.http.app).get('/path');

req.expect(200)
  .end(function (err, res) {
  should.not.exist(err);
  done();
});

And I want to test the variables queried from the database, which is passed as the second parameter to res.view. However, I cannot get the variables in res in testing. The variables is a json such as
{
  array: [item],
  title: 'xxx'
}

@chenweiyj In the past, we've set up content negotiation in those endpoints (i.e. expose what you normally send as locals as json if req.wantsJSON).  That changes your app though.
Another (potentially better) approach that would work is to mock the res.view function by initializing a hook override or an additional hook when you lift sails programmatically for your tests - e.g.
sails.lift({
  hooks: { mockviews: require('./helpers/mockviews-hook.js') }
}, function (err) { ...  });

Then define mockviews-hook.js:
/**
 * Module dependencies
 */

var _ = require('lodash');

/**
 * `mockviews hook`
 *
 * This hook replaces `res.view` with a JSON response.  Designed to be used in tests.
 */

module.exports = function (sails){
  return {
    initialize: function (cb){

      // everyTimeRouterIsBeingLoadedButBeforeBindingExplicitRoutes
      sails.on('router:before', function () {

        // ifNotLoadedYetWaitForResponsesAndViewsHooks
        sails.after(['hook:responses:loaded', 'hook:views:loaded'], function (){

          // when any request comes in, run this middleware...
          sails.router.bind('/*', function (req, res, next){

            /**
             * @param  {String} viewTemplatePath
             * @param  {Dictionary} data
             */
            res.view = function mockResView (viewTemplatePath, data) {
              var req = this.req;
              var res = this.res;

              // Send view + locals info as JSON
              return res.json({ viewTemplatePath: viewTemplatePath, locals: data });
            };

            // Continue processing request.
            return next();

          },
          // Bind to all methods
          'all'
          ); // </ /* route middleware>
        }); // </after responses and view hooks are both ready>
      }); // </ every time the router is being loaded, before explicit routes are bound, event handler...>

      // Continue loading Sails core.
      return cb();
    },
  };
};


Derive Clone for object_store::aws::AmazonS3

Because the inner of AmazonS3 is an Arc<...>, it could be cloned with cheap effort, please consider this change.

Thank you @ethe


Allow only solo and dan to run the drop command

Allows only dan and solo to run the drop command

bro, why do you want to ruin my flex
jk lol merge it

thanks :)


Twilight is unable to deserialize a timestamp before 2010

I first discovered this issue when I was trying to deserialize an embed from JSON sent by another application before forwarding it to Discord through Twilight. However, the Twilight Timestamp only works between the years 2010 and 2038, while my command's embeds sometimes use a timestamp before that. Discord has no such limitation and this appears to be purely Twilight related.
The error I receive is along the lines of "year is 2009 but must be at least 2010".
Although this appears to be considered as intended behaviour according to the documentation, this is a fairly limiting constraint, especially in my use case, so I'd consider it a bug.
Not to mention, right before publishing this issue I discovered another side-effect of this bug. Twilight is unable to correctly receive any message that contains an embed which also contains a timestamp that does not meet the above criteria of being between the years 2010 and 2038. From my quick tests, Twilight simply does not register the message whatsoever, adding to the fact that this is definitely a bug in Twilight.
A very easy fix I could see, if possible, would be using chrono or any other lightweight datetime library rather than re-implementing the wheel, but that's just my two-cents 🤷♂
I apologise if my issue is poorly worded or formatted, it's currently 3:30am for me and I'm pretty tired haha.

Resolved by #1308.


Text overflow outside the box is solved

Signed-off-by: Utkarsh Mishra<EMAIL_ADDRESS>Description
Text overflow outside the box is solved
This PR fixes #
Before

After

Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Yes an ellisis will look good, uniform card sizes 👍

Site deployment preview is built..

I clicked the "Approve and Run" button, so the additional CI processes were triggered, but they don't work fine.

@UtkarshMishra12 Can you resolve the conflicts?


npm update

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

npm update


mbr-decode triggers an issue with models other than default

🐛 Bug
works fine with default model.
Encoder model frozen.
Encoding sentences...: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 627/627 [00:15<00:00, 40.93it/s]
MBR Scores...:   0%|                                                                                | 0/1002 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/usr/local/bin/comet-mbr", line 8, in
sys.exit(mbr_command())
File "/usr/local/lib/python3.8/dist-packages/comet/cli/mbr.py", line 201, in mbr_command
mbr_matrix = mbr_decoding(src_embeddings, mt_embeddings, model)
File "/usr/local/lib/python3.8/dist-packages/comet/cli/mbr.py", line 127, in mbr_decoding
scores = model.estimate(source, translation, pseudo_refs)[
File "/usr/local/lib/python3.8/dist-packages/comet/models/regression/regression_metric.py", line 186, in estimate
return {"score": self.estimator(embedded_sequences)}
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/comet/modules/feedforward.py", line 69, in forward
return self.ff(in_features)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/container.py", line 141, in forward
input = module(input)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/linear.py", line 103, in forward
return F.linear(input, self.weight, self.bias)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (5x6144 and 4096x2048)

@vince62s which model have you tried? I am running it fine with wmt21-comet-da

I think you tried to run MBR with a reference-free model. Reference-free models are not supposed to be used for MBR.
In MBR you will build a matrix where you will compare each hypothesis against each other. The hypothesis with the higher "consensus" is the one that is selected. With a reference-free model, each hypothesis will always be assigned the same score over and over again and the final results would be a simple ranking that does not take into consideration other hypotheses.

Not 100% sure but I think I tried wmt21-comet-mqm too.


Generate snapshots for gda-enabled sentinels (schema v3)

Once https://github.com/superfluid-finance/superfluid-sentinel/pull/239 is merged, snapshots need to be generated for the new DB schema.
To be synced with increasing schema-version in manifest.json to 3.

related to https://github.com/superfluid-finance/superfluid-stories/issues/262

Sentinel as now the concept of schema version.
If mismatch we try using local version.
If not possible we alert the user and stop the sentinel.


static channel number

Is your feature request related to a problem? Please describe.
When channels like ppv update the channel name for example it changes the channel number to a lower available number.
Describe the solution you'd like
I would like an option to keep the channel number static even if the channel name is updated.
Additional context
I keep my main channels numbers starting from 1. Then ppv channels at 1000 next nba channels at 1100 and so on. I find this way it keeps it organized if I have to add more channels later. but currently if a ppv channel or say nba 01 updates the channel name those channels get placed at the next lowest available channel number and puts everything out of order.

You can use something like m3u4u to set the channel number statically. If you provide tvg-chno in your m3u then it will keep it that number always

I looked into this, with m3u4u I would have to set every single channel number manually and would take too long. plus then you are always dealing with another step/app if you make any changes. would be a really nice feature to have an option on threadfin to check a box to keep channel number static regardless if the channel name is updated.


Local pull request success status testing

Docs Build status updates of commit dd9a539:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit dd9a539:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Istio creates spans for JaegerSamplerManagerHostPort which is not required?

Requirement - what kind of business use case are you trying to solve?
We are trying to integrate our application pods to the Istio service mesh and also to make use of the out of box provided jaeger to have tracing between our micro services.
Problem - what in Jaeger blocks you from solving the requirement?
While we are able to see spans coming from istio and our application integrated under single trace ( thanks to the context propagation),  however we are seeing extra traces/spans under  jaeger-agent.istio-system.svc.cluster.local:5778 side car proxy.   Why are these coming and why are they not falling under same trace? why is the context not propagated.
See  the configuration below:
04/22/2020 05:14:44.297 UTC main (Configuration) INFORMATIVE: Initialized tracer=JaegerTracer(version=Java-1.0.0
serviceName=ChargingServer
reporter=CompositeReporter(reporters=[RemoteReporter(sender=UdpSender()
closeEnqueueTimeout=1000)
LoggingReporter(logger=com.hp.usage.logging.slf4j.SIULoggerAdapter(io.jaegertracing.internal.reporters.LoggingReporter))])
sampler=RemoteControlledSampler(maxOperations=2000
manager=HttpSamplingManager(hostPort=jaeger-agent.istio-system.svc.cluster.local:5778)
sampler=ProbabilisticSampler(tags={sampler.type=probabilistic
sampler.param=0.001}))
tags={hostname=chargingserver-c848fb487-kl9kz
jaeger.version=Java-1.0.0
ip=<IP_ADDRESS>}
zipkinSharedRpcSpan=false
expandExceptionLogs=false
useTraceId128Bit=true)

it leads to the confusion as there are additional traces/ spans making the tracing not easy.
Proposal - what do you suggest to solve the problem or improve the existing situation?
to suppress these spans.

Any open questions to address

Is it mandatory to have JaegerSamplerManagerHostPort  when JaegerAgentHost, JaegerAgentPort are configured?   Not able to understand the real purpose of JaegerSamplerManagerHostPort

closing this issue as the above said problem occurred mainly due to incorrect cinfiguration.


Policyfile named run list support

Named run list support has existed for quite a while in ChefDK, this allows the user to actually select a named run list. I need to do an end-to-end test, but the code is ready for review.
@chef/client-core @kisoku

Tested this manually. This patch is working fine. Unfortunately I found a nasty bug where ChefDK can remove named run lists from your lockfile when you upload in some circumstances, which I'm working on now. This should be good to merge modulo code review and users can use it when the other bug is fixed and the fix is shipped.

:rocket: :cake:

Fix for the ChefDK bug is here: https://github.com/chef/chef-dk/pull/520

:+1: LGTM

yep :+1:

:+1:

Thanks for review! Will merge when travis is happy w/ the rebase.


Convert axis options from arrays to objects

This takes https://github.com/chartjs/Chart.js/pull/6626 a bit further by updating all the fixtures. There's a bunch of failing tests though because I think I messed something up during the rebase (could be in datasetController - maybe linkScales)
I won't have much time for the next couple weeks, so feel free to take this over. Hope this helps since it's a big change

Thanks for rebasing this @benmccann.
The biggest risk / flaw I have with my work in #6626 is deciding how to default axes for different charts. To me, having the user specify a 2nd Y axis by defining y1 on the scale object is indistinguishable from wanting to replace the default y axis with an axis that has an ID y1. At least in the old behaviour, one could change the default axis ID without worry.
Perhaps this means that arrays, while flawed, are the best way to handle it within the confines of config merge. The other possibility is that we need to go back to the drawing board and rethink the concept of merging options entirely. If charts did not specify axes in their defaults, this problem would be a non-issue.

It's not totally clear to me how things work today. If I specified the below configuration it would end up with only one y scale?
    options: {
        scales: {
            yAxes: [{
                id: 'yAxisLeft',
                type: 'linear',
                position: 'left'
            }]
        }
    }

But you think there's some reason we couldn't have the code below result in the same outcome?
    options: {
        scales: {
            yAxisLeft: {
                type: 'linear',
                position: 'left'
            }
        }
    }

I think its straight forward. If dataset has a scale ID define, update or create one with that ID. If not, use the first scale on that axis (maybe first with the default type? ) and apply defaults over undefined properties.

If dataset has a scale ID define, update or create one with that ID.

I'm assuming you mean get or create one with that ID. It doesn't seem like you'd ever need to update a scale in this scenario. I would be okay with this behavior though I think it might be good to log a warning or even throw an exception instead since it seems like a user error to specify a scale ID that doesn't exist yet on a dataset.

If not, use the first scale on that axis (maybe first with the default type? ) and apply defaults over undefined properties.

Yeah, using the first scale makes sense to me

It's not totally clear to me how things work today. If I specified the below configuration it would end up with only one y scale?
    options: {
        scales: {
            yAxes: [{
                id: 'yAxisLeft',
                type: 'linear',
                position: 'left'
            }]
        }
    }

But you think there's some reason we couldn't have the code below result in the same outcome?
    options: {
        scales: {
            yAxisLeft: {
                type: 'linear',
                position: 'left'
            }
        }
    }

That's exactly it.

I think its straight forward. If dataset has a scale ID define, update or create one with that ID. If not, use the first scale on that axis (maybe first with the default type? ) and apply defaults over undefined properties.

I'm not sure how the first scale is defined in this case because if we look at @benmccann's example above: after config merge there are two Y scales defined in the options: y and yAxisLeft. I have some reservations as to whether or not ignoring defined scales would be what the user wanted in that case.

after config merge there are two Y scales defined in the options: y and yAxisLeft

I don't think that has to be the case. We could make it so that y is only created if the user does not specify any scales of their own just as is the case today

Made a proposal for the merging in #6773
IMO it works more consistently than master, always applying the dataset provided 'axis' defaults, but not over anything user wrote in scales. So bar chart has offset: true, whether or not the scale is category (bunch of issues with time drawing half of the bar outside bounds, because the offset is not carried over)

Closing in favor of https://github.com/chartjs/Chart.js/pull/6773


-Werror missing from many unit tests

We built a lot of our unit tests with --strict-warnings but few also include -Werror or -Wall.
We should add the latter two options where ever possible.

We built a lot of our unit tests with --strict-warnings but few also include -Werror or -Wall. We should add the latter two options where ever possible.

Can you please elaborate? As --strict-warnings includes -Werror -Wall + some exceptions for warnings that we do not consider useful or too pervasive to fix, what would be the difference?

I didn't think it did.  Closing this.


[MultiSig Toolkit] - User can get Sui Pubkey of current Active Address

Request:
A user can learn what their Sui Pubkey is when using the Sui MultiSig Toolkit.
As a user, I can see the Sui Pubkey of signed transactions and messages.
Context:
The Sui Pubkey is used for deriving multisig addresses in Sui.
Allowing a user to retrieve their Sui PubKey will make it easier for them to craft multisig addresses (users can even test out 1-of-1 multisig addreses).
Currently, a user can investigate the pubkey used by a signature with the MultiSig toolkit Signature Analzyer.
It would be great if users could be prompted to sign a simple message (e.g. non-Sui Transaction) to show the Pubkey, or if the PubKey could be retrieved from the wallet-kit adapter.

Sui Multisig Toolkit codebase: https://github.com/MystenLabs/sui/tree/c05689a4efd7d693076e22949f2565842dc61aea/dapps/multisig-toolkit
Sui MultiSig docs

@jnaulty still relevant? If not, let's close it.


VS Code version: Code 1.76.2 (Universal) (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:54:09.061Z)
OS version: Darwin arm64 22.1.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Pro (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 3, 4

Memory (System)
16.00GB (0.89GB free)

Process Argv
--crash-reporter-id 92550e38-086f-4c41-80fd-13edaccf54ca

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

turbo-console-log
Cha
2.9.2

vscode-eslint
dba
2.4.0

gitlens
eam
13.5.0

prettier-vscode
esb
9.10.4

graphql
mqu
0.1.2

vsliveshare
ms-
1.0.5857

markdown-preview-enhanced
shd
0.6.8

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
nodejswelcome1cf:30587006
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
a9j8j154:30646983
functionswalk:30687959
pythonms35:30701012

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.3. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

It sounds like you're experiencing a bug where searching for a file in one instance of Visual Studio Code opens it in all open editors. This could be an issue with the recent update to the software or a conflict with one of your installed extensions.
Here are a few things you can try to fix the problem:
Check for updates: Make sure you have the latest version of Visual Studio Code installed by going to Help > Check for Updates.
Disable extensions: Try disabling your extensions one by one to see if one of them is causing the issue. You can do this by going to the Extensions panel on the left side of the screen, selecting an extension, and clicking the disable button.
Clear workspace settings: Sometimes workspace settings can cause issues with Visual Studio Code. Try clearing your workspace settings by going to File > Preferences > Settings, clicking the "Open Workspace Settings" button, and then deleting any settings that may be causing the issue.
Reinstall Visual Studio Code: If none of the above steps work, try uninstalling and reinstalling Visual Studio Code. Be sure to save any necessary files before doing so.
I hope this helps you resolve the issue. Let me know if you have any other questions!

Are you saying that it only searches in open editors? If so, this might be a duplicate of https://github.com/microsoft/vscode/issues/179907
Try this:

run Developer: Set Log Level in the command palette and set Trace
do a search
In the bottom panel, check logs in the Extension Host channel in the Outputs tab

Can you paste the logs here?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Cannot use set to change values in a JSON array

Prior to a request being made in a Given, When, And block, I'm attempting to change an element in a JSON document whose form is roughly this:
[
    { "id": "Some value", "name": "A" },
    { "id": "Some other value", "name": "B" },
    { "id": "Yet another", "name": "C" }
]

I have two steps, one that builds the JSON document using some JavaScript and assigns the return value to a variable eventPayload. The second then attempts to modify the value of one of the "id" keys:
* def eventPayload = call read("classpath:generateJSONDoc.js")
* set eventPayload[1].id = "New value"

The problem is that in Script::setValueByPath() in Script.java, the JSON in eventPayload is rejected as it's type is neither JSON nor MAP (it's a JS_ARRAY).
Does set() only work on JSON objects? I've tried to use a JSONPath expression to specify the index too but that always returns a JS_ARRAY too.
I can't help feeling I'm missing something obvious here :)

@duncwebb apologies, this is indeed a bug (hopefully the last of the edge cases where js arrays were taking a different path through the code for set, now refactored, you can see the commit details).
Until the next release - just try type-conversion to json to see if this works:
* json eventPayload = call read("classpath:generateJSONDoc.js")
* set eventPayload[1].id = "New value"

Thanks @ptrthomas  I'll give that a go, much appreciated and also a huge thanks for releasing Karate on github - it's a genuinely impressive and useful tool.

How can we modify a Json array with another array ?
ex :

def body =
"""
{
"A":
[
{
"id": "AAA",
"B": "BBB",
"amount": {
"value": 10000,
"K": "XXX"
}
},
.
.
.
]
}
"""
set body $..amount.value = amount
Examples:
| amount          |
| {'0','1100','444'} |

@SampathkvAutomation please ask questions on stack overflow: https://stackoverflow.com/questions/tagged/karate


x/tools/gopls: broken build with x/vuln@latest

What version of Go are you using (go version)?

~/src/golang.org/x/tools/gopls$ go1.20.3 version
go version go1.20.3 linux/amd64

Does this issue reproduce with the latest release?
Yes; it also reproduces with CL 471595 patched in.
What operating system and processor architecture are you using (go env)?
go env Output
$ go1.20.3 env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/usr/local/google/home/bcmills/.cache/go-build"
GOENV="/usr/local/google/home/bcmills/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/tmp/tmp.zk603vMqhA"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/usr/local/google/home/bcmills"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/google/home/bcmills/sdk/go1.20.3"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/google/home/bcmills/sdk/go1.20.3/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.3"
GCCGO="/usr/bin/gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="c++"
CGO_ENABLED="1"
GOMOD="/usr/local/google/home/bcmills/src/golang.org/x/tools/gopls/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build577603139=/tmp/go-build -gno-record-gcc-switches"

What did you do?
~/src/golang.org/x/tools/gopls$ go1.20.3 get -u -t ./...

What did you expect to see?
Dependencies of gopls successfully updated to their latest versions.
What did you see instead?
~/src/golang.org/x/tools/gopls$ go1.20.3 get -u -t ./...
golang.org/x/tools/gopls/internal/govulncheck imports
        golang.org/x/vuln/client: cannot find module providing package golang.org/x/vuln/client
golang.org/x/tools/gopls/internal/govulncheck imports
        golang.org/x/vuln/exp/govulncheck: cannot find module providing package golang.org/x/vuln/exp/govulncheck
golang.org/x/tools/gopls/internal/govulncheck imports
        golang.org/x/vuln/osv: cannot find module providing package golang.org/x/vuln/osv
golang.org/x/tools/gopls/internal/vulncheck imports
        golang.org/x/vuln/vulncheck: cannot find module providing package golang.org/x/vuln/vulncheck

The missing packages were moved in CL 475015.
(attn @hyangah @julieqiu; CC @findleyr @adonovan)

@bcmills can you tell us more why is labelled "soon"?
The x/vuln API is not stable at all and our intention was not to update x/vuln dependency until a new API becomes available and we migrate to the new one.

If this is WAI, I propose that we close this issue.

The x/vuln API is not stable at all and our intention was not to update x/vuln dependency until a new API becomes available and we migrate to the new one.

Even unstable dependencies have points of stability.  x/vuln has exactly one tagged version (v0.1.0), and gopls can't build against it.
That means that if critical bugs or vulnerabilities are found and patched in x/vuln, gopls will presumably be unable to upgrade (or will need its own backports), and that if any of the other dependencies of gopls happens to upgrade to the tagged x/vuln those dependencies will become stuck too.
If x/vuln is not usable at its only tagged version, perhaps we should back out the integration and remove the dependency until the API is more stable.

Bryan, is your point that they have diverged too much for this to be feasible in a timely manner?

Yes — that, and that the divergence adds friction for testing and maintenance in other ways.
For example:

https://pkg.go.dev/golang.org/x/vuln only lists the tagged version of x/vuln, which does not include the documentation for the packages imported by gopls.
Being unable to upgrade x/vuln to its latest tagged release means that we can't use go get -u to upgrade gopls dependencies in general, which is the current workaround for #56530.

That makes it more likely that the other dependencies of gopls will become stale, potentially masking regressions and compatibility issues.
And x/vuln would have to become a special case if #56530 is addressed.

x/vuln is currently actively working on API finalization. The API is significantly different and the current mode is an alternative to copying or vendoring the whole repo. This will be addressed in a couple of months, so let's not worry about this.

This is the milestone for x/vuln API work https://github.com/golang/go/milestone/308


Hamburger menu and BottomAppBar: how to manage?

Hello,
I use the MyToolkit's hamburger, but I would like to display an BottomAppBar on some pages: the bar is positioned over the burger menu and I can't seen the bottom hamburger item.
The BottomAppBar is declared like this in my XAML:
    <paging:MtPage.BottomAppBar>         <CommandBar>             <AppBarButton Icon="Refresh" Label="Refresh" Click="OnRefresh_Click" />             <AppBarButton Icon="Add" Label="Add" Click="OnAdd_Click" />             <AppBarButton Icon="Delete" Label="Delete" Click="OnDelete_Click" />         </CommandBar>     </paging:MtPage.BottomAppBar>
Is there a way to solve this case?

Can you attach a sample project?

I've reproduced this in the UWP MyToolkit sample:
http://img15.hostingpics.net/pics/802263HamburgerAppBarBottom.png
I've uploaded the XAML file here:
http://s000.tinyupload.com/index.php?file_id=53362154118353943156

Does someone have an idea?
Do I need to attach the full sample project?

I think its fine. I didnt have the time to look into it

A quick workaround would be to set a margin:
    <CommandBar Margin="48,0,0,0">

Should the Hamburger automatically set this margin on pages?

Added AppBar margin handling to Hamburger: https://github.com/MyToolkit/MyToolkit/commit/ebbe65ad07edd6e0a05b78c559087a84f9fa2526


[python cli] 'rtw docker enter'

just run this cd ros_team_workspace/rtwcli/ && pip3 install -r requirements.txt and start new terminal as sourcing is already done in ros_team_workspace/setup.bash
@destogl pep257 is commented out temporarily as the import of Set raises Exception: cannot import name 'Set' from 'collections', is there a repo that supports newer python versions?

Nice work! Looks good:)
I would however advise to first create only the cli and call the existing bash scripts with the expected arguments. I would not start recreating/adding logic in the python cli. This should in my opinion be done in a separate step while writing tests at the same time.
Moreover, in my opinion, we have a lot of common functionality which can be extracted from the scripts and collected at one point. I would keep the cli as thin as possible and not scatter to much logic all over the place (otherwise we end up with lot of duplicate logic.)

Have to give it a closer review

@destogl pep257 is commented out temporarily as the import of Set raises Exception: cannot import name 'Set' from 'collections', is there a repo that supports newer python versions?

I fixed that.

will be split into multiple prs


Self referencing loop detected for property 'Y' with type 'GMBQs.Y'. Path ''.

Happens with two classes inheriting from the same base class which overrides Equals method.
Source/destination types
N/A
Source/destination JSON
N/A
Expected behavior
Serializing will be ok
Actual behavior
Exception: Self referencing loop detected for property 'Y' with type 'GMBQs.Y'. Path ''.
Steps to reproduce

namespace GMBQs
{
    class Program
    {
        static void Main(string[] args) {
            Console.WriteLine("Hello World!");
            var x = new X {
                Y = new Y {
                    //ID = " asd asd",
                }
            };

            try {
                var y = JsonConvert.SerializeObject(x);
            } catch (Exception ex) {

            }
        }
    }

    public class X : BaseModel
    {
        public Y Y { get; set; }
    }

    public class Y : BaseModel
    {

    }

    public class BaseModel
    {
        public string ID { get; set; }

        public bool Equals(BaseModel other) {
            if (other == null) {
                return false;
            }
            return string.Equals(other.ID, ID);
        }

        public override bool Equals(object obj) {
            return Equals(obj as BaseModel);
        }

        public override int GetHashCode() {
            return ID?.GetHashCode() ?? 0;
        }
    }
}

The problem is yours Equals implementation doesn't check the type is the same.


Subnet Manager Redesign to include routing rule update function

Extend Subnet Manager's functionality to prepare InternalRouterInfo for routing rule update and InternalHostPortMap for host-port mapping, and send down both information to Data Plane manager.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5385893). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #429   +/-   ##
=========================================
  Coverage          ?   36.83%
  Complexity        ?     1153
=========================================
  Files             ?      447
  Lines             ?    10706
  Branches          ?     1367
=========================================
  Hits              ?     3944
  Misses            ?     6230
  Partials          ?      532

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 5385893...d99c1e0. Read the comment docs.


kustomize --enable-helm flag not supported

I have specific use case where I need to patch helm chart output, I was thinking to follow this.
kustomize build failed: accumulating resources: accumulation err='accumulating resources from './cert-manager': read /tmp/flux-system3546149917/cluster/cert-manager: is a directory': recursed accumulation of path '/tmp/flux-system3546149917/cluster/cert-manager': trouble configuring builtin HelmChartInflationGenerator with config: `
name: cert-manager-issuers
releaseName: cert-manager-cluster-self-signed-issuer-poc
repo: https://charts.adfinis.com
valuesInline:
 clusterIssuers:
 - name: default-tmp
   spec:
     selfSigned: {}
version: 0.2.2
`: must specify --enable-helm

Because of existence of helm-controller, not sure if this is even on a radar. Support also depends on helm binary availability (to be executed in subprocess).

Please use helm-controller, kustomize-controller can't use shell execs due to security reasons.

For reference - helmRelease.spec.postRenderes handles this well.


May I move trailer_read and trailer_write into the public API?

It's really useful to be able to query t.bytes_keys, t.bytes_values, since this lets me pre-allocate memory when I want to load the whole mtbl file into RAM.

Hi, snarkmaster:
This repo is out of date. Mainline development takes place over here: https://github.com/farsightsec/mtbl. I'd recommend re-opening your issue there.


[REDESIGN] crash on friends list

Been having this issue for quite a few versions, not sure if this is related to the no profile picture thing you've stated earlier. The redesign (still as of version 2.0.27) will crash on the friends list. This can happen on startup, or if I attempt to return to it. It doesn't always happen immediately, and as long as I click out of it to a guild or dm, I can avoid the crash.

As FYI to anyone else who isn't in the support discord, this bug was due to having group DM channels with no other members (all other members of the group DM left). May also manifest as an error message with an empty DM list as such:

No crashing due to this scenario has been found in 2.0.34.


Add user_keys, client_keys tags in oc-chef-pedant keys_spec.rb

These changes support work in progress to bring chef-zero closer to parity with chef-server.

Add :user_keys and :client_keys tags
Add some missing :authentication and :authorization tags
Fix issue with username collision (Time.now.to_i was used to generate username suffixes, causing two users that were meant to be distinct to have the same name).

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@jrunning

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

:+1: This looks reasonable.  We'll merge after the next release.

:+1: @chef/chef-server-maintainers 12.4 is out so this is good to go, yeah?

:+1:

:+1:

Oops - I think it needs a rebase though.


based on #9966: fix annoying 'please check...' messages; remove v1beta1&2 ref

addressed the comments in @lavalamp's PR #9966.
@nikhiljindal @bgrant0607 @lavalamp @liggitt

LGTM

Looks reasonable to me, also.

I will fix the Shippable.

Close and reopen to trigger Shippable

LGTM, thanks!

Thanks!

LGTM


FAQ Docs

Review #4 first

Pull Request Test Coverage Report for Build 883278910

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.619%

Totals

Change from base Build 879209380:
0%

Covered Lines:
24402

Relevant Lines:
25256

💛  - Coveralls


Add email list notification

A proposal to create a list people could easily subscribe to:
https://community.theforeman.org/t/how-to-subscribe-to-ci-plugin-failures/25328/6
For now, I am just adding plugins develop tests, but once this is approved I will modify all places so emails are sent for everything.

Sure, so we have ci_community.theforeman.org (scrambled email) for that. Shall I simply create new publisher with this email address?

Sure, so we have ci_community.theforeman.org (scrambled email) for that. Shall I simply create new publisher with this email address?

Yes

Ok rebased, from the docs it looks like this is how am I supposed to redefine a template, but in the example there they only redefine a variable. I am not sure if this will work for publishers as well. Hopefully we have some tests.

Amended.

I guess this was not needed. Thanks!


'GLIPDemo' object has no attribute 'color'

when calling self.overlay_entity_names(result, top_predictions),
cv2.putText(
image, s, (int(x), int(y)-text_offset_original), cv2.FONT_HERSHEY_SIMPLEX, text_size, (self.color, self.color, self.color), text_pixel, cv2.LINE_AA
)
self.color is not intilized.
When running demo.
color is initilied in visualize_with_predictions, which is not called in demo.

See #31 or #27 for possible fixes.


Small Problem

Can you provide the code to calculate validate loss ?

Hello,

Thank you for your patience and understanding regarding our project. Our project actually doesn't use this validate loss, but I can help you implement it later. I expect to have some time in late January 2025.

Thank you for your continued support and interest in our project.


Update CI Go versions

Newer Go seems detecting source files for other architecture and project coverage decreases due to the uncovered code for darwin


Unable to run the client

Here's the traceback:
render@renderBox:~# eth_alarm
Traceback (most recent call last):
File "/usr/local/bin/eth_alarm", line 7, in
from eth_alarm_client.cli import main
File "/usr/local/lib/python2.7/dist-packages/eth_alarm_client/init.py", line 2, in
from .call_contract import CallContract  # NOQA
File "/usr/local/lib/python2.7/dist-packages/eth_alarm_client/call_contract.py", line 12, in
from .contracts import (
File "/usr/local/lib/python2.7/dist-packages/eth_alarm_client/contracts.py", line 4, in
from populus.contracts import Contract
ImportError: cannot import name Contract

I followed the instructions from the old repo (some of which I've written myself), since there are none on this repo.

See https://github.com/pipermerriam/ethereum-alarm-clock/issues/82 for the current status of this service.
If you want to try and run the client you're going to need to do some manual pinning of requirements.  For everything you find in the requirements here https://github.com/pipermerriam/ethereum-alarm-clock/blob/master/setup.py you should install exactly that version as opposed to >= that version.  This will need to be done all the way down the requirements.

I would be willing to help.
I know Python 2+3, Solidity, little bit of Golang, Bash Scripting, and solid experience as a Linux SysAdmin

closing old issue


DaVinci OM support

Hello, lutzroeder.
I'm an employee of Huawei inc. I have extened Netron to support HiAI Foundation, which is an AI framework developed by Huawei Hisilicon(https://developer.huawei.com/consumer/cn/hiai#Foundation). Could you please let me merge my work (https://github.com/946166920/netron_om) into Netron?

@946166920 Please discontinue the .om format and use a standard format like .onnx. This format provide little value, duplicates existing formats and creates additional work. See also #600.

@946166920 Please discontinue the .om format and use a standard format like .onnx. This format duplicates existing formats and creates additional work. See also #600.

@946166920 Please use a standard format like .onnx. This format duplicates existing formats and creates additional work. See also #600.

Duplicate of #799

thank for supporting this model type

Hi @946166920, I have a .om (format DaVinci OM) file already inference-able on mobile app (android), How could I inference this file on limux server?, python?


Add QUIC draft-27 support

Squashed commit of the following:
commit a1952d8a53feb66b0722d0dca252e098c9320f0a
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jul 14 11:14:45 2020 +0900
Comment out an unused const value

commit f7893992358606565c156e6f9964fa02f5425e87
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jul 14 11:06:57 2020 +0900
Don't process write_vio on initialization if there is no data

commit d7d00c2b838c46b761ac9dcd72fa5ae391a8ab19
Merge: 00d78836a 89b6b91d4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jul 14 10:19:18 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Test and fix connection timeout and retries (#6897)
  Improve client_vc tracking (#6889)
  Open UDP ports on traffic_manager if ports are configured for QUIC (#6808)
  Issue 6847 Fixing documentation for secondary_mode (#6851)
  Add maxmind acl plugin (#6980)
  fix leak in early data (#6957)
  Traffic Dump: dump server-side protocol stack (#6972)
  Preserve cert name through ssl vc migration (#6977)
  Adds null check (#6994)
  hostdb: don't use next_sync_time - now() as TTL (it can be negative) (#6979)

commit 00d78836a62346511dd1ffecde4a2d067bf9b196
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Jul 13 16:21:45 2020 +0900
Update tests

commit 32fb67f89e8314479b1457e83a278bd46edd0e94
Merge: fbc8d4a67 da888769f
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Fri Jul 10 11:27:30 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Fix a build issue with BoringSSL (#6988)
  Update autest to version 1.8.0. (#6981)
  Updates path to reflect new location in tree (#6993)
  Fix memory leak in header_rewrite (#6986)
  Fix typo in Http2ConnectionState (#6991)
  Fixes use after free when boringssl is used (#6985)
  Fix out of source tree builds for QUIC (#6984)
  remap doc correction (#6974)
  Use print mode with length in validate_sni debug (#6976)
  Assert non-zero HdrHeap object size (#6954)
  AuTest: Properly handle experimental plugins. (#6971)
  Add new test and fix for float configuration failure in conf_remap (#6967)
  Cleanup: Break down HpackIndexingTable::lookup() into static table lookup & dynamic table lookup (#6509)
  Perf: Use LocalBuffer in HTTP/2 (#6536)
  RateLimiting and Connection Config changes (#6968)
  Update docs for some DNS config settings (#6969)
  Log whether client certs were exchanged in TLS handshake (#6699)
  Fix support for openssl async engine (#6910)
  Make the log_pipe test more efficient. (#6966)
  Cleanup: Simplify Http2Stream::update_write_request() (#6962)
  Assert on valid boundaries for UserArgTable access (#6953)
  Fix format string for int64_t (#6963)
  Fixes icap build on macOS (#6958)
  Metrics for origin close (#6873)
  Cleanup: Remove unnecessary member from Http2Stream (#6951)
  Prevent buffer overflow during log filter actions (#6950)
  Make HostDBInfo class safer to use. (#6858)
  Remove two unused includes in HdrHeap.h. (#6905)
  Set the default thread count factor to 1x the number of logical cores (#6949)
  Build test C/C++ files with Automake. (#6945)
  remove useless code (#6952)
  Add CI verbose and debug options for autest (#6947)
  Remove dup code in QUICMultiCertConfigLoader (#6942)
  Retry read when fastopen_bread() get non fatal error (#6841)
  Cleanup: Remove unused arguments (#6943)
  AuTest: New log and When condition for ATS initialized (#6931)
  Add IPCAP Plugin (#6484)
  Load combined file with bogus key path (#6933)
  plugins: Move to blocklists and allowlists (#6940)
  Move to blocklists and allowlists (#6941)
  Prevent use-after-free of TransactionPlugin (#6937)
  Update buffer-writer.en.rst (wrong header link) (#6934)
  Fixed bug in the calculation of the header block fragment length (#6923)
  Disable max_connections_active_in default now that featur works (#6903)
  Make compress Au test less flakey. (#6915)
  Enable only squash and merge for GitHub
  example: Move to blocklists and allowlists
  Fix dual_cert_select test to run with older openssl binary (#6896)
  Prevent stale netvc access on SSL Callbacks (#6925)

commit fbc8d4a670026d1fbc38c00107d6f06c283d9852
Author: scw00<EMAIL_ADDRESS>Date:   Fri Jun 26 19:56:58 2020 +0800
Document qlog_dir configuration (#6935)

commit 5d3cecf6b5fc0820f6b3cb608caa2a9d31345a4b
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Fri Jun 26 10:22:52 2020 +0900
Update tests

commit 8d09233a75eb5d34097c17ccf7ed69be1bea6440
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Jun 22 11:36:09 2020 +0900
clang-format

commit 4f54576cbc56e630b6104e1a52d4c3b9a52aa76e
Merge: 5c50ff382 763aa8e14
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Jun 22 11:34:21 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Make QPACK.h self-contained
  build: Require OCSP headers for OCSP-enablement
  Fix old MIMEHdr handling of HPACK
  Customize Max IOBuffer Size (#6869)
  Ensure read_avail is set for the first non-empty block (#6916)
  Removes SSLNetVConnection::sslContextSet
  Disable lua_stats autest until we can reliably wait for stats
  set sni_name with remapped origin name if sni_policy is not the default value (#6898)
  Make h2spec test more resiliant by extending timeout (#6891)
  Make Http2ClientSession inactive on EOS event
  Fix assert when client aborts during backfill (#6809)
  Traffic Dump: Add server response HTTP version (#6856)
  AuTest: Pipfile update to use microserver 1.0.5 (#6893)
  Fix compiler issue with ICC 19.1
  change overridable var type for proxy.config.http.server_session_sharing.match from int to string (#6822)
  Fix the relative path for template_sets_dir to be install directory (#6203)
  microserver error handling: SSLError check and debug. (#6884)
  Track thread changes during origin connect and cache open write (#6872)
  Fix for Ubuntu 16 and Clang 5
  AuTest: port selection improvements. (#6888)
  Revert "Avoid stale client_vc (#6732)" (#6879)
  Return null when  do_io_write called on closed stream (#6826)
  Handle immediate as inactivity timeout (#6689)
  Avoid stale client_vc (#6732)
  Protect against nullptr access during SSL Callback (#6866)
  avoid dynamic_cast to get Pi-tag for non_internal requests (#6868)
  Adding HTTP status 451 in apidefs as well (See PR#6789) (#6797)
  Fix session pool to add and fetch to beginning of hash chain rather than end (#6805)

 Conflicts:
	iocore/net/quic/QUICPacketPayloadProtector.cc

commit 5c50ff382560a22fab2e6ac65d5dcaa2d528247a
Author: scw00<EMAIL_ADDRESS>Date:   Tue Jun 16 09:17:15 2020 +0800
make compiler happy

commit 344ede3200f4de10f6319fc58a49c18abda09d6f
Author: scw00<EMAIL_ADDRESS>Date:   Fri Jun 12 10:53:31 2020 +0800
Chang qlog_file configuration to qlog_dir

commit 511ac7ecc1b95b445e432f7c1e0b0c3094217aa3
Author: scw00<EMAIL_ADDRESS>Date:   Sun Jun 7 18:43:37 2020 +0800
make qlog configurable

commit 1a5669a48defbb39a3059021e397c05e9a5dc05f
Author: scw00<EMAIL_ADDRESS>Date:   Fri Jun 5 15:58:23 2020 +0800
add metrics update

commit a126b84f4318c52cdb8e6b81d239ed505ade6bce
Author: scw00<EMAIL_ADDRESS>Date:   Thu Jun 4 17:48:32 2020 +0800
remove useless INCLUDE_YAML

commit 82b51076ad0f28b1df8a6b367297643cfbc72504
Author: scw00<EMAIL_ADDRESS>Date:   Thu Jun 4 17:40:32 2020 +0800
make qlog configurable

commit da958f1c91f7a1ed7af472eedad4b3da55981f5e
Author: scw00<EMAIL_ADDRESS>Date:   Mon May 25 13:54:49 2020 +0800
QUIC: add qlog support

commit a2e788b8b5337a7225a456df56de853fece7e17c
Merge: db1a85c5a 02a60b200
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jun 9 11:44:47 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Fix a crash on TLS resumption
  Make format specifier for time_t portable
  Fix pointer overflow in XPACK
  Add include so BROTLI constants are available to plugin (#6862)
  We should remove whitespace from fieldname in http response due to RFC7230:3.2.4(#6793)
  Fix missing virtual destructor in TLSSessionResumptionSupport. (#6812)
  Generalize KA check logic
  LGTM: fix hiding a global variable with the same name
  LGTM: add header guard
  Removes refcounting from compress and s3_auth plugins
  Schedule Transform on the same thread as the continuation (#6843)
  traffic_dump: debug_tag and lock improvements
  Issue 6838 Fixing the comparison in waited_enough (drain functionality) (#6839)
  Drastically improve generator.so performance for /nocache (#6834)
  Slice plugin: recover out of sync slices, better handling of non 206s

commit db1a85c5a029260761e65f86917c2c583bd33583
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Jun 4 14:08:07 2020 +0900
Add support for BoringSSL API version 10 (QUIC)

commit 3a41eb4286b8955db80a3bcb8ef72a504dbbf558
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Jun 3 10:18:53 2020 +0900
Ignore QUIC Short packets during handshake

commit 81d52e4c80dc3caf913527a5d817c6cec8f49fa9
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Jun 3 09:46:52 2020 +0900
Increment ndone with th amount of data actually read

ndone was not updated correctly and it caused a problem on setting FIN flag on a
QUIC stream.

commit a788cc38ca803a0f3c5901b14db5f6a7ce6361e4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jun 2 11:33:40 2020 +0900
Cleanup dependency for QUIC module

commit 88d4597c257c00859c29f77616c96d2090a699f1
Merge: 9c358d48e 78028cf5b
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Jun 1 16:22:08 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Change AM_LDFLAGS to be an addition, not an overwrite, in the plugin makefile.  This allows the various libpaths, and specifically the rpath, to be transferred over to plugins when used for tests.  Currently separate test applications will build properly against things like a custom openssl installation, however when they run they do not know the correct location unless you have set the LD path on the system to include that directory.  Passing this information around allows the ATS library rpath to also be used for the test applications so they can determine at runtime where to look for libraries (#6835)
  Adding a basic ip_allow test.
  Add CSV output as an optional format for stats_over_http (#6818)
  HostDB - change HostResPreferenceOrder type to std::array.
  cache_range_request: Overhaul and clean up the core autest.
  lua plugin: fix for incorrectly injecting global plugin stats
  Clear handling tracked events of Http2Stream
  Add le32toh and htole32 for macOS (#6807)
  Make chunked encoding test more resilient (#6827)
  regex_remap: Adjust regex recursion limit down due to crashes in testing. (#6819)
  Fix test certs in client_context_dump (#6824)
  Doc updates for tunnel_route and ip_allow interaction.
  ip_resolve - Make config variable overridable
  Fixes remaining memory leaks with nexthop strategy unit tests found by ASAN. This should close issue 6765
  Make post_slow_server Au test work in Docker container.
  Add an optional ramcache setting to volume.config to be able to disable it (#6746)
  Fixes to hostDB to avoid event and memory leaks (#6686)
  Add TXN_CLOSE hook to CPPAPI TransactionPlugin (#6800)
  clang-analyzer: uninitialized va_list (#6798)

commit 9c358d48e1791bc86e61e99114775a973b82055c
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon May 25 14:19:28 2020 +0900
Update tests

TP format was changed but binaries in test cases were not updated

commit 3444f4108dfb9bb7c41bc9536b26272eb7312736
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue May 5 16:25:07 2020 +0900
Add TLSSessionResumptionSupport to QUICNetVC

commit 221c5b5f37738c65ba9d1787a047eec6ba200d2a
Merge: 7f9338f62 16fb8092e
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed May 20 08:36:52 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Generalize callbacks for TLS session resumption
  fixes issue 6765, memleak in unit test mocked Machine class in nexthop_test_stubs.cc
  Fix HPACK Dynamic Table Cleanup
  clang-analyzer: code clone in get_proxy_protocol_addr (#6791)
  clang-analyzer: eliminate identical conditions (#6790)
  Adding HTTP Status code 451 for Unavailable For Legal Reasons (RFC 7725) (#6789)
  HPACK: send back an error to the client when the index is invalid
  Use Proxy-Connection iff parent_is_proxy=true
  1. Set a non-zero default value for TLS Client Handshake Timeout (#6781)
  Update existingh formatting with new clang-format package
  Updates clang-format to LLVM v10.0.0
  Fixed `AddressSanitizer: odr-violation`
  Weird characters in debug message
  Add back reading config for handshake timeout (#6773)
  Lua plugin: add ts.server_response.get_maxage()
  Ensure inactivity timeout is not set when passed in timeout value is 0 (#6772)
  clang-analyzer: Fix dead nested assignment issues
  Do not fail multicert load if line does not create entry (#6760)
  Accept Handling VIO events SSL (#6764)
  Accept handling VIO events (#6763)
  Promote netvc to ProxySession (#6759)
  Add metrics to track default inactivity timed out connections (#6755)
  Script to find mutexes/futexes that are contending
  Enforce Active Connection limits (#6754)
  Add HttpTransact::get_max_age and TSHttpTxnGetMaxAge
  Make chunked_encoding test more reliable by killing nc process (#6762)
  Disable remap-stats test until we can reliably wait for metrics (#6761)
  Fix set manipulation in dual cert resolution (#6758)
  Correct `schedule_every_local` to schedule locally
  ASAN: Fixed one definition rule violation
  gcc10: fixed clearing an object of non-trivial type for wccp
  traffic_dump: refactor to make transactions atomically written
  Cleans up doubled words in documentation
  Doc: Add example for ipv4/6 on dns nameserver
  Doc: Remove build warning
  Fix typos in comments
  Remove unused index for SSL application specific data
  SSL: Introduce proxy.config.ssl.server.session_ticket.number
  Lua Plugin - Extend the crypto API with SHA-256 and HMAC functions.
  GCC 10: Update traffic_via to use string_view to avoid compile errors.
  GCC 10 fixes - simple fixes.
  Update expired test certificates for cert_update
  Lua plugin: add ts.server_response.is_cacheable()
  HttpSM cleaning up non-sense pointer indirection (#6721)
  python: Remove unused imports
  python: Fix dangerous default argument
  python: Remove unused variables
  python: Remove unnecessary comprehension

 Conflicts:
	iocore/net/UnixUDPNet.cc

commit 7f9338f62e41543243fd3aff6770b25b8996ed6f
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue May 5 17:49:03 2020 +0900
Enable QUIC 0-RTT with Tatsuhiro's OpenSSL

commit 42a0c656067ed117e7c729be30c7f91a744922c8
Merge: 05b7ab887 59ff1d846
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon May 4 17:33:54 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Fix ink_endian.h to include an appropriate header file
  Fix a bug that current_active_client_connections doesn't decrease
  Extendible asan simple (#6650)
  Rework stats over http so that it supports both a config file and the original path parameter (#6542)
  Commenting EventIO methods (#6712)
  Document ip_allow in sni.yaml (#6723)
  traffic_dump: add tls information to dump. (#6727)
  gcc10: fixed warning about returning local variable in int64_to_str()
  Au test: HTTP/2 client sends POST, server delays 2 minutes, sends 200 KB.
  Fixup .gitignores to match repo reality
  put events into local queue when scheduling on the same thread as the scheduler
  Fix typo in DiagsConfig
  Updated docs for guaranteed_{min,max}_lifetime
  Remove tls_versions from host sni policy check
  remove TSContSchedule, then rename TSContScheduleOnPool to TSContSchedule
  slice plugin: add --include-regex, --exclude-regex parameters (#6701)
  Add Access log fields for ProxyProtocol Context
  Adding logging fields for collapsed forwarding metrics (#6708)
  Added more of the main sub-trees
  Fix lost fragments when update object
  Removes ATS version from gold files
  traffic_dump: add nullptr check for sni string (#6700)
  Fix crash when folloing redirect
  Fix deprecated-copy warning in cache tool
  Fixed memory leak in header unit test
  Increase the default max_record_entries to match the original compiled in value (#6697)

commit 05b7ab8874379e527712580210b41253601e54e9
Merge: d2232313c 7320d5c53
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Apr 22 16:11:34 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Normalizes function names to match hook names in intercept plugins
  Added Apache notifications file
  Test PUSHing an object into the cache and the GETting it with a few variations on the client connection protocol.
  Fix link issue of test_libhttp2 on FreeBSD 12 with --enable-debug
  Traffic Dump: Adding an SNI filtering option. (#6645)
  code and documentation for lua states configuration and stats printing (#6571)
  Fixes minor memory leak in configure_net
  Update TSStatFindName to check that sync callback is set on the stat
  Fixes memory leak during log configuration
  Removes commented out code from example
  chdir into src before running git commands
  Added / renamed config.h -> configs.h, to avoid our .gitignore
  Added new flag to documentation
  Cleanup for consistency
  Add PolicyManager, basic functionality
  Refactor the cache_promote policies
  Format to match perferred if/else formatting for sh scripts
  Adds the 8.1 stuff that's already running and building
  Skip running autests for ci builds that don't have relevant changed files
  Skip running autests for ci builds that don't have relevant changed files
  Added a basic CODEOWNERS
  remove unnecessary Last-Modified header from tests
  Bug fixes to h2 buffering
  Added bonded interface support to system stats plugin (#6668)
  Fix memory leak of HPACK
  Fixes memory leak loading certs
  Check sni against SSL object (#6656)
  Fix origin scheme selection with partial-blind addition (#6655)
  traffic_top bug fixes for client connections
  Run httpbin as an origin server of AuTest
  Removing whitespace and closing file elsewhere
  complete change
  change suggested during discussion
  close the file after use
  Augment autest to exercise combined cert and key file
  Optimize HTTPHdr conversion of HTTP/1.1 to HTTP/2
  Convert HTTP/2 regression tests to use Catch
  Introduce LocalBuffer
  Add hashname to the configuration definition (#6647)
  Adds important config notes for TLS v1/1.1 (#6646)
  Add docs for memory leak detection configs
  Add more options to session_sharing.match (#6566)
  Fixes crash loading combined(cert+key) certs
  traffic_dump: don't dump cookies from the wire (#6586)
  Adding a log pipe buffer size test.
  Adds partial_blind_route sni action
  Make next_cs_id a private member variable.
  Use default rwlock attributes on initialize
  Fix migrate use after free (#6578)
  Add a new log tag %<vbn> AppVersionInfo.BldNumStr
  s3_auth_v4: multiple same name fields signing fix
  Fix ASAN detected crash in test_LogUtils. This is cause by double linking BufferWriterFormat.cc, so don't do that.
  Fixes a bug where the nexthop markNextHop method to mark a host down is not called when because the wrapper function was not used.
  SNI: Add support to match/replace captured group from fqdn into tunnel_route. (#6613)
  Add ready checks for the microserver and ATS test instances. (#6625)
  Updated ink_rwlock to be a real reader writer lock
  Patch to catch and invalidate an HTTP asset with negative bytes after cache_seek.
  Fix missing virtual destructor for PluginUserArgsMixin.
  Don't be overly aggressive on stream failures and closing

commit d2232313ce0d6baa2fb746b82596916256c72a69
Merge: 69713f57f ba98187ef
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Apr 7 12:45:14 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Remove configure option --max-api-stats which does not do anything. Should have been removed as part of commit ea1fb0c87261b1fbf375fa6ade26deda1d01995b
  Add extension ip.test.ext to Au Test, with Test method to allocate extra TCP ports.
  Optimize HTTPHdr conversion of HTTP/2 to HTTP/1.1
  Return TSFetchSM from TSFetchUrl so TSFetchFlagSet can set fetch flags
  READ_RESPONSE_HDR_HOOK is invoked only when the response is from the Origin Server
  Fix typo in system stats, change loadavg 10min to be 15min (#6608)
  Making client session id unique across HTTP/1 and 2 sessions
  Add support for a simple_server_retry_responses list (#6605)
  AuTest for server_push_preload plugin
  fix sed matching
  Improving the messaging around the use of TSSslSessionGetBuffer
  Fix PUSH_PROMISE frame payload length
  Cleanup: fix a inline function style
  Doc updates to TSContSchedule* API
  Skip compressible content type check with null strings.
  Include start line of HTTP messages in xdebug probe output.
  Convert mgmt/utils unit tests to use Catch.
  [Doc][DevGuide][TSStatSync] Fixing documentation for SUM and COUNT types
  Support body factory template suppression for internal requests
  Fix tunnel crash
  When using TSContSchedule() and TSContScheduleAPI() set the calling thread as the thread affinity when not already set
  Ensure TSContSchedule API family are called from an EThread.
  Make request/response body as an option for AuTest microserver
  Moved printing the incoming headers for debug before remapping
  SSL: Always renew TLS Session Tickets iff TLSv1.3 is being used
  Convert proxy/logging unit tests to use Catch.
  Convert single regression test in iocore/eventsystem/SocketManager.cc to Catch.
  Enable logging autests on macOS, clarify why Linux is required
  In Au tests, poll for excretion of log file rather than waiting fixed delay. (#6506)
  Fixed build issue with Ubuntu 16 debug
  Removed some unused declarations in HttpTransact
  Convert Mime and URL unit tests in proxy/hdrs to Catch.
  Convert unit tests for sslheaders plugin to Catch.
  free(map) -> delete map
  Removes copypasta curl text from tests and removes checks for curl
  Fixes some tls autests on macOS
  Add FetchSM support to dechunking in non-streaming mode. Add new TS API TSFetchFlagSet()
  Doc: Add mention for sleep time variance
  Allow lo interface in list of system stats (#6531)
  Remove unused unit test source files in src/tscore.
  better handling of TSVIO calls and TSVConnAbort (#6239)
  Convert tscore regression tests to Catch unit tests.
  Disables "virtual host not used with AWS auth v4" error in s3_auth
  Created remap_stats au test.  This tests 2 remaps, one for a 2xx response and one for a 4xx response and then checks the stats output (#6505)
  Adds support for configure option --enable-yaml-headers (#6519)
  Require 1.1.1 as minimum openssl lib version for tls_check_dual_cert_selection Au test.
  Removes noisy log statement from xdebug
  Make traffic_ctl limp along for now with large records.snap (#6517)
  Fixes a bug where getHostStatus() will create a host status record when none is found. A Host status record should only be created when a host is marked up or down when traffic_ctl is used to mark a host up or down.
  Moves hosting.config finished loading message outside of parsing loop
  Refactor and generalize the User Arg concept, add global (#6468)
  Check the exit value of the regression test
  Fix SDK_API_TSSslServerContextCreate
  Exponential backoff - Make values used configurable - Add config support for ceiling time and retry cap. - Add small variance when sleeping.
  Cleanup: check activity of Http2Stream by ActivityCop
  Rework server side SSL_CTX creation to better handle dual_cert mismatches (#6483)
  XDebug: Always append to the X- header, rather than prepend
  Doc: connection.match default value update
  Charge Proxy Header Regression tests into Catch unit tests.
  traffic_dump: Make client-request gathered in a global hook (#6500)
  Remove method that does nothing. (#6501)
  Doc: traffic_manager - Add documentation for exp backoff and configuration
  Make all_headers test more resilient to timimng
  remove pthread_cancel, use atomic flags to ensure cross thread safety, and some other cleanups
  Add null check to fix error tunnel crash
  LGTM: Fix comparing int8_t with wider type
  Fix a compile warning
  Bikeshedding some code structures for reloadable plugins config (#6488)
  Issue 3546: Add "overridable" to the configuration variable description.
  Remove some outdated files.
  Be explicit about RTLD_LOCAL, defaults varies on platforms (#6485)
  [CPPAPI] Provide access to TSRemapRequestInfo in RemapPlugins.

  Delay cleanup when cache write continues after early client response
  Reduce minimum config files neeed for golden_tests.
  Removes some things deprecated from older versions (#6471)
  Fixed logging docs typos
  Use same filename variable to keep consistency
  Fix clang-format on SSLUtils.cc
  Add more flexible error handling when open a config file.
  Remove --read_core option
  Remove noisy mutex warning
  AUTest MakeATSProcess default ports records.config
  Using dynamic ports in AUtest
  Issue #6400 - Adds config option to enable/disable dynamic reload feature for plugins => proxy.config.plugin.dynamic_reload_mode - 1 (default) enables the dynamic reload feature, 0 disables it => Adds to and refactors unit-tests for the dynamic plugin reload feature
  cache_range_requests plugin: detect and handle TSCacheUrlSet failures which poison the cache (#6464)
  Fix clang-format
  Make traffic_manager be flexible when opening config files.
  make sure time is consistent between calculations
  Remove update to unused variable

commit febec04eee0f28cec84a94fe5ea68e1eb9d127e4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Mar 5 09:13:03 2020 +0900
Update doc

commit 62a0465ef36549432f14d2e9f69c016d563ec08f
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Mar 3 22:36:16 2020 +0900
Use file descriptor passed by TM for QUIC

commit fb0400a72976a0c162732bad69437923d75c22e1
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Mar 3 22:14:59 2020 +0900
Open UDP ports on traffic_manager if ports are configured for QUIC

commit 0b776127316ecfc0b1f500fb201f1c8892109b84
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Mar 5 08:52:16 2020 +0900
fix compile error

commit 26007a5162e8c68ba80b7ab71b8d4fe830b41f39
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Mar 4 22:07:02 2020 +0900
Fix compile warnings

commit 0462bb7e918db3b8a64e5034a9a9fb67d2696b1e
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Mar 4 15:12:08 2020 +0900
Add a setting for disable_active_migration Transport Parameter

commit e622acc6edcbd32b1a190f0b00b244ee9777ad42
Merge: 7ea257aa0 b63879cbb
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Mar 3 09:48:34 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Try to avoid mixing curl headers and body for disjoing-wait-for-cache test
  Move TestClientAction to SNIConfig class
  Add mechanism to enforce SNI policy
  x-remap ignoring age in gold file
  Adjust consume logic in data frame read
  Skipping log_retention.test.py because it is flaky in CI
  Fix code to avoid HostDBContinuation use after free
  Fix crash when H2 client does not set End-of-data bit
  Signal VC_EVENT_READ_COMPLETE when ATS received END_STREAM flag
  if transaction status nonzero, bypass the slice plugin (#6417)
  Turn on debug for the bash script test_logstats_summary
  Fix port selection for ssl ipv6
  SSLNetVConnection, fixed/removed assert when running debug build
  traffic_dump post_process.py

commit 7ea257aa06a5ed5cfa9d075d558ca1b8813abc15
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Mar 2 18:04:02 2020 +0900
Enable QUIC 0-RTT with BoringSSL

commit 0da1abcff2b9ec2b37d79b4b0743dd6b4c6ef232
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 27 17:02:40 2020 +0900
Fix an error with the old OpenSSL

commit 68be51aa442d2b5c07de6c4df9c769c62b9f741d
Merge: b3aa9226b e2a3e2951
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 26 17:02:26 2020 +0900
Merge branch 'master' into quic-latest

* master:
  SSL: Introduce proxy.config.ssl.server.prioritize_chacha
  Traffic Dump: fix client request target parsing
  Remove documentation for removed TSIOBufferReader API functions.
  Revert "Disable the chunked_encoding test"
  Avoid a weird name collision between HRW and tscore (#6446)
  Move log line length configuration to records.config docs.
  Cleaned up smuggle-client
  Cleaned up ssl-port
  Another option to fix potential HTTP/2 vio stall
  Disable the chunked_encoding test
  Reset captive_action.cancelled during open read retry to prevent assert
  Fixed encoding test to work with OpenSSL 1.0.2
  Export headers for internal YAML-CPP library. This allows plugins to use the library in the same way and version as the TS core.
  Replace python with python3 in AuTest
  Set default encoding UTF-8 for AuTest on Linux
  Cleanup RamCacheCLFUS
  Doc: Add link from proxy.config.proxy_binary_opts to traffic_server options. Document the traffic_server -m, -M options, sort the options a bit better.
  Syntax Error fixed in URI sig Plugin (#6420)
  URI Sig Null Check for Clang Warning (#6419)

commit b3aa9226bcbcd37375e297af252abb4d8f256081
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 26 17:01:40 2020 +0900
Update unit tests

commit e4ac336bf4067be6bf8c39c65b253754a93df805
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 26 16:47:36 2020 +0900
traffic_quic: Add an option to specify a server name for SNI

commit eeff49abddb0ff5dca8aafd8d5b5f1cfc86536df
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Feb 25 14:37:04 2020 +0900
Fix memory leaks arond QUIC packet encryption

commit 8bfdc08856719f4bc5ab7501b43b0227d48f63cc
Author: scw00<EMAIL_ADDRESS>Date:   Mon Feb 24 15:58:49 2020 +0800
Using std::string for QUICConnectionId::hex

commit bfbea17a5e6060d90c2f4807d126ade76431062a
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 20 23:13:50 2020 +0900
Add -r option for stateless reset excersice to traffic_quic

commit cc223b0e42cf8530cea23370414a5984a6131669
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 20 23:12:32 2020 +0900
Add QUICConnection::reset_connection()

commit 0f09b5967f9bd9b67f653c5785e98038c92bb3c3
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 19 15:05:25 2020 +0900
Handle stateless reset

commit 7fea981ee4f305631fc0761028b725c097a02e79
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 13 10:13:26 2020 +0900
Update comments

commit<PHONE_NUMBER>f71f48dbe6b2460c772c9029d93f92
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 13 08:59:29 2020 +0900
Update files for OpenSSL with BoringSSL APIs to compile those

commit 6ae995bccd5348ad535447352b23ea05f82587f4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 12 23:45:09 2020 +0900
Update configure script and Makefile to use files for OpenSSL with BoringSSL APIs

commit 7d04123057499b3ddc0098a15ecd0e318666ccff
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 12 23:29:08 2020 +0900
Copy files for BoringSSL as files for OpenSSL with BoringSSL APIs

commit 5c181b4a95b7177a29b44df6f7696e3a685e99e4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 12 23:27:33 2020 +0900
Use _legacy as suffix for files for hacked OpenSSL

commit 4c1236efa11e0c133d712cb6999700b042d2548f
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 13 10:13:41 2020 +0900
Restore one more tests disabled for BoringSSL

commit 292619ed11c13922943374dfe3412b639f5dc96f
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Feb 17 10:42:03 2020 +0900
Remove a possible null pointer dereference

commit 48cca203f44508a3706cb58fbdde65bfacc4c686
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 13 12:19:16 2020 +0900
Update a test for handshake error

commit 00d3f7fb1a586abd4872be6535a9f71c14d9821e
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 12 21:45:28 2020 +0900
Add missing AL header

commit 40f8a594dd7bbda2fabfda2f3442c39eec266c85
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 12 21:43:46 2020 +0900
Add a length check to TP parser

commit b75169ab6bdcee21f8c8af47ab42d42b1b8d0ba8
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 12 21:43:03 2020 +0900
Reenable tests for handshake that didn't pass with BoringSSL

commit 01e6daf2c840c797b9723319c49d49d887bd6aaa
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Jan 22 11:37:32 2020 +0900
Send and receive Transport Parameters with BoringSSL API

commit da6062a45e9d9d1ded78001979a2596903f51a0b
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Jan 22 09:53:24 2020 +0900
Update tests

commit d86fa83b427ffdc6fafb0b4a2724f30da88b4f65
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Jan 22 00:14:52 2020 +0900
Update tests

commit 4cd59ce984fd3e6e49edcde4a8abc57dce37be56
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jan 21 23:16:23 2020 +0900
Fix compile error with OpenSSL

commit 70f86f553c9eee2318f2269910db84a836ba719b
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jan 21 22:57:09 2020 +0900
Handshake with BoringSSL

commit c694fd25c3d8cdb719412988bbdd1b00097f8ce7
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jan 21 20:23:21 2020 +0900
Update OpenSSL impl

commit 4d4c07f5b6ec278be314b25fdb12ed81f179c717
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Jan 21 16:38:45 2020 +0900
Read ClientHello with BoringSSL

commit 22b7d9f309b3da33de81123e00d05bac0024190c
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Jan 20 11:54:20 2020 +0900
fixup

commit 7611b5894cf29e25a1052b570e7a42b1d19afb6b
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Jan 8 17:05:07 2020 +0900
Use some of BoringSSL APIs

commit 715566abd0985380914b21d1003a8b3c65f772e7
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Jan 6 11:19:40 2020 +0900
Make QUIC code work with BoringSSL

commit 886bb0910f1feac2d66618d21ede49cbba1c8821
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Fri Feb 14 10:51:21 2020 +0900
Warn if quic is specified to a port configuration on a binary that doesn't support it.

commit 4034130ab0d4dca21fff4509e2d8ab9b78b78833
Merge: db258fb55 4bdde5d48
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Feb 13 11:29:16 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Change gold files to be less restrictive since some of the headers include can be in a different order (#6410)
  Avoid cross-thread mutex conflicts
  Auto port select slow_post test
  Remove unnecesary HttpSM handler call with VC_EVENT_ERROR
  Fix for lua plugin coredump problem during reload
  Update inactive_timeout_at in Http2Stream::signal_read_event()
  Fix localstatedir and runtimedir for Debian layout
  Including stdexcept
  Change to use throw std::runtime_error instead of removal
  Removing throw since there is no context and could cause a crash
  Ensure that extra data beyond the chunked body is not tunneled
  Free TSMgmtString after using it.
  Fixed how we handle uknown schemes
  Change header validation
  Change default connection match config value from ip to both
  Remove dependencies on include/tscore
  Skip unnecessary HostDB update on a fall back to serving stale record
  Remove trailing white space from json formatter
  Document the order of the X-Cache header
  Format config_describe output logs. Pretty format using BufferWritter
  Add compressible content-types example and 1Kb min
  Fix rare SSN/TXN Start/Close Hook misorderings (#6364)
  Add header rewrite test to make sure we are not injecting end of rule char (#6340)
  Change bitfields to be unsigned explicitly (#6373)

commit db258fb551044c6811d0ba56d9f9bf9f7fe9df1e
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Wed Feb 5 00:13:27 2020 +0900
Fix a bug that receiving multiple Retry packets makes PN calculation wrong

commit f8741de2364916c31c260951a05d1f73300d674a
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Feb 4 22:10:50 2020 +0900
Fix debug log

commit e93a9a58e28def940a19d53516dbc6bec8577fe0
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Tue Feb 4 20:55:23 2020 +0900
Fix a buffer size for address validation token

commit 99a19e8c5cbef73c0a1ac689b4d78d8283158a46
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Feb 3 23:29:50 2020 +0900
Fix zero-length CID

commit 550adb320db62739d6dd4676da08fbf1fd03ceb5
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Feb 3 22:34:21 2020 +0900
Fix preferred_address

commit e1e06e12fd5603407dbe113f66c9c5dd5c27bd07
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Feb 3 21:47:56 2020 +0900
Fix QUIC Version Negotiation

commit 212ae79222e756bb149e718bd7976d963b84fc52
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Mon Feb 3 20:45:04 2020 +0900
Check buffer len while parsing QUIC Packet

commit cf7f741f645b1ce933ae4c9b3e2c11068085bf3d
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Fri Jan 31 14:13:21 2020 +0900
Fix a stack overflow at read_essential_info()

commit 5c6063e97440908748fc999a048441e86c7efd02
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Jan 30 16:20:02 2020 +0900
Add QUICRetryIntegrityTag

commit d233b3f415da3f16f86778f230a3bbbfed478be4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Jan 30 16:08:26 2020 +0900
Fix a bug in Stateless Reset Packet generation

commit 5cf73159b56513f13858e09c4b72d486ffc64b97
Merge: 8e1dd61f3 614bbe0a4
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Thu Jan 30 15:40:18 2020 +0900
Merge branch 'master' into quic-latest

* master:
  Change alloca usage to malloc/free
  Fixing shadowed variables, both global and local: (#6371)
  Cleanup: Remove unused accessors of HttpVCTableEntry
  Removing always true/false comparisons (#6363)
  Change localtime/gmtime usages to use the threadsafe versions with local storage (#6362)
  Cleanup: Remove empty function
  Add header guard (#6358)
  Update git-versions
  Fix heap-use-after-free on Http2Stream::destroy()
  Add virtual destructors for Http2TxFrame, Http2FrequencyCounter
  Perf: Optimize sending HTTP/2 frame
  Fixes an issue where a debug build of ATS will fail the assertion in HttpTransact::handle_parent_died() when proxy.config.http.no_dns_just_forward_to_parent is enabled and there is no parent.config or strategy rule for the request. Also this provides a log warning for both debug and release builds of this condition.
  Fixes an issue where NextHopSelectionStrategy did not implement an available nexthop or parent check when proxy.config.http.no_dns_just_forward_to_parent is enabled.
  Fixes Issue #6321 caused when proxy.config.http.no_dns_just_forward_to_parent is enabled.  When this configuration variable is enabled, a parent selection strategies findParent() function is called twice on each transaction resulting in unexpected results such as every other parent is only used in a strict round robin strategy.
  Fix problems with "Probe" option for X-Debug MIME header field. (#6197)
  Make compress plugin normalization of Accept-Encoding header compatible with normalization in core TS.
  Adding max line length configuration documentation.
  Fixed build issues on macOS after 0-RTT merge
  Fixes typo in TLS Bridge illustration
  Fix strict round robin cur_index increment
  remove dequeue_timed since it is not being used anymore
  fix doc build error
  Simple and miscellaneous fixes/additions for lua plugin
  fix freebsd build error
  Remove unused variable
  Improvements on ESI plugin
  Add new log field to output server name sent by client in TLS handshake.
  Fixes clang-format issues
  TLSv1.3 0-RTT support (#5450)
  Add simple autest and subsequent fixes
  Clear all pointers in API Hooks clear function.

  Add in_destroy to Http2ConnectionState to prevent double delete (similar to Http2ClientSession)
  Fixes a corner case where the NextHop consistent hash ring may not be searched in it's entirety for an available host due to a premature wrapped ring indication.
  Adjust debug tag for ssl_sni_whitelist plugin to match plugin
  Add invalid config warning when cache open write fail and read retry are inconsistent
  Add links to RWW sections
  Fix rst errors for collapsed forwarding plugin
  Set wrap after checking all the parents
  Perf: replace dynamic_cast with static_cast in this_thread()
  Fixes a few Sphinx build warnings (#6290)
  Moving / adding the Roadmap to the release notes (#6257)
  These features are in 9.0.x release notes (#6286)
  Removes the remaining references to TSQA
  LGTM: Fix unused imports
  Assure no SM survives plugin factory deactivation.
  Remove remnants of obsolete remap thread.
  Update the admin-guide hierachical caching and remap.config documentation to include the NextHop strategies feature.
  For combo_handler plugin, add an optional whitelist of allowed values for Content-Type.
  Copy the Client SNI Server Name out of the openssl SSL object and ensure it is null-terminated.
  For per-transaction config override, crossing the const-correctness event horizon.
  Remove -j from lgtm build (#6274)
  LGTM: Add header guards
  LGTM: Fix wrong type of arguments to formatting function
  Change HTTP/2 error rate log to warning
  LGTM: fixes a shadowed variable in ParentSelection::PreprocessParents().
  LGTM: fix a comparison that is always false.
  Fixes various crashers loading/reloading parent.config
  TCL: cleanup in HostLookup.cc, make sure keys are stable. (#6263)
  Fix TS_USE_DIAGS usage for --disable-diags option
  Initial revision of .lgtm.yml config file (#6258)
  auto delete rolled log file fixes
  remap_stats: restore handling of remap/hostname to remove memory leak
  Avoid unnecesarry copy on POST request over HTTP/2
  Add some stats collections to cache_promote.

  Adds strategies.yaml to install target
  cache_range_request plugin: add support for opt X-CRR-IMS reval header
  Adjust the refcounts to avoid Mutex leak
  Following catch test naming standards.
  Review comments.
  Fixing rolled log cleanup parsing for <blah>.log.<blah> files.
  Fixed build issue with clang5 and Extendible
  Remove never implemented regex descriptions
  Fix out of bound array access in ssl_session_reuse plugin (#6235)
  Don't sleep if ProtectedQueue.localQueue is not empty. (#6234)
  fix stringstream crash during shutdown
  Correct handle the value return from mgmt socket read and write (#6220)

commit ba48f6b66397b31e8c6836037f6667e82c2cc636
Author: scw00<EMAIL_ADDRESS>Date:   Mon Nov 25 19:12:08 2019 +0800
Fix build error in QUICTypes.cc

commit 91d7b743c65c5f3ba8270c52cd4c1f5186c9faa0
Merge: ecab2b84c aba5c2c6f
Author: Masakazu Kitajo<EMAIL_ADDRESS>Date:   Fri Nov 22 15:10:31 2019 +0900
Merge branch 'master' into quic-latest

* master:
  Docker builds do not need build numbers in workspace (#6221)
  Add autest for cache_range_request, add xdebug x-parentselection-key
  Move logging before session could be freed
  Do not reenable txnp with TS_EVENT_HTTP_ERROR if received TS_EVENT_HTTP_TXN_CLOSE event (PR #6215)
  Fixed next hop tests for out of tree builds
  This fixes next hop unit tests that segfault due to missing (#6216)
  Add autopep8 & pyflakes in dev-packages for AuTest
  Set END_STREAM flag when write_vio ntodo is 0
  Add 100-continue expectation support on H2 connection
  Run dos2unix on all files in tree
  Lua plugin fix: Account for null in output from TSUrlPercentDecode.
  Cleanup: Remove useless UDPConnection function
  Check Range header for stale content
  Fixes spelling in strategies.yaml docs
  Adds WS check, and some cleanup (#6213)
  Cleanup trailing whitespaces, and YAML formatting (#6210)
  ssl_session_reuse optimization to check if diags is on
  Fix the strategies.yaml documentation.
  Add a remap @strategy tag and nexthop selection strategies to remap.
  Add test to catch regressions in sni and override configs (#6170)
  Upgrade Catch.hpp to v2.11 (#6185)
  Fix ssl_session_reuse to compile on macOS and FreeBSD
  Remove header conversion functions for HTTP/0.9
  remap_stats: Fix BufferWriter usage error.
  Limit this check to Linux, where ldd always works (#6191)
  Fixed issue with macOS Catalina and pcre 8.43 enabling pcre-jit (#6189)
  Replaces Python -> Python3 in a few utilities (#6187)
  Fix compile warnings in Catch checks for TextView (#6186)
  Dockerfile for Debian package managers (#6183)
  RBTree - fix potential nullptr dereference
  Doc: Remove local path to MathJax.
  Removes the ssn_close hook, it can never work (#6175)
  tslua: Exposes set/get version for server request objects
  Remove unimplement UDP function
  Remove HttpTransact::build_upgrade_response
  Fixes cppcheck issues for cookie_remap plugin
  Fixed gcc7 issue with yaml-cpp 0.6.3
  Updates yaml-cpp to 0.6.3
  Remove unused functions of IOBuffer
  Re-order READ_REQUEST_ HDR_HOOK and PRE_REMAP_HOOK
  tslua: Exposes set/get method for server request objects
  Cleans up some of the filenames mess (#6144)
  Fixed build issues with hwloc 2.x API changes
  Remove Cache v23 support
  detect bogus jemalloc version
  Move websocket upgrade later in state machine
  Change API to return a TSReturnCode code.
  Promote server_push_preload plugin.
  Move TSHttpTxnServerPush to the stable API interface.
  Only decrement log_stat_log_files_open_stat when the file is closed.
  Normalize loopback usage in session_match autest
  tests: Adds autest for WebSocket mappings
  Fix building Catch on macOS
  Reverse debug specific check.
  thread ready check
  tests: Cleans up local variable is assigned to but never used warnings
  tests: Cleans up imported but unused imports
  Rename test to lua_watermark.test.py
  Add apache header to watermark lua test
  Add lua watermark test to check for existence of lua watermark upstream API call
  Internal link needs _
  Reduce doc build errors
  Disable the most expensive "make check" tests by default
  slice plugin add support for using effective url with remap host.
  Make MIOBufferWriter unit tests work when compiled without -DDEBUG.
  Remove including sys/sysctl.h for Linux
  A couple simple tweaks.
  Update docs for SSL Handshake stats
  Remove using namespace std
  Avoid IOBufferReader::read_avail() call from MIOBuffer::high_water()
  Remove remnants of http/1.1 pipeline logic.
  Cleaned up the changelog command for making our release notes
  Updated to clang-format v9.0.0
  Remove never implemented HttpTransact::service_transaction_in_proxy_only_mode
  Add Metrics to track SSL Handshake attempts
  Removes the records.config.shadow alternative config file
  Fixing include synopsis rendering for API docs.
  Adding an autest for traffic_dump.
  Issue #4294: Handle return value of SSL_write() properly.
  Fix null pointer dereference reported by clang-analyzer
  Add an appropriate warning where behavior has changed
  Fixes misc. spelling and whitespace
  For remap_stats, removes configure time dependency on search.h
  Removes proxy.config.cache.storage_filename
  set host name in TLS extension for SNI Host check in service side with sni policy verify_with_name_source.
  Minor fixes.
  Fixes misc. spelling and whitespace
  Docs: cachekey: fixed non-ascii table characters
  Docs: clarify remap plugin inst init params
  cleanup the eventloop
  Script used for comparing commits on internal branch and seeing if they are on the remote master or release branch.  It uses a combination of cherry-mark and searching the commit message for cherry-pick -x hashes.
  doc + unittest TSRemap(Init|NewInstance) failures
  Updating the autest version pin to 1.7.4.
  Fixing log cleanup candidate selection and adding a test for it.
  Replace container of HPACK dynamic table from std::vector to std::deque
  Allow txn handler to be set from ssn on same hook
  Add basic SystemTap markers support
  Issue #6072: Make If-Range date compare to be exact match.
  Cleanup: Ignore checkprograms of remap
  Issue 4635: Address pipe reuse after configuration reload issues
  Fix the malformed threads table
  Disable tests using exceptions in MIOBufferWriter UT.
  Updated API header and ssl_session_reuse for new TSSslSessionInsert changes
  Premature DSO unload with "suicidal" continuations
  support for listening on all the net threads uses epollexclusive flag and soreuseport
  Fixing session sharing with IP matching.
  Promote 'Enable_Config_Var' from HttpConnectionCount to HttpConfig. This is so other configuration can use it.
  Cleanup: Remove use of obsolete class TSConstBuffer from MIME.cc
  Add example to retrieve request body using Lua
  Dechunk chunked contents on HttpTunnel if client protocol is HTTP/2 or HTTP/3
  Add MIMEHdr Garbage Collection to HPACK Dynamic Table
  Fix some long lines and reduntant plugin_config SO additions.

  Rewrote remap_stats plugin to use C++
  Doc: Fixed the logging mode of pipe to be ascii_pipe
  Enhance Connection Collapse in ATS core
  Doc: improve documentation for event loop statistics.
  Doc: Fix :units: options for statistics.
  Doc: clean up build errors.
  Restore the MIOBufferWriter unit tests.
  Log H2 priority information
  "Plugin (un)used" post reload notification
  do not schedule stuff during shutdown
  Remove obsolete 4-2-0-fixup
  Cleanup: unifdef TRACK_BUFFER_USER
  cachekey: allow multiple values for `--key-type`
  Revert "Optimize: If failed on migrateToCurrentThread, put the server session back to global server session pool"
  url_sig: fix memory leak with urlParse and pristine flag
  make proxy.config.http.request_buffer_enabled configurable and bug fix
  Update TSVConnSslConnectionGet name to match others in the TSVConnSsl* family
  Minor cleanup of proxy/logging/Log.h .
  Add QUIC draft-23 support
  Fix TSHttpTxnReenable to schedule back to original SM thread
  Fix dynamic update for conntrack (HttpConnectionCount) configuration variables.
  These are the current settings we're running on docs
  do not reload configs periodically
  Mark host as partial when subdmains are more than default table depth
  Fix our doc build system to handle non-source dir configure locations.
  Destroy MIMEFieldBlockImpl that doesn't have fields in use
  clang-analyzer: Add a null check
  ProxySession cleanup: moving inline functions to .h
  Cleanup: do not re-define _proxy_ssn variable in local
  Cache SSL EC explicitly
  add some documentation to the action class to avoid confusion
  a general autoconf cleanup
  Updating the default cipher-suite lists for the 9.x release.
  Removed hardcoded logging.yaml filename in logs

Conflicts:
	iocore/net/QUICNetVConnection.cc
	iocore/net/quic/Mock.h
	iocore/net/quic/QUICContext.cc
	iocore/net/quic/QUICContext.h
	iocore/net/quic/QUICPathManager.cc
	iocore/net/quic/QUICPathManager.h
	iocore/net/quic/QUICStreamManager.cc
	iocore/net/quic/QUICStreamManager.h
	iocore/net/quic/test/test_QUICFrameDispatcher.cc

commit cbbc6a5de0e4282097227fef510d911c282ea8d5
Author: scw00<EMAIL_ADDRESS>Date:   Tue Oct 22 10:30:29 2019 +0800
QUIC: add Context to QUICStreamManager

commit 4ef3d3a3084dec2bdfdbc35c292f9f2d5cc2bf0d
Author: scw00<EMAIL_ADDRESS>Date:   Wed Oct 9 10:37:12 2019 +0800
QUIC: sink path manager to stream manager

wow 7000

[approve ci]

Cherry-picked to v9.0.x branch.


[Azure] Update example and readme to use Entra ID

[x] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested
Update Azure code examples to use Entra ID instead of API keys.
Additional context & links

I think CI should run if you target the next branch fyi

Done.


ZING is not able to Scan Below Attached barcode

Hi All,
I am not able to scann Below BARCODE for Some Thirdpaty app is able to Scan.Can You Please help is there any way to scan below Image

What version of ZXing.Net.Mobile are you using?

What version of ZXing.Net.Mobile are you using?

It scans fine.  Version 3.1.0-beta2.   (and I'm sure version 2 works well too - but someone correct me if scan ANALYSIS code was actually improved in v3 - I doubt it)
The issue is barcode print quality.  This one has poor quality and is smudged.  But I was able to scan it on the webpage without printing it.


Checkbox

Hi, in this PR, you'll find the fix of the checkbox component. There is an add of the "checked" prop, and a small rework of the stories.
Let me know if it's ok. If ok, i'll do the same with the radio component.

Plz, this PR should be merged on staging instead of main. Should be corrected before any merge.

Plus, why this PR has some of my previous commits ? It is weird, isn't it ?

I don't get what exactly is fixed by that PR, can you explain what was wrong before ?

Yes, weird... I can't explain why there are Anne's commits
About my commit, correct me if I'm wrong, but the current checkbox component doesn't contain the 'checked' prop. I noticed this when I tried to use it. So I tested it on the playground, and the checkboxes weren't clickable

I found why there were your commits Anne, it's because my PR was to merge on main.