[Search npm Packages] Include popularity, stars etc. in search results

Extension – Search npm Packages
Author: @mrmartineau
First of all, I absolutely love the extension!
I think one useful addition would be to include info such as popularity, GitHub star count, last publish date etc. I usually base my decision about using a particular package on this info.

@MKaciuba hi mate, thanks for the feedback. I would also like to add more info to the output, but there isn't much space for it in the Raycast UI. 3rd party extensions have a title, description (second line), image and the right-hand bit where we put the version, to put information. That doesn't leave much space for the new things that you've suggested. Have a look at the Raycast extensions API docs and see if you can figure out where that information could go.
Actually, we could put that info in the action panel, would that be acceptable?

What do you think about giving a configurable option to choose one of those data points to appear next to the version simply by concatenation, like this: 1.2.3 | ⭐456? Then you could have more detailed info in the action panel as you propose.

They could also work. If I get some time, I will add this stuff.

@MKaciuba FWIW a typical response from the npms.io suggestions API (that the extension uses) looks like this:
{
  "package": {
    "name": "react",
    "scope": "unscoped",
    "version": "18.0.0",
    "description": "React is a JavaScript library for building user interfaces.",
    "keywords": [
      "react"
    ],
    "date": "2022-03-29T16:00:04.223Z",
    "links": {
      "npm": "https://www.npmjs.com/package/react",
      "homepage": "https://reactjs.org/",
      "repository": "https://github.com/facebook/react",
      "bugs": "https://github.com/facebook/react/issues"
    },
    "publisher": {
      "username": "acdlite",
      "email"<EMAIL_ADDRESS>    },
    "maintainers": [
      {
        "username": "gaearon",
        "email"<EMAIL_ADDRESS>      },
      {
        "username": "acdlite",
        "email"<EMAIL_ADDRESS>      },
      {
        "username": "fb",
        "email"<EMAIL_ADDRESS>      },
      {
        "username": "trueadm",
        "email"<EMAIL_ADDRESS>      },
      {
        "username": "sophiebits",
        "email"<EMAIL_ADDRESS>      },
      {
        "username": "lunaruan",
        "email"<EMAIL_ADDRESS>      }
    ]
  },
  "score": {
    "final": 0.9197584952933029,
    "detail": {
      "quality": 0.8629706748020751,
      "popularity": 0.9194826852725915,
      "maintenance": 0.9687095800207814
    }
  },
  "searchScore": 1010.62555,
  "highlight": "react"
}

There are some score values which might be useful, but as you can see there are no GitHub star counts. I don't think it's a good idea to call another API to fetch this info for every result item. So unless you can find a free suggestions API that also returns GitHub stars, I think we'll have to leave it as is.
Having said that, here's what it could look like with scores information added:

..which also isn't ideal because Raycast doesn't offer an Action for simply displaying information like we want in the ActionsPanel. I am using Action.CopyToClipboard in the screenshot above which isn't great. See more options here

@mathieudutour I wasn't aware of the Detail view. So I could use markdown and render something like this (but better):

I'm still not sure if it is worth the changes to be honest. Am happy to take suggestions though.

FYI I have a just opened PR with some updates to this extension: https://github.com/raycast/extensions/pull/1585


Support newline between decorator and function

I had this first fixed inside the decorator parsing code by skipping additional newline tokens.
But then I figured out that it probably needs to be handled during lexing because the python grammar just contains a single NEWLINE.
decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE
decorators: decorator+
decorated: decorators (classdef | funcdef)

I find the lexer control flow quite difficult to understand so please have a careful look if this change is correct. With the change we should only emit a single NEWLINE token.

Thanks!


Retry if registerMethods hasn't been called yet

Issue
The internal registerMethods call for __getTabData changes the behavior of the native sender because it adds the onMessage listener. This is not preventable.
The same behavior change also affected the custom sender which, instead of ignoring a context that didn't register any methods yet, it would receive the error "No METHOD registered here".
Messaging a target
Native behavior

https://github.com/pixiebrix/webext-messenger/issues/66

webext-messenger extension of behavior

if the messenger isn't loaded, the sender retries
🆕 if the messenger  is loaded but registerMethods isn't called, the sender retries
if the messenger  is loaded and registerMethods is called, but the specific METHOD isn't registered, the sender throws "No METHOD found"

Related

Closes #74
Closes #75

Future improvements

[ ] Clarify what "No METHOD registered in the receiving end" means, possibly replacing the message with "The receiving end did not handle the METHOD request" or something like that.

This essentially fixes a regression caused by

https://github.com/pixiebrix/webext-messenger/pull/53

😅
The Messenger however continues to work under the assumption that if a target receives a message and the specific METHOD isn't defined, it's an error. Changing this assumption might not be straightforward and is not needed at this stage.


Missing imports

Just tried to load the pretrained model and it seems backbone.py is missing quite a few imports e.g. random, trunc_normal, DropPath, SwiGLUFFN, etc..

I was able to import most of the functions/classes from timm however this does not seem to exist anywhere get_2d_sincos_pos_embed_cached_device or in the DinoV2 repo either.

Hi, the imports you mentioned are only necessary for model training, not for inference. We did not use get_2d_sincos_pos_embed_cached_device for training nor inference, you can ignore it.


[Snyk] Upgrade tailwindcss from 3.4.1 to 3.4.3

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade tailwindcss from 3.4.1 to 3.4.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.

The recommended version was released on 3 months ago.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

already upgraded!


About the method of DenseTNT prediction

Hello, I have trained and tested the map, and completed the merging, how to train DenseTNT

Thank you for your interest in our work! here is a script that you can use to do the training.
And if I remember correctly, you can modify this line to select whether you use the uncertainty input or not.
Hope this helps!

I encountered the "predicted_map" missing, I read your previous solution, but I don't quite understand, scene-15190.pkl is complete in my code. Could you be a little more specific
The command I'm running is‘’
epochs=10
batch=16
lr=0.0005
dropout=0.1
output_dir="" # output_dir where model is stored
train_dir=/home/data/HiVT_stream/train/data/ # train data dir
val_dir=/home/data/HiVT_stream/val/data/ # val data dir
python src/run.py --nuscenes --future_frame_num 30 --do_train --data_dir $train_dir --data_dir_for_val $val_dir --output_dir $output_dir --hidden_size 128 --train_batch_size $batch --use_map --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj complete_traj-3 --eval_params optimization MRminFDE=0.0 cnt_sample=9 opti_time=0.1 --learning_rate $lr --hidden_dropout_prob $dropout --num_train_epochs $epochs
for i in {1..$epochs}
do
echo $(python src/run.py --nuscenes --future_frame_num 30 --do_eval --data_dir $train_dir --data_dir_for_val $val_dir --output_dir $output_dir --hidden_size 128 --train_batch_size $batch --use_map --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj complete_traj-3 --eval_params optimization MRminFDE=0.0 cnt_sample=9 opti_time=0.1 --learning_rate $lr --hidden_dropout_prob $dropout --model_recover_path $i) >> $output_dir/eval_results
done
‘’I only changed the path

Uhmm The command seems to be right. Although I usually separate the training and val command and don't run them altogether, but it's no big issue.
You mentioned that the pkl file is complete, but the predicted_map is still missing, is that the case?

Right, that's it.Could you please specify the DenseTNT training method? I tried many times, but it didn't work, and I got the error "do.
echo $(python src/run.py --nuscenes --future_frame_num 30 --do_eval --data_dir $train_dir --data_dir_for_val $val_dir  --output_dir $output_dir --hidden_size 128 --train_batch_size $batch --use_map --core_num 16 --use_centerline  --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D enhance_global_graph subdivide  goal_scoring laneGCN point_sub_graph lane_scoring complete_traj complete_traj-3 --eval_params optimization MRminFDE=0.0 cnt_sample=9 opti_time=0.1 --learning_rate $lr --hidden_dropout_prob $dropout --model_recover_path $i) >> $output_dir/eval_results
"done" is not enough. I can run DenseTNT's original code in its entirety. Please advise me

That command is used for evaluation, can you maybe try this for training: https://github.com/alfredgu001324/MapUncertaintyPrediction/issues/17#issuecomment-2368291481
I think it is missing two arguments, sorry I haven't had time to make the edits in the repo.

Ok, I'll try again. Thank you very much.

Hello, I put the val training set of map and uncertainty fusion under the path of train to train DenseTNT normally. Run the script as follows:train_dir=/home/data/HiVT_stream/val/data/ # train data dir
val_dir=/home/data/HiVT_stream/val/data/ # val data dir
python src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --do_train --data_dir /root/autodl-tmp/MapUncertaintyPrediction/trj_data/maptr/mini_train/data - --output_dir /root/autodl-tmp/MapUncertaintyPrediction/DenseTNT_modified/model --hidden_size 128 --train_batch_size 8 --use_map --core_num 8 --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj complete_traj-3
When I merged trian, I found that there was no 'gt_mini_train.pickle'. I think the KeyError: "predicted_map" is related to the absence of this pickle file. Or, when I evaluated the map, I only evaluated it once. When I looked at the previous answers to other people's questions, I couldn't find a method to evaluate the map twice. I only generated a mapping_results.pickle file. Could you please specify the method of evaluating the map twice? Thank you for your guidance, which has been very helpful to me.

Yes, there is no gt_mini_train.pickle as I thought that is unnecessary so did not generate it. Mini val should be enough for debugging purpose.
To evaluate mapping models on other splits, basically you need to modify the paths that are associated with val, for example here: https://github.com/alfredgu001324/MapUncertaintyPrediction/blob/08baf647b8fb7d20cb2840ed8996dd788cd38f3f/MapTRv2_modified/projects/configs/maptrv2/maptrv2_nusc_r50_24ep.py#L280
For trajectory prediction, you need to at least evaluate mapping models twice for each mapping method, once to generate train, and once to generate val. You can also evaluate one more time on the mini val split for debugging purpose.
Hope that clarifies!

Ok, your guidance is very useful to me. I will try it again. Thank you for your patience

No worries! Don't hesitate to reach out if anything is unclear.

Ok, thank you for your guidance

Sorry to bother you again. I don't quite understand what you said. "For trajectory prediction, you need to at least evaluate mapping models twice for each mapping method, once to generate train,  and once to generate val. You can also evaluate one more time on the mini val split for debugging  I have now completed the training and testing using the full dataset. In my test, I ran "source test.sh" only once. Whether I want to change the path after, Run "source test.sh" once to run ann_file=data_ann + 'nuscenes_map_infos_temporal_val.pkl', ann_file=data_ann + 'nuscenes_map_infos_temporal_train.pkl'?
But I ran "python adaptor.py " in "Merging Map Data with Trajectory Data"
--version trainval
--split val
--map_model MapTR
--dataroot /home/ps/Project/HB/nuscenes \

index_file/home/ps/Project/HB/MapUncertaintyPrediction adaptor_files traj_scene_frame_full_train (val). PKL
--map_file /home/ps/Project/HB/MapUncertaintyPrediction/adaptor_files/mapping_results.pickle\
gt_map_file/home/ps/Project/HB/MapUncertaintyPrediction adaptor_files gt_full_train (val). Pickling \
save_path/home/ps/Project/HB/MapUncertaintyPrediction trj_data/maptr run the "train" and "val.
But run "python src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --do_train --data_dir /home/ps/Project/HB/MapUncertaintyPrediction/trj_data/maptr/train/data/  --output_dir  /home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/mode --hidden_size 128 --train_batch_size 32 --use_map  --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D  enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj  complete_traj-3" or prompt "Process process-16:
Traceback (most recent call last):
The File "/ home/ps/anaconda3 envs/predict/lib/python3.8 / multiprocessing/process. Py", line 315, in _bootstrap
self.run()
The File "/ home/ps/anaconda3 envs/predict/lib/python3.8 / multiprocessing/process. Py", line 108, in the run
self._target(*self._args, **self._kwargs)
File "/home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/src/dataset_nuscene.py", line 348, in calc_ex_list
instance = nuscene_get_instance(args, os.path.join(data_dir[0], file))
File "/home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/src/dataset_nuscene.py", line 53,  in nuscene_get_instance
vec_map = data['predicted_map']
KeyError: 'predicted_map'
". I run "python src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --do_train --data_dir /home/ps/Project/HB/MapUncertaintyPrediction/trj_data/maptr/val/data/  --output_dir  /home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/mode --hidden_size 128 --train_batch_size 32 --use_map  --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D  enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj  complete_traj-3 "places val under the train path and can train normally.
What am I supposed to do, please

Sorry to bother you again. I don't quite understand what you said. "For trajectory prediction, you need to at least evaluate mapping models twice for each mapping method, once to generate train,  and once to generate val. You can also evaluate one more time on the mini val split for debugging  I have now completed the training and testing using the full dataset. In my test, I ran "source test.sh" only once. I need to add ann_file=data_ann + 'nuscenes_map_infos_temporal_val.pkl', Does ann_file=data_ann + 'nuscenes_map_infos_temporal_train.pkl' run source test.sh once?
But I ran "python adaptor.py " in "Merging Map Data with Trajectory Data"
--version trainval
--split val
--map_model MapTR
--dataroot /home/ps/Project/HB/nuscenes \

index_file/home/ps/Project/HB/MapUncertaintyPrediction adaptor_files traj_scene_frame_full_train (val). PKL
--map_file /home/ps/Project/HB/MapUncertaintyPrediction/adaptor_files/mapping_results.pickle\
gt_map_file/home/ps/Project/HB/MapUncertaintyPrediction adaptor_files gt_full_train (val). Pickling \
save_path/home/ps/Project/HB/MapUncertaintyPrediction trj_data/maptr run the "train" and "val.
But run "python src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --do_train --data_dir /home/ps/Project/HB/MapUncertaintyPrediction/trj_data/maptr/train/data/  --output_dir  /home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/mode --hidden_size 128 --train_batch_size 32 --use_map  --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D  enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj  complete_traj-3" or prompt "Process process-16:
Traceback (most recent call last):
The File "/ home/ps/anaconda3 envs/predict/lib/python3.8 / multiprocessing/process. Py", line 315, in _bootstrap
self.run()
The File "/ home/ps/anaconda3 envs/predict/lib/python3.8 / multiprocessing/process. Py", line 108, in the run
self._target(*self._args, **self._kwargs)
File "/home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/src/dataset_nuscene.py", line 348, in calc_ex_list
instance = nuscene_get_instance(args, os.path.join(data_dir[0], file))
File "/home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/src/dataset_nuscene.py", line 53,  in nuscene_get_instance
vec_map = data['predicted_map']
KeyError: 'predicted_map'
". I run "python src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --do_train --data_dir /home/ps/Project/HB/MapUncertaintyPrediction/trj_data/maptr/val/data/  --output_dir  /home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/mode --hidden_size 128 --train_batch_size 32 --use_map  --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D  enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj  complete_traj-3 "places val under the train path and can train normally.

What should I do? Please provide me with more guidance.

Yes, that is correct. You need to run source test.sh twice, once on the training split, once on the validation split, so that you can have the map data necessary for training and evaluating downstream trajectory prediction models.
I think it might be that you did not merge the map data and trj data successfully for the training split. When running the adaptor script, you need to change the split argument to either train or val for two different merging.

Hello in the [Mapping Train and Eval] phase to evaluate the train and val data sets, is "ann_file=data_ann + 'nuscenes_infos_temporal_val.pkl',
map_ann_file=data_ann + 'nuscenes_map_anns_val.json', "is changed to ann_file=data_ann + 'nuscenes_infos_temporal_train.pkl',".
map_ann_file=data_ann + 'nuscenes_infos_temporal_train_mono3d.coco.json',”

您好，我已经解决了测试问题。并已完成 DenseTNT 的培训。我想问一下 DenTNT 的 val 命令是否正确。运行以下命令： ppython src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --data_dir_for_val /home/ps/Project/HB/MapUncertaintyPrediction/trj_data/maptrv2/val/data/ --output_dir /home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/mode --hidden_size 128 --train_batch_size 32 --use_map --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane 方向 l1_loss goals_2D enhance_global_graph 细分goal_scoringlaneGCN point_sub_graph lane_scoring complete_traj complete_traj-3 --eval_params 优化 MRminFDE=0.0 cnt_sample=9 opti_time=0.1 --learning_rate 0.0005 --hidden_dropout_prob 0.1 --num_train_epochs 16”

1.DenseTNT training command: python src/run.py --nuscenes --argoverse --argoverse2 --future_frame_num 30 --do_train --data_dir /home/ps/Project/HB/MapUncertaintyPrediction/trj_data/maptrv2/train/data/  --output_dir  /home/ps/Project/HB/MapUncertaintyPrediction/DenseTNT_modified/mode --hidden_size 128 --train_batch_size 32 --use_map  --core_num 16 --use_centerline --distributed_training 1 --other_params semantic_lane direction l1_loss goals_2D  enhance_global_graph subdivide goal_scoring laneGCN point_sub_graph lane_scoring complete_traj complete_TRAj-3 "has completed the training. I run "train_and_eval.sh" and he can only train and cannot complete val, but I run the val command I sent above and cannot succeed val. Could you please send val's order? Could you please give me some guidance

Can you try the testing command here: https://github.com/alfredgu001324/MapBEVPrediction/blob/main/docs/trj.md
But ignore the --method argument. Sorry I should have updated this repo as well....

Thank you, your work is perfect, I have successfully run through map train and val, and track prediction train and val. If there is a problem with the visualization behind, I need more trouble for you to guide me

Of course, no worries. Thanks for your support to our work!


Fix config if entry type unsoundness

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

Fixes #389

2. What is the scope of this PR (e.g. component or file name):

kclvm/sema/src/resolver/config.rs
kclvm/sema/src/resolver/node.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

test/grammar/types/var_type_annotation/type_fail_13/main.k
test/grammar/types/var_type_annotation/type_fail_14/main.k

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1612

Relevant Lines:
1780

💛  - Coveralls


Adding support for CouchDB user management

Hi there!
First update from my side about the user management stuff. Will create a new Session API branch based on that tomorrow morning!
Description:
You may call either method on the trombi.Server instance:

add_user(name, password, callback, doc=None)
Add a user with a name, password and a callback. Optionally
add the default user doc with the doc arg

get_user(name, callback)
Return the user's document

update_user(user_doc, password, callback)
Update a user's document. If you want the password not to be
changed, use None as value.

delete_user(user_doc, callback)
Simply delete a user document

Best
Daniel

Hi!
Thanks for the pull request! I added a few comments to the way user API behaves. There's not much changes I'd like to have, even though the amount of comments may suggest otherwise :P
Tests are a good plus and a documentation would also be nice, but I'd just go first to merge all this and later on add the documentation!


Incorrect destructured type seems to be passed to v-for value, throws ts(2339) error

Environment:
OS: OSX 13.3.1 (22E261)
Vue Language Features (Volar) Version: v1.6.2
TypeScript Vue Plugin (Volar) Version: v1.6.2
in v 1.6.1 the following code works:

<template>

{{ item?.id }}

{{ item?.text }}

</template>

items has its correct type of Item[] | null, and item has the type of Item, no error is thrown.
in v1.6.2, item is receiving the inferred type of never and throwing  Property '' does not exist on type 'never'. ts(2339)

Workaround
Revert to version 1.6.1 of Vue Language Features (Volar).

Fixed by https://github.com/vuejs/language-tools/commit/83e9ece4a97d5b1b28fb9997547db409266e8085


Latest package tools forcing Conan v 1.2.1

I found this in the docs:

CONAN_PIP_PACKAGE: Specify a conan package to install (by default, installs the latest) e.j conan==0.0.1rc7

I don't have this environment variable set, but when I run python build.py locally, it is forcing reinstall of Conan using 1.2.1 instead of 1.2.3.
Building wheels for collected packages: conan
  Running setup.py bdist_wheel for conan: started
  Running setup.py bdist_wheel for conan: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/55/bc/4e/53fca0bbe54382d3a6bb8f204f1a9f35435db798af05c48734
Successfully built conan
Installing collected packages: conan
  Found existing installation: conan 1.2.3
    Uninstalling conan-1.2.3:
      Successfully uninstalled conan-1.2.3
Successfully installed conan-1.2.1
sha256:b8121bf20a282199754f13507d724ce3c3b3e7920c95e3e24f7c62a35d565aaf

Full trace:
d:\sources\git-new\CMN\vs_base>python build.py
creating packager with vars :
name = vs_base
args = None
version = 0.1.0
username = svc-build
channel = testing
reference = vs_base/0.1.0
username = svc-build

****************************************************************************************************

   _____                          _____           _                      _______          _
  / ____|                        |  __ \         | |                    |__   __|        | |
 | |     ___  _ __   __ _ _ __   | |__) |_ _  ___| | ____ _  __ _  ___     | | ___   ___ | |___
 | |    / _ \| '_ \ / _` | '_ \  |  ___/ _` |/ __| |/ / _` |/ _` |/ _ \    | |/ _ \ / _ \| / __|
 | |___| (_) | | | | (_| | | | | | |  | (_| | (__|   < (_| | (_| |  __/    | | (_) | (_) | \__ \
  \_____\___/|_| |_|\__,_|_| |_| |_|   \__,_|\___|_|\_\__,_|\__, |\___|    |_|\___/ \___/|_|___/
                                                             __/ |
                                                            |___/

'grep' is not recognized as an internal or external command,
operable program or batch file.

 >> BRANCH DETECTED
upload_repo: https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local [Verify SSL: True]
conan-center: https://conan.bintray.com [Verify SSL: True]
upload_repo: https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local [Verify SSL: True]
conan-center: https://conan.bintray.com [Verify SSL: True]
upload_repo: https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local [Verify SSL: True]
conan-center: https://conan.bintray.com [Verify SSL: True]

[local_vars]
+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration             | value                                                                                |
|---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------|
| sudo_command              |                                                                                |
| exclude_vcvars_precommand | False                                                                                |
| docker_image_skip_update  | False                                                                                |
| allow_gcc_minors          | False                                                                                |
| args                      |                                                                                |
| username                  | svc-build                                                                                |
| login_username            | svc-build                                                                                |
| remotes                   | ['https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local', 'https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local'] |
| upload                    | https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local                                                                              |
| stable_branch_pattern     | stable/*                                                                                |
| specified_channel         | testing                                                                                |
| stable_channel            | stable                                                                                |
| channel                   | testing                                                                                |
| upload_only_when_stable   |                                                                                |
| skip_check_credentials    | False                                                                                |
| clang_versions            | []                                                                                |
| gcc_versions              | ['4.6']                                                                                |
| visual_versions           | ['10', '12', '14']                                                                                |
| visual_runtimes           | ['MT', 'MD', 'MTd', 'MDd']                                                                                |
| apple_clang_versions      | ['7.3', '8.0', '8.1']                                                                                |
| mingw_configurations      | []                                                                                |
| archs                     | ['x86', 'x86_64']                                                                                |
| build_types               | ['Release', 'Debug']                                                                                |
| use_docker                | 1                                                                                |
| docker_32_images          | False                                                                                |
| docker_image              | lasote/conangcc46                                                                                |
| conan_pip_package         | conan==1.2.1                                                                                |
| vs10_x86_64_enabled       | False                                                                                |
| data_home                 | C:\Users\jwiltse/.conan/data                                                                                |
| builds_in_current_page    | []                                                                                |
+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+

 >> RUNNING BUILDS...

[pip_update]
Requirement already satisfied: conan==1.2.1 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages
Requirement already satisfied: deprecation<2.1,>=2.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: pluginbase<1.0,>=0.5 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: colorama<0.4.0,>=0.3.3 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: distro<1.2.0,>=1.0.2 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: fasteners>=0.14.1 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: requests<3.0.0,>=2.7.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: PyJWT<2.0.0,>=1.4.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: pylint<1.9.0,>=1.8.1 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: pygments<3.0,>=2.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: node-semver==0.2.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: astroid<1.7,>=1.6 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: PyYAML<3.13.0,>=3.11 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: bottle<0.13,>=0.12.8 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: six>=1.10.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: future==0.16.0 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: patch==1.16 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from conan==1.2.1)
Requirement already satisfied: packaging in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from deprecation<2.1,>=2.0->conan==1.2.1)
Requirement already satisfied: monotonic>=0.1 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from fasteners>=0.14.1->conan==1.2.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: idna<2.7,>=2.5 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: mccabe in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: isort>=4.2.5 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: lazy-object-proxy in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from astroid<1.7,>=1.6->conan==1.2.1)
Requirement already satisfied: wrapt in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from astroid<1.7,>=1.6->conan==1.2.1)
Requirement already satisfied: pyparsing>=2.0.2 in c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages (from packaging->deprecation<2.1,>=2.0->conan==1.2.1)
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 >> VERIFYING YOUR CREDENTIALS...
Current 'upload_repo' user already: svc-build

 >> OK! 'SVC-BUILD' USER LOGGED IN 'UPLOAD_REPO'
Page: 1/1
+--------------------+------------+--------------+--------+
|   compiler.version | compiler   | build_type   | arch   |
|--------------------+------------+--------------+--------|
|                4.6 | gcc        | Release      | x86    |
|                4.6 | gcc        | Debug        | x86    |
|                4.6 | gcc        | Release      | x86_64 |
|                4.6 | gcc        | Debug        | x86_64 |
+--------------------+------------+--------------+--------+

Found Visual Studio 11
Found Visual Studio 12
Found Visual Studio 14
Found Visual Studio 15
Profile created with detected settings: C:\Users\jwiltse\.conan\profiles\default

[docker pull]

 >> PULLING DOCKER IMAGE LASOTE/CONANGCC46
Using default tag: latest
latest: Pulling from lasote/conangcc46
Digest: sha256:3537b30b924e96dfbee0647560629bb1fb7d52ead1246be1a1cf61269bd38c65
Status: Downloaded newer image for lasote/conangcc46:latest

[update conan]

 >>  docker run --name conan_runner lasote/conangcc46 /bin/sh -c "sudo pip install conan_package_tools==0.16.4 --upgrade && sudo pip install conan==1.2.1"
sudo: unable to resolve host 1fc3e767155d
Collecting conan_package_tools==0.16.4
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Downloading conan_package_tools-0.16.4.tar.gz
Requirement already up-to-date: six>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from conan_package_tools==0.16.4)
Requirement already up-to-date: requests[security] in /usr/local/lib/python2.7/dist-packages (from conan_package_tools==0.16.4)
Collecting conan>=0.22.0 (from conan_package_tools==0.16.4)
  Downloading conan-1.2.3.tar.gz (619kB)
Collecting tabulate==0.8.2 (from conan_package_tools==0.16.4)
  Downloading tabulate-0.8.2.tar.gz (45kB)
Requirement already up-to-date: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests[security]->conan_package_tools==0.16.4)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests[security]->conan_package_tools==0.16.4)
Requirement already up-to-date: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests[security]->conan_package_tools==0.16.4)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests[security]->conan_package_tools==0.16.4)
Collecting cryptography>=1.3.4; extra == "security" (from requests[security]->conan_package_tools==0.16.4)
  Downloading cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl (2.2MB)
Collecting pyOpenSSL>=0.14; extra == "security" (from requests[security]->conan_package_tools==0.16.4)
  Downloading pyOpenSSL-17.5.0-py2.py3-none-any.whl (53kB)
Requirement already up-to-date: PyJWT<2.0.0,>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: colorama<0.4.0,>=0.3.3 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: PyYAML<3.13.0,>=3.11 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: patch==1.16 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: fasteners>=0.14.1 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: node-semver==0.2.0 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: distro<1.2.0,>=1.0.2 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Collecting pylint<1.9.0,>=1.8.1 (from conan>=0.22.0->conan_package_tools==0.16.4)
  Downloading pylint-1.8.4-py2.py3-none-any.whl (690kB)
Requirement already up-to-date: future==0.16.0 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: pygments<3.0,>=2.0 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Collecting astroid<1.7,>=1.6 (from conan>=0.22.0->conan_package_tools==0.16.4)
  Downloading astroid-1.6.3-py2.py3-none-any.whl (289kB)
Collecting deprecation<2.1,>=2.0 (from conan>=0.22.0->conan_package_tools==0.16.4)
  Downloading deprecation-2.0.1.tar.gz
Requirement already up-to-date: bottle<0.13,>=0.12.8 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: pluginbase<1.0,>=0.5 in /usr/local/lib/python2.7/dist-packages (from conan>=0.22.0->conan_package_tools==0.16.4)
Collecting asn1crypto>=0.21.0 (from cryptography>=1.3.4; extra == "security"->requests[security]->conan_package_tools==0.16.4)
  Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Requirement already up-to-date: enum34; python_version < "3" in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.3.4; extra == "security"->requests[security]->conan_package_tools==0.16.4)
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=1.3.4; extra == "security"->requests[security]->conan_package_tools==0.16.4)
  Downloading cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl (407kB)
Collecting ipaddress; python_version < "3" (from cryptography>=1.3.4; extra == "security"->requests[security]->conan_package_tools==0.16.4)
  Downloading ipaddress-1.0.19.tar.gz
Requirement already up-to-date: monotonic>=0.1 in /usr/local/lib/python2.7/dist-packages (from fasteners>=0.14.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: configparser; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: backports.functools-lru-cache; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: packaging in /usr/local/lib/python2.7/dist-packages (from deprecation<2.1,>=2.0->conan>=0.22.0->conan_package_tools==0.16.4)
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.3.4; extra == "security"->requests[security]->conan_package_tools==0.16.4)
  Downloading pycparser-2.18.tar.gz (245kB)
Requirement already up-to-date: futures in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint<1.9.0,>=1.8.1->conan>=0.22.0->conan_package_tools==0.16.4)
Requirement already up-to-date: pyparsing>=2.0.2 in /usr/local/lib/python2.7/dist-packages (from packaging->deprecation<2.1,>=2.0->conan>=0.22.0->conan_package_tools==0.16.4)
Building wheels for collected packages: conan-package-tools, conan, tabulate, deprecation, ipaddress, pycparser
  Running setup.py bdist_wheel for conan-package-tools: started
  Running setup.py bdist_wheel for conan-package-tools: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ac/f9/2d/5b78b92dc4ba660ee39c1aac47b10bd9956951ac061901b4d3
  Running setup.py bdist_wheel for conan: started
  Running setup.py bdist_wheel for conan: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/bf/a8/51/5d7873428be5f8eeae38fa3b9f33b7e5805d23b0cb3d8fba77
  Running setup.py bdist_wheel for tabulate: started
  Running setup.py bdist_wheel for tabulate: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/7c/fc/c4/f89c90e8bb6a0052a4ad4a9bc30a61429fea5d3439c63e2efd
  Running setup.py bdist_wheel for deprecation: started
  Running setup.py bdist_wheel for deprecation: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/cc/2c/c9/1a79ea048b0464b828c2100cf42e0ab000cdc99295258387a4
  Running setup.py bdist_wheel for ipaddress: started
  Running setup.py bdist_wheel for ipaddress: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/d7/6b/69/666188e8101897abb2e115d408d139a372bdf6bfa7abb5aef5
  Running setup.py bdist_wheel for pycparser: started
  Running setup.py bdist_wheel for pycparser: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
Successfully built conan-package-tools conan tabulate deprecation ipaddress pycparser
Installing collected packages: astroid, pylint, deprecation, conan, tabulate, conan-package-tools, asn1crypto, pycparser, cffi, ipaddress, cryptography, pyOpenSSL
  Found existing installation: astroid 1.6.2
    Uninstalling astroid-1.6.2:
      Successfully uninstalled astroid-1.6.2
  Found existing installation: pylint 1.8.3
    Uninstalling pylint-1.8.3:
      Successfully uninstalled pylint-1.8.3
  Found existing installation: deprecation 2.0
    Uninstalling deprecation-2.0:
      Successfully uninstalled deprecation-2.0
  Found existing installation: conan 1.2.0
    Uninstalling conan-1.2.0:
      Successfully uninstalled conan-1.2.0
Successfully installed asn1crypto-0.24.0 astroid-1.6.3 cffi-1.11.5 conan-1.2.3 conan-package-tools-0.16.4 cryptography-2.2.2 deprecation-2.0.1 ipaddress-1.0.19 pyOpenSSL-17.5.0 pycparser-2.18 pylint-1.8.4 tabulate-0.8.2
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
sudo: unable to resolve host 1fc3e767155d
Collecting conan==1.2.1
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Downloading conan-1.2.1.tar.gz (619kB)
Requirement already satisfied: PyJWT<2.0.0,>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: requests<3.0.0,>=2.7.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: colorama<0.4.0,>=0.3.3 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: PyYAML<3.13.0,>=3.11 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: patch==1.16 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: fasteners>=0.14.1 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: node-semver==0.2.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: distro<1.2.0,>=1.0.2 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: pylint<1.9.0,>=1.8.1 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: future==0.16.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: pygments<3.0,>=2.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: astroid<1.7,>=1.6 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: deprecation<2.1,>=2.0 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: bottle<0.13,>=0.12.8 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: pluginbase<1.0,>=0.5 in /usr/local/lib/python2.7/dist-packages (from conan==1.2.1)
Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests<3.0.0,>=2.7.0->conan==1.2.1)
Requirement already satisfied: monotonic>=0.1 in /usr/local/lib/python2.7/dist-packages (from fasteners>=0.14.1->conan==1.2.1)
Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan==1.2.1)
Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan==1.2.1)
Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<1.7,>=1.6->conan==1.2.1)
Requirement already satisfied: packaging in /usr/local/lib/python2.7/dist-packages (from deprecation<2.1,>=2.0->conan==1.2.1)
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint<1.9.0,>=1.8.1->conan==1.2.1)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python2.7/dist-packages (from packaging->deprecation<2.1,>=2.0->conan==1.2.1)
Building wheels for collected packages: conan
  Running setup.py bdist_wheel for conan: started
  Running setup.py bdist_wheel for conan: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/55/bc/4e/53fca0bbe54382d3a6bb8f204f1a9f35435db798af05c48734
Successfully built conan
Installing collected packages: conan
  Found existing installation: conan 1.2.3
    Uninstalling conan-1.2.3:
      Successfully uninstalled conan-1.2.3
Successfully installed conan-1.2.1

 >>  DOCKER COMMIT CONAN_RUNNER LASOTE/CONANGCC46
sha256:cb59d45591cbc821f654b16565f09feec26092dec7e90bb9040910fd42816294

 >>  docker rm conan_runner
conan_runner
docker: invalid reference format.
See 'docker run --help'.
Traceback (most recent call last):
  File "build.py", line 10, in <module>
    builder.run()
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\conan\packager.py", line 444, in run
    self.run_builds(profile_name=profile_name)
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\conan\packager.py", line 496, in run_builds
    docker_entry_script=self.docker_entry_script)
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\conan\create_runner.py", line 201, in run
    raise Exception("Error building: %s" % command)
Exception: Error building:  docker run --rm -v d:\sources\git-new\CMN\vs_base:/home/conan/project -v C:\Users\jwiltse\.conan:/home/conan/.conan -e CONAN_RUNNER_ENCODED='{"args": "", "username": "svc-build", "channel": "testing", "profile": "\ninclude(default)\n\n[settings]\narch=x86\nbuild_type=Release\ncompiler=gcc\ncompiler.version=4.6\n[options]\n\n[env]\n\n[build_requires]\n\n", "conan_pip_package": "conan==1.2.1", "reference": "vs_base/0.1.0@svc-build/testing"}' -e CONAN_USERNAME=svc-build -e CONAN_CHANNEL=testing -e CONAN_DOCKER_IMAGE="lasote/conangcc46" -e CONAN_GCC_VERSIONS="4.6" -e CONAN_PASSWORD="AKCp5aTbZU82JWAjGbVt6uFUHNrBAyu1zLKK6EN5aYQ6oqZJ61yAbCPNyAj8vjnNwQ5DBoZsi" -e CONAN_UPLOAD="https://artifactory-test.mydomain.com/artifactory/api/conan/conan-local" -e CONAN_USE_DOCKER="1" -e CONAN_UPLOAD_ONLY_WHEN_STABLE="" lasote/conangcc46 /bin/sh -c "rm -f /home/conan/.conan/conan.conf && cd project && rm -f /home/conan/.conan/profiles/default && (conan profile new default --detect || true) && run_create_in_docker"

It seems I had 1.2.1 installed on the machine where this was happening.  Conan Package Tools behavior when Conan is older than the latest, is to uninstall, upgrade, then reinstall your original version.  I think the intended behavior was probably just to skip the upgrade altogether if a prior version exists.  Leaving open for Conan team to decide if they want to change behavior or not.  @lasote pointed out it's a corner case, since most CI scripts for Conan start by upgrading Conan, so this doesn't come up.


[#130844201] More distinctive concourses

What
Make it more difficult to run actions manually on Production Concourse
To make our concourses more distinctive in order to avoid operator accidentally operating on different environments:

add team with aws account specific name
set login timeout to 5 minutes on prod

Note that this PR does not migrate the pipelines to the new team yet. We'll implement that later if we see the need.
How to review
make dev bootstrap. Deploy. See team being created. Go to your concourse and try logging in using the new team. Password and user are the same (admin/usual PW). To test 5m timeout, edit pipeline & change the condition to check against 'dev' instead of 'prod' here, upload (make dev bootstrap), deploy, log in, wait 5 mins, click somewhere in pipeline (e.g. try to start a job) & be prompted to log in.
Who can review
you!

Does it makes sense to also create user different that admin to login?

Despite the comments https://github.com/alphagov/paas-cf/pull/546#discussion_r83614772 and the broken build in travis, the deployment works and the team is created.

Can we add the 5m settings in the environments CI and staging? They also make sense to be protected.

Thank you @mtekel that is great now :+1:


Use consistent method for setting time.Second * n

Currently, we still have a mix of time.Duration and time.Second. This change replaces the remaining time.Duration instances with time.Second * n.

/test heat-operator-build-deploy-kuttl

/lgtm


Tons of duplicated Labels :(

Just ran this today - decided to go in blind and didn't try on a test project first.  I should have...I have hundreds of duplicated labels now.  The import itself seems to run ok, but every Store/Card got a warning about the label not being found...but instead of the migration seemed to create a new label for each story.

Not sure what caused this, but I just had a plain vanilla Trello board.

If this happens to anyone else, its easy to clean up.
#setup Trello Client - its done inside this class' initializer
PivotalToTrello::TrelloWrapper.new('<YOUR_TRELLO_KEY>', 'YOUR_TRELLO_SECRET')

#Get your Board ID
#Run Trello::Board.all then save the "id" attribute that matches your Board.
board_id = 'FOUND_BOARD_ID'

labels_to_delete = %w(bug release feature chore)
labels_to_delete.each do |delete_me|
  Trello::Board.find(board_id).labels.select{|l| l.name == delete_me}.each(&:delete)
end

All done.  This easily beats manually deleting 700 errant labels.


feat: smart tooltip in datasourcepanel

SUMMARY
This PR intends to resolve 2 potential issues in the current Superset

there is no chance to show column name and metric name in the datapanel if defining a verbose name for these.

https://user-images.githubusercontent.com/2016594/149963508-ae31c00d-5c2b-4964-9bd8-cc8b4bc70913.mov

superset-frontend/src/explore/components/DatasourcePanel/index.tsx::LabelContainer  will re-render when we trigger from onMouseLeave or onMouseEnter event.

This simple experiment can prove it.
(superset) yongjie.zhao@:superset-frontend$ git diff
diff --git a/superset-frontend/src/explore/components/DatasourcePanel/index.tsx b/superset-frontend/src/explore/components/DatasourcePanel/index.tsx
index 0a3cf7b76..57b9627a1 100644
--- a/superset-frontend/src/explore/components/DatasourcePanel/index.tsx
+++ b/superset-frontend/src/explore/components/DatasourcePanel/index.tsx
@@ -122,6 +122,7 @@ const LabelContainer = (props: {
   children: React.ReactElement;
   className: string;
 }) => {
+  console.log("Hey, i'm Label Container");
   const labelRef = useRef<HTMLDivElement>(null);
   const [showTooltip, setShowTooltip] = useState(true);
   const isLabelTruncated = () =>

https://user-images.githubusercontent.com/2016594/149965431-9d8f7694-a5f4-414d-8c69-0e82c4213803.mov
closes: https://github.com/apache/superset/issues/13252
This PR removed some redundant logic to fix this.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After
https://user-images.githubusercontent.com/2016594/150352345-aba8a8b7-3561-4b3f-afe9-af940aa26e3c.mov
TESTING INSTRUCTIONS

First and foremost, create a virtual dataset in SQLlab and open it in explore.

SELECT
'foo' as supersupersupersupersuper_long_column,
'foo' as short_column

(default) verify that
a) There is a tooltip on the supersupersupersupersuper_long_column
b) There isn't a tooltip on the short_column
c) There isn't a tooltip on the count
d) there aren't tooltips when you scale datasouce-panel up.

verify verbose name name
a) tooltip will appear column name or metric name if you set verbose name in columns or metrics(except verbose truncated)
b) tooltip will appear verbose name if verbose name truncated

ADDITIONAL INFORMATION

[x] Has associated issue: closes: https://github.com/apache/superset/issues/13252
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

/testenv up

@zhaoyongjie One thing that I found weird was that when the text is not truncated and I hover a column, for example, I get the original column name but when the text is truncated I only get the verbose name. I was expecting to see both the original column name and the verbose name.

@zhaoyongjie One thing that I found weird was that when the text is not truncated and I hover a column, for example, I get the original column name but when the text is truncated I only get the verbose name. I was expecting to see both the original column name and the verbose name. This applies to both columns and metrics.

Hi @michael-s-molina, If a column has a verbose name and it is un-truncated, it will show column name. if a column has a verbose name and it truncated, it will show un-truncated verbose name
Currently, tooltip just show verbose name or database column name, not both.

@zhaoyongjie One thing that I found weird was that when the text is not truncated and I hover a column, for example, I get the original column name but when the text is truncated I only get the verbose name. I was expecting to see both the original column name and the verbose name. This applies to both columns and metrics.

Hi @michael-s-molina, If a column has a verbose name and it is un-truncated, it will show column name. if a column has a verbose name and it truncated, it will show un-truncated verbose name
Currently, tooltip just show verbose name or database column name, not both.

I think they are different information and both should be present. One thing is to see the original column name which is important and should always be visible. Another thing is to see the full truncated text which should display if the text gets truncated.

@zhaoyongjie One thing that I found weird was that when the text is not truncated and I hover a column, for example, I get the original column name but when the text is truncated I only get the verbose name. I was expecting to see both the original column name and the verbose name. This applies to both columns and metrics.

Hi @michael-s-molina, If a column has a verbose name and it is un-truncated, it will show column name. if a column has a verbose name and it truncated, it will show un-truncated verbose name
Currently, tooltip just show verbose name or database column name, not both.

I think they are different information and both should be present. One thing is to see the original column name which is important and should always be visible. Another thing is to see the full truncated text which should display if the text gets truncated.
Here's one example:
* I have a column with the name `Job Location Preference According to the National Job Department `

* The original column name is `job_location_preference`

As the name will get truncated, the tooltip would display:
* verbose name: Job Location Preference According to the National Job Department

* column name: job_location_preference

I know these different identifiers. Currently, only 1 name shown in the tooltip. let me list all the possibilities

short column name without verbose name: don't show tooltip
long column name without verbose name: column name in tooltip
(long or short) column name with short verbose name: column name in tooltip
(long or short) column name with long verbose name: verbose name in tooltip

The major discussion is 4. How to display a truncated verbose name tooltip. What do you think @geido @rusackas

short column name without verbose name: don't show tooltip
long column name without verbose name: column name in tooltip
(long or short) column name with short verbose name: column name in tooltip
(long or short) column name with long verbose name: verbose name in tooltip

If I'm not mistaken (4) means you no longer have access to see the column name. I think we should indeed show the (non-truncated) verbose name AND the column name in the tooltip. This is weird, because it's not consistent. But, I don't think it's a good idea to hide information users might see as important.
Another option I think I would prefer, is to make 3&4 consistent. This would mean showing the Verbose AND Column names in (3) and (4). For 3, the information is a bit redundant, but it at least establishes a regular pattern, so users don't have to think as much about what they're seeing as they go through the list.

If I'm not mistaken (4) means you no longer have access to see the column name. I think we should indeed show the (non-truncated) verbose name AND the column name in the tooltip. This is weird, because it's not consistent. But, I don't think it's a good idea to hide information users might see as important.
Another option I think I would prefer, is to make 3&4 consistent. This would mean showing the Verbose AND Column names in (3) and (4). For 3, the information is a bit redundant, but it at least establishes a regular pattern, so users don't have to think as much about what they're seeing as they go through the list.

Nice method, I will update this PR for cases (3) and (4). Always showing verbose name and column name in the tooltip if column/metric has a verbose name.

@michael-s-molina @evans done this change. please review again. Thanks a lot.

Just need to fix the typo and maybe revisit the tests descriptions to account for the latest changes.

done, thanks for the review.


I can't add plugin cypress-mongodb along with the cucumber plugin

Hello All
My project was importing cypress-mongodb with no probelms until i added cucumebr plugin the project always fails and gives me missing package imports although it works fine when i remove cucumber plugin
` e2e: {
specPattern: "cypress/e2e/BDD-Features/**/*.feature",
async setupNodeEvents(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions
): Promise<Cypress.PluginConfigOptions> {
// mongo.configurePlugin(on)
await addCucumberPreprocessorPlugin(on, config);
  on(
    "file:preprocessor",
    createBundler({
      plugins: [createEsbuildPlugin(config)],
    })
  );

  return config;
},`

Adding mongo.configurePlugin(on) and adding
const mongo = require('cypress-mongodb');
mongo.addCommands();
in e2e.js file gives missing package imports
I followeh the steps from here https://www.npmjs.com/package/cypress-mongodb

Hey, and thanks for reporting this issue. You need however to adhere to the guidelines for reporting issues. Please read through it and update your issue accordingly.

https://github.com/Zaista/cypress-mongodb/issues/42

Closing due to lack of a reproducible example. Feel free to open up another issue if anything changes in this regard.


--mqtt-hass option do not send any messages to the mqtt broker

Hi,
i'm trying to send data to home assistant but when i run the script nothing are send to the mqtt broker, what i wrong?
This is the command i run:
root@dockers-deb12:~/daly/python-daly-bms# daly-bms-cli -d /dev/ttyUSB0 --soc --mqtt-hass --mqtt-broker <IP_ADDRESS> --mqtt-user mqttuser --mqtt-password xxxxxxx
{
  "total_voltage": 54.0,
  "current": 47.3,
  "soc_percent": 35.7
}

i run the mosquittopub on home assistant to see if the messages are received:
mosquitto_sub -h <IP_ADDRESS> -d -v -u mqttuser -P xxxxxxx -t '#'


Tests for frontera scheduler

Both the crawler and FrontierManager are faked. The fake crawler is needed to calculate the overused keys calculation, so it only contains some settings, and a function to setup fake slot info. The fake FrontierManager records all the requests, responses, errors, and arguments, in lists. The actual test just call the functions, and verify the types and content of the values stored in the FrontierManager object.

Overall, it's wonderful! Keep going, @Preetwinder.

I think we could continue with that. In real downloader requests are processed in nearly random order, and I think such behavior needs to be simulated in tests. But let's leave it for now, we have a lot of things to do.


virtctl expand --file should accept - (STDIN)

/area instancetype
Is your feature request related to a problem? Please describe:
$subject, at present this fails with the following:
$ ./cluster-up/kubectl.sh apply -k https://github.com/kubevirt/common-instancetypes.git
[..]
$ ./cluster-up/virtctl.sh create vm --instancetype u1.medium --preference fedora --volume-containerdisk src:quay.io/containerdisks/fedora:40 | ./cluster-up/virtctl.sh expand --file -
error reading file open -: no such file or directory

Describe the solution you'd like:
Support for -f - as with other kubectl commands.
Describe alternatives you've considered:
N/A
Additional context:
N/A

Hi, @lyarwood
I would like to work on this issue. Could you please provide more details about it?

How can I reproduce the issue?
Which file(s) should I update to implement this feature?
Should the solution support all arguments, or just the -f (file) argument?

Hi, @lyarwood
I would like to work on this issue. Could you please provide more details about it?

Excellent!
/assign @aliamerj

How can I reproduce the issue?

See the description, using a kubevirtci based env it's pretty simple.

Which file(s) should I update to implement this feature?

kubevirt/pkg/virtctl/vm/expand.go
kubevirt/pkg/virtctl/vm/expand_test.go

Should the solution support all arguments, or just the -f (file) argument?

--file and -f is already supported we just lack support for passing - to represent standard input:
https://github.com/kubevirt/kubevirt/blob/e24f3bbce8e7beec9afdcfa61fbbdda7d335e820/pkg/virtctl/vm/expand.go#L133-L147
Hope this helps and thanks for taking this on!

I spent a lot of time trying to execute this command:
./cluster-up/kubectl.sh apply -k https://github.com/kubevirt/common-instancetypes.git

but I got the following error:
error: hit 27s timeout running '/usr/bin/git fetch --depth=1 https://github.com/kubevirt/common-instancetypes.git HEAD'

I tried to fetch the common-instancetypes first:
cd common-instancetypes
sudo ../cluster-up/kubectl.sh apply -k .

i got other error
selecting docker as container runtime
resource mapping not found for name: "cx1.2xlarge" namespace: "" from ".": no matches for kind "VirtualMachineClusterInstancetype" in version "instancetype.kubevirt.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "cx1.4xlarge" namespace: "" from ".": no matches for kind "VirtualMachineClusterInstancetype" in version "instancetype.kubevirt.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "cx1.8xlarge" namespace: "" from ".": no matches for kind "VirtualMachineClusterInstancetype" in version "instancetype.kubevirt.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "cx1.large" namespace: "" from ".": no matches for kind "VirtualMachineClusterInstancetype" in version "instancetype.kubevirt.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "cx1.medium" namespace: "" from ".": no matches for kind "VirtualMachineClusterInstancetype" in version "instancetype.kubevirt.io/v1beta1"
ensure CRDs are installed first
.....

I also tried running make cluster-up, but it's still not working.

i also tried to increase the timeout with
sudo ./cluster-up/kubectl.sh apply --timeout=500 -k https://github.com/kubevirt/common-instancetypes.git

but it did not increased
still get this error
error: hit 27s timeout running '/usr/bin/git fetch --depth=1 https://github.com/kubevirt/common-instancetypes.git HEAD'

@aliamerj did you run make cluster-sync to deploy KubeVirt? The following works for me:
$ env | grep KUBEVIRT
KUBEVIRT_PROVIDER=k8s-1.30
KUBEVIRT_MEMORY_SIZE=16384
$ make cluster-updown && make cluster-up && make cluster-sync
[..]
$ time ./cluster-up/kubectl.sh apply -k https://github.com/kubevirt/common-instancetypes.git
[..]
real    0m4.587s
user    0m4.917s
sys     0m0.567s

Alternatively you can also get virt-operator to deploy common-instancetypes for you with the following command:
/cluster-up/kubectl.sh patch kv/kubevirt -n kubevirt --type merge -p '{"spec":{"configuration":{"developerConfiguration":{"featureGates": ["CommonInstancetypesDeploymentGate"]}}}}'

okay, I'll try it out

it did not work
i even delete docker and reinstall it and still get the error
i am using Ubuntu 22.04.4 LTS
this the error i am getting when i run make cluster-sync
Error pushing image to localhost:32840/kubevirt/virt-operator:devel: unable to push image to localhost:32840/kubevirt/virt-operator:devel: Get "http://localhost:32840/v2/": dial tcp <IP_ADDRESS>:32840: connect: connection refused
make[1]: *** [Makefile:159: cluster-build] Error 1
make[1]: Leaving directory '/home/ali/Projects/kubevirt'
make: *** [Makefile:168: cluster-sync] Error 2

maybe there is some libraries or docker images are missing


[Feature request] Use as Website host / Web server directly

I would like to see website host in this docker
It should be like the proxy host, but instead of asking you for the Scheme,Forward Hostname / IP and Forward Port, it should ask for a path for the website contents.
It should also support php7 for hosting php files.

I can see adding support for static sites. This would be a nice feature. Setting fast-cgi parameters may even be a nice enhancement.
But executing php, ruby, node, etc should not be in the scope of this project. It should be done in its own docker container. Just add it to your docker-compose file. Or consider using Caddy @TheBlueKingLP  with a php backend container.

Yep :) I agree that if I open the floodgates with PHP support, I'd have to do it for others as well. Not to mention that PHP with Nginx requires yet another process to be running in the background and I'm not sure about other cgi handlers but I'd guess they might need them too. This doesn't make the proxy a lightweight solution.
I can see value in adding basic html support though. Seems overkill to spin up another docker container just to spit out plain text html files. Adding this feature costs nothing.
In future it might be possible to build spin-off docker images that extend the base functionality, so you might have latest, latest-php, latest-ruby etc and leave the choice up to the end user rather than trying to accommodate everyone. But don't hold your breath on that.

Yes please, static site, mapped in container path.

It would be great! This is the thing I'm missing the most. I started up this image and I quickly realized "wait a minute, I don't have that many proxies". I have a wordpress website, a simple domain that makes a folder browseable, and some subdomains that are proxies but yeah...  Let me know if you require assistance!

At first I wanted static sites to be supported but I get why they're not, it would mean your nginx container would need to have a bunch of volumes attached to it for each static site, or just 1 volume for all of them, and that defeats the modular purpose of docker.
What I'm doing is running this, proxying to a certain ip, which then runs another deployment of an nginx container with 1 static site in it, so each static site gets its own nginx process and ip, effectively turning static sites into ip address sites.
Now then yeah you have to manage that config through text but managing one site's config through files is alright compared to managing numerous load-balanced proxies on your nginx-proxy-manager instance.
Just my thoughts

I've been doing this following for quite some time in my 404 hosts to enable some simple static hosting
root /var/www/html;

location / {
  index index.html index.htm;
}

Note: This will likely break your preset settings such as "Force SSL" settings for this host. (although certificates will work fine)
For PHP support
My docker compose is slightly different, I've added PHP FPM in a seperate container, and I'm exposing the host's /var/www directory to both the app and php container (the directory could be anything, but this is what I chose to use)
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
    environment:
      # These are the settings to access your db
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      # DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
      - /var/www:/var/www
    depends_on:
      - db
    links:
      - php
  php:
    image: php:8-fpm
    restart: always
    volumes:
      - /var/www:/var/www
  db:
    image: 'jc21/mariadb-aria:latest'
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

Finally, for those hosts that you would like to enable PHP on, you should use something like the following in the advanced tab
root /var/www/html;

location / {
  index index.php index.html index.htm;
}

location ~ \.php$ {
    try_files $uri =404;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass php:9000;
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param PATH_INFO $fastcgi_path_info;
}

I quite like that I can mix and match PHP and non-PHP sites quite easily on the same host. There may be a more elegant solution but this is what I've been using for quite some time, so thought I'd share it.

@jc21, without php support? will it be okay to add the static html files. (may be generated by fronted framework)
can we add another scheme here as path. (i know that scheme is not an appropriate term but,)

then update the path provided there and update the template file ??

I agree with @ssrahul96 and think that a file scheme with only a required path box would be ideal. I would also like to suggest adding this to the custom locations as well (though in its template it would be alias instead of root). I would also suggest that no default location / or such be added, I believe file should be considered and "advanced" scheme and require any additional setup be done in the appropriate advanced configuration box.
This would handle most of the requests for static/cgi_pass issues without requiring a ton of custom code for npm, though it would not be as "easy" as a normal setup, this use is the exception not the rule.

I've been thinking about adding a file host, with an optional FPM style handler. If default to /var/www (Hello world!) and allow a user to set file location. Haven't thought it through too much, but would be interested in seeing others input before committing to a PR.

I have been giving this a think for the past few days, and I think the following would work:
Adding a static file host type, with support for a (container/env local) path, that defaults to /var/www/1st domain but can be overridden with a path box, and an additional default for a default page of index.html, which can also be overridden with a defaults box, would do the trick. Also present should be the SSL/locations/and advanced tabs. However, in the locations (for both this host and a proxy host, could an additional "scheme" be added that would support static file locations as well (with similar options as above for the static host.)
As for FPM, there are some "basic" options you could provide, but I think that most of the time people would need to copy/paste a setup that is specific to the app they are forwarding, so I still feel this should be left as an "advanced" procedure.
Would you agree that this is a good starting point, and something you could make a PR for?

We need another host type. File host. it could take a simple path that needs to be accessible for a start.

I've been doing this following for quite some time in my 404 hosts to enable some simple static hosting
root /var/www/html;

location / {
  index index.html index.htm;
}

Note: This will likely break your preset settings such as "Force SSL" settings for this host. (although certificates will work fine)
For PHP support
My docker compose is slightly different, I've added PHP FPM in a seperate container, and I'm exposing the host's /var/www directory to both the app and php container (the directory could be anything, but this is what I chose to use)
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
    environment:
      # These are the settings to access your db
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      # DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
      - /var/www:/var/www
    depends_on:
      - db
    links:
      - php
  php:
    image: php:8-fpm
    restart: always
    volumes:
      - /var/www:/var/www
  db:
    image: 'jc21/mariadb-aria:latest'
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

Finally, for those hosts that you would like to enable PHP on, you should use something like the following in the advanced tab
root /var/www/html;

location / {
  index index.php index.html index.htm;
}

location ~ \.php$ {
    try_files $uri =404;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass php:9000;
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param PATH_INFO $fastcgi_path_info;
}

I quite like that I can mix and match PHP and non-PHP sites quite easily on the same host. There may be a more elegant solution but this is what I've been using for quite some time, so thought I'd share it.

Hello, this was very helpful but how can I fixed the problems with an app that needs composer and other php modules?

version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    links:
      - php
  php:
    image: php:8-fpm
    restart: always
    volumes:
      - /var/www:/var/www

I have some questions about this.

is it possible to give it any other name than "php"? I have tried to rename it everywhere, but did not succeed.
is it possible to run multiple PHP versions with this at the same time and decide per domain which version to run? I also tried to set up something like this but again - did not work.

Any help would be appreciated!

Has there been any work on this? Is there any where I could lend my efforts to help get this feature added?

Having this would make this a full nginx manager. I understand that having fast cgi backends would significantly increase maintenance effort. The easiest way to do it would be to declare simple static sites plus the ability to declare fastcgi backends. And let the fastcgi service to be configured by the user as a separate backend that is not managed by npm.
The other issue would be that we would need custom directives per domain/backend. It's very common to require special config to support pretty URLs, secure sensitive data, define compression, and so on.
I am currently using Caddy for this reason, but I would love to have alternatives, especially with the speed and gravity of nginx.

Default WWW/root folder/directory for docker container managed by Nginx Proxy Manager is /usr/share/nginx/html. Take a look here at StackOverflow


Cannot change height of cell with "auto" height after initial layout pass

Problem description
Even though the intrinsic size of a cell with "auto" height should change after it has been initially laid out, it doesn't on iOS.
Expected behavior
Cells with "auto" height should update their height dynamically according to the height of their contents.
Environment

Tabris.js version: 3.0.0-beta2
OS: 12.1

Code snippet

Android (expected)
iOS

import {Composite, CollectionView, contentView} from 'tabris';

new CollectionView({
  left: 0, top: 0, right: 0, bottom: 0,
  itemCount: 1,
  createCell: () => {
    const composite = new Composite({background: 'black'});
    setTimeout(() => {
      composite.append(new Composite({width: 50, height: 50, background: 'red'}));
    }, 2000);
    return composite;
  }
}).appendTo(contentView);

I can confirm this issue. Also happens when eg, an image is loaded that would increase the height of a cell when it is loaded and placed into the layout.

This is not going to be fixed. UICollectionView along with its layout does not support dynamic resizing at all. In general, it is not allowed to modify the contents of the cells outside of the createCell or updateCell event (including the timeouts).
If you need to resize the cell after it was initially loaded you probably should keep a model of each cell in your app, track the changes in objects which represent the cells and use refresh method on the CollectionView. when your model changes. This will trigger the updateCell event, where you will have the opportunity to make changes in the UI.


Unable to remove video screenshot after creation

Version information

fluent-ffmpeg version: 2.1.2
ffmpeg version: ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
OS: Windows server 2012 R2

Code to reproduce
ffmpegCommand = ffmpeg(videoFile)
  .on('end', function() {
  	callback(null, thumbFileName)
  })
  .on('error', function(err) {
    callback(err);
  })
  .screenshots({
    timestamps: ['50%'],
    filename: thumbFileName,
    folder: tempUploadDir
  });

(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
After the screenshot has been created the callback would be process the file and delete it from the filesystem.
Observed results
Inside the callback the file will be streamed into another destination (and it work properly) and then deleted. Trying to deleted the file won't work, even if I've killed the process with ffmpegCommand.kill(). Trying to deleted it manually will report that the file is open from NodeJS and can't be deleted.
Checklist

[x] I have read the FAQ
[ ] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[ ] I have included full stderr/stdout output from ffmpeg

this is the output required:
End:  ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enabl
e-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-l
ibtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enabl
e-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '[path]\temp\upload_5a642b2a673b52191fcea6487eb719ba.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           :<PHONE_NUMBER>880501
    encoder         : Lavf56.40.101
  Duration: 00:00:09.85, start: 0.000000, bitrate: 104 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 240x240, 79 kb/s, 30 fps, 30 tbr,
 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 20 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 (h264) -> split
  split -> Stream #0:0 (mjpeg)
Press [q] to stop, [?] for help
[swscaler @ 000000e9375a18c0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to '[path]\temp\thumbnail_152721709828521243721_114187712588238_72138987361859010
56_n.mp4.jpg':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           :<PHONE_NUMBER>880501
    encoder         : Lavf58.12.100
    Stream #0:0: Video: mjpeg, yuvj420p(pc), 240x240, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
    Metadata:
      encoder         : Lavc58.18.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=    1 fps=0.0 q=3.3 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=2.19x
video:5kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

I'm on Windows, as the issue state, and I can't pipe the output on /dev/null/. Anyway as I already said in the issue the output has been generated correctly and written in the output directory.
command.kill(); is not generating error.

It works for me with this:
function screenshot(videoFile, timestamps, thumbFileName, tempUploadDir) {
    timestamps ? null : timestamps = ['50%']
    return new Promise((resolve,reject)=>{
        videoFile ? null : reject('Please specify the input file name')
        thumbFileName ? null : reject('Please specify the thumbnail file name')
        tempUploadDir ? null : reject('Please specify the output directory')

        ffmpegCommand = ffmpeg(videoFile)
            .on('end', function() {
                resolve(thumbFileName)
            })
            .on('error', function(err) {
                reject(err);
            })
            .screenshots({
                timestamps: timestamps,
                filename: thumbFileName,
                folder: tempUploadDir
            });
    })
}

screenshot('./file-name.avi', null, 'test.png', './tempDir')
    .then(fileName=>{
        let fileLocation = process.cwd()+'\\tempDir\\'+fileName
        let movedFileLocation = process.cwd()+'\\movedTempDir\\'+fileName
        fs.copy(fileLocation, movedFileLocation)
            .then(() => {
                console.log(`Copied successfuly from ${fileLocation} to ${movedFileLocation}`)
                fs.remove(fileLocation)
                    .then(() => {
                        console.log(`Deleted successfuly ${fileLocation}!`)
                    })
                    .catch(err => {
                        console.error(err)
                    })
            })
            .catch(err => console.dir(err))

        console.log('Done')
    })
    .catch(e=>console.dir(e))

PowerShell output:
PS E:\vlad\nodeWorkspace\git-fluent> node .\fluent-github.js
Done
Copied successfuly from E:\vlad\nodeWorkspace\git-fluent\tempDir\test.png to E:\vlad\nodeWorkspace\git-fluent\movedTempDir\test.png
Deleted successfuly E:\vlad\nodeWorkspace\git-fluent\tempDir\test.png!
PS E:\vlad\nodeWorkspace\git-fluent>

Try it and tell me if it works on your side.

@gvsro thanks for your support, just wondering what's fs.remove? I can't find it in the Node.js fs standard library, are you using another module or version of Node.js?
That's the only difference I can see between your code and mine, I will give a try later on.

fs.remove is from fs-extra.

@gvsro thanks I've seen it, but its not something that I'm willing to add to my project since it does nothing than using fs.unlink in case you're deleting a file. ref

Yes I got your point and I understand it, I couldn't provide a working example because I still need to isolate the code.

I've solved this, thanks @gvsro for your help.


[pcre2] Update to 10.40, drop -static suffix

What does your PR fix?
Updates pcre2.
Drops the -static lib name suffix for MSVC. That suffix is not contained in the pkg-config files, and it requires the name variant to be handled in downstream usage. This modification is allowed by the Maintainer Guidelines. Issue noticed in https://github.com/microsoft/vcpkg/pull/24483#issuecomment-1114430902.
NB: In this PR, I didn't remove name variant handling from downstream ports (unicorn, qt5-base). For qt5-base, I want to use pc files (another PR).

Which triplets are supported/not supported? Have you updated the CI baseline?
unchanged, no.

Does your PR follow the maintainer guide?
yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

Thanks for the update!


ping overlay

just thought a ping overlay to show lag on worlds would be cool

Duplicate of #2640


[ALS-5158] Add Jira support widget

Because of component mounting and routing by React, the script can't be added inside a component. When it's added at any point in the React lifecycle, it does not correctly load the script content. Therefore, it must be added outside the React framework.
The Jira support code data-key will be different per branded env, however in order to get this new code snippet in the checkmarx scans for FISMA, we have to add the new code to the byon-main branch. The key in this PR is for AIM-Ahead support. For other branded envs, like GIC, we will override the data-key with the GIC specific key on the gic branches.
Checklist:

[x] Have you successfully tested with your changes locally?
[x] Have you successfully deployed to an AWS account with your changes?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Reviewed in office hours, Jan 19, 2024.


remove duplicate delete-call if path is different per row

if each row in the grid has a different path, the delete action gets called x-amount of times.
using the variable path as a data-attribute make the script the same for all rows and thus only called once

This part of the code has been refactored, thanks anyway!


Can this pipeline be used for analyzing paired-end 75bp reads?

Usually it is paired-ends 50bp reads for ATAC-seq. Can this pipeline be used for analyzing paired-end 75bp reads?
Thanks!

Yes this can!


[Thaumcraft 6 BETA 15] World crashes upon progressing

The world crashes when I do something progressive... For example, when I create the Thaumonomicon or when I create theories... Is there a way to fix this or should I revert back to BETA 13 or 14?

Beta 13 is the most playable version for most people at the moment. Everyone seems to be running into one crash or another with 14 and 15.


CI test automation script cp_multi-master-extra-node_ugprade.sh

Multi master part of scripts are separate
from single master on purpose.

Overall the PR Looks good to me as parameterize of namespace can be done later after the merge.

rebased


Outdated Docs

Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

fixed in #337