Can't build crate

compilation is stuck indefinitely on rfd:
   Compiling rfd v0.11.4
    Building [=======================> ] 425/427: rfd

rustc --version
rustc 1.73.0-nightly (864bdf784 2023-07-25)

in Cargo.toml:
rfd = { version = "0.11.4", default-features = false, features = ["xdg-portal"] }
I'm on Fedora 38, Gnome.
it's weird because  one month before that, my project worked successfully , event if i havn't change anything

my CPU is at 100% utilization

meet the same problems

rfd takes 10min to build....
why it takes too long time, I am using i7-9700 and althrough it is an old CPU but it still an i7

Please run with --timings and supply the output:
This is my output for stable 1.71.0 (cargo build --release --timings --no-default-features --features xdg-portalr):

rustc 1.73.0-nightly (f3623871c 2023-08-06)
when I build my project, the rfd takes 562s

Same issue for me on Arch:
rfd = { version = "0.11.4", default_features = false, features = [
  "xdg-portal",
] }

takes about 10 minutes to build.

Same issue for me on Arch + i9-12900HK:
rfd = { version = "0.11.4", default_features = false, features = [
  "xdg-portal",
] }

takes about 10 minutes to build.

Are you on nightly as well?
Also does this happen on master as well?

Latest stable (1.72).
I cannot run any more tests right now, but something extremely fishy seems to be going on... This seems to only be a problem when rfd is used as a transitive dependency (?!) :exploding_head:
I also have no clue why it's appearing twice for the same exact version now...

I'll have to run more tests later :shrug:

Ok, got it, reproduced by building this code snippet in release:
use ashpd::desktop::file_chooser::SaveFileRequest;
use std::future::Future;

struct SomeStruct;

pub trait SomeTrait {
    fn some_method(self) -> Box<dyn Future<Output = ()>>;
}

impl SomeTrait for SomeStruct {
    fn some_method(self) -> Box<dyn Future<Output = ()>> {
        Box::new(async move {
            SaveFileRequest::default().send().await.ok();
        })
    }
}

It takes 96.0s
Not sure if I can do anything about that tbh, will report in aspd for now, but rustc bug report is probably more appropriate.

So... it works in 1.71
And will not work until 1.73 probably, rustc issue https://github.com/rust-lang/rust/issues/115297

Thanks, good to know

Most likely fixed in new rust version https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html

Above PR seems to confirm that this issue can be closed now. :-)


[v0.3 DeNas] DeNas code initial framework

This PR keeps the entire commit history for DeNas. Please merge without squash so that history can be kept.
PR changes include below:
1.current DeNas framework code
2.DeNas related configuration files
3.DeNas related cicd integration test code
4.update DeNas related pytorch dockerfile

sync for DeNas complete commit history finished.


SVG output for LineString is invalid

Found here: Shapely LineString SVG Error
from shapely.geometry import LineString
x = LineString([(0,0),(50,50)])
print(x.svg())

So with validator.w3.org check:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg height="50" width="50">
<polyline
            fill="none"
            stroke="#66cc99"
            stroke-width=2.0
            points="0.0,0.0 50.0,50.0"
            opacity=".8"
            />
</svg>

indicates the element is invalid. There are two fixes.
Element literals can be quoted:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg height="50" width="50">
<polyline fill="none" stroke="#66cc99" stroke-width="2.0" opacity="0.8" points="0.0,0.0 50.0,50.0" />
</svg>

Or, they can be moved to the style element, like this:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg height="50" width="50">
<polyline style="fill:none;stroke:#66cc99;stroke-width:2.0;opacity:0.8" points="0.0,0.0 50.0,50.0" />
</svg>

I haven't checked the other geometry types, but it would be worthwhile checking they are all valid.

Closed via #237.


Updated Facebooks sharer.php link

Fixes #519
There is a custom description added to accommodate all the changes than changing metadata
Developer Certificate of Origin Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

I am closing this pull request because you were not approved for work on #519. Please wait for mentor or admin approval before starting work on an issue.
Assuming that there has been no progress made on #519 by Alucard17 in the next three days (one week from assignment), we could re-open this PR for review.

Hey @akmadian it's been 3 days , and
as you instructed I'm reopening this PR

go ahead @DantrazTrev

My apologies for not noticing this earlier @DantrazTrev, and thanks Kriti for catching this :)


1Password: Add 'sort by' option for 1Password items

Description
The 1password extension currently sorts by category by default. Even when within a category, sort is by title. Suggestion is to sort by updated_at date instead, similar to how the real app does it. Increases usability greatly imo.
Note: I implemented changes for v7 but did not test v7 functionality. v8 functionality tested.

I redownloaded 1Password7 so I could test that portion as well...
I receive this error when I attempt to run the extension with 1Password 7 set as the version:
TypeError: Cannot read properties of undefined (reading 'localeCompare')

ji:Items.tsx:12:57
    at Zi
wr:index.js:5:2490
    at ray-navigation-stack

The 1Password CLI is also a requirement here, and it's requirements only list 1Password 8:

as such, would suggest removing 1Password 7 option.

We're planning to keep the 1Password 7 support for a little while, so the changes should be made accordingly.


Bump golang to 1.23.1

external-snapshotter is already using 1.23.1 in go.mod
Bump Golang to 1.23.1

BTW, do you think we should export GOTOOLCHAIN=local in run_with_go? If not, this function is meaningless because go will download the version specified in the go.mod itself.

/cc @xing-yang @jsafrane
PTAL

/ok-to-test

BTW, do you think we should export GOTOOLCHAIN=local in run_with_go? If not, this function is meaningless because go will download the version specified in the go.mod itself. Or should we just remove run_with_go function and rely on go command to manage the version?

What approach does the main kubernetes/kubernetes use? Is there anything we could copy?

Manually downloading the right toolchain archive pre-dates the download mechanism in the Go toolchain itself. Nowadays using the toolchain to download the desired version is the right way to go.

Can we get this PR merged? Or should we fix the (seems unrelated) CI failure first?

We need the CI to be green before merge to make sure this PR does not break anything.

I am staring at the CI logs and they don't make much sense to me.

I suspect it fails because one or both repos are not completely present locally:

--filter=blob:none will filter out all blobs (file contents) until needed by Git

This is used in https://storage.googleapis.com/kubernetes-ci-logs/pr-logs/pull/kubernetes-csi_csi-release-tools/261/pull-kubernetes-csi-release-tools-external-snapshotter/1854867176855441408/clone-log.txt.
I'm not sure yet how to change this - will ask on Slack.

When cloning or fetching from a partial repository (i.e., one itself cloned with --filter), the server-side upload-pack may need to fetch extra objects from its upstream in order to complete the request.

Almost, please also revendor.

@pohly @jsafrane  Can you approve this PR? So that we can merge these two commits at once.


Old archive files are not deleted when a variable is used in the path

Type: Bug
NLog version: 4.4.11
Platform:  .Net 4.5 ( 4.5.2 )
Current NLog config
LogManager.Configuration.Variables["LogPath"] = @"D:\NLog\";

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Trace" internalLogFile="c:\temp\internal.log">
  <targets>
    <target
      archiveFileName="${var:LogPath}\Logs\Archiv\Demo.{#}.log"
      archiveEvery="Minute"
      archiveNumbering="Date"
      archiveDateFormat="mm-ss"
      enableFileDelete="true"
      maxArchiveFiles="2"
      keepFileOpen="true"
      openFileCacheTimeout="30"
      concurrentWrites="true"
      openFileCacheSize="1"
      fileName="${var:LogPath}\Logs\Demo.log"
      layout="${longdate} | ${threadid} | ${threadname} | ${logger} | ${level:uppercase=true} | ${message}"
      name="file"
      xsi:type="File"/>
  </targets>
  <rules>
    <logger minlevel="Trace" name="*" writeTo="file"/>
  </rules>
</nlog>

What is the current result?
NLog
    Logs
        Demo.log
        Archiv
            Demo.22-59.log
            Demo.23-59.log
            Demo.24-59.log
            Demo.25-59.log
            Demo.26-59.log
            Demo.27-59.log
            Demo.28-59.log

Logs
    Archiv

As you can see, NLog creates 2 folders. The NLog folder corresponds to the configuration. The current log file "Demo.log" is located in the subfolder "Logs". Archived files can be found in the "Archiv" subfolder of the "Logs" subfolder.
The Logs folder contains only one folder archive.
In the internal log file is several times to find the following line:
2017-08-02 09:36:00.6654 Debug Watching path 'D:\Logs\Archiv' filter 'Demo.*.log' for changes.
2017-08-02 09:36:00.6654 Debug Watching path 'D:\NLog\Logs' filter 'Demo.log' for changes.

Old archived log files are not deleted from the NLog Archiv folder.
Additional files:
Internal Log File
My C# Testcode
What is the expected result?
I am not quite sure if I have made a mistake in the configuration or whether this is a bug.
In principle, I am concerned that the old log files are properly deleted.
Please post full exception details (message, stacktrace, inner exceptions)
No exception.
Are there any work arrounds?
I can't work out what the issue is.
Is there a version in which it did worked?
I haven't had it work correctly before.
Can you help us by writing an unit test?
No.

@snakefoot any idea if this is solved in 4.5?

@304NotModified Yes NLog 4.5 is able to remove files from the Archiv-folder.
@mrflowo Think the problem is that you have specified archiveNumbering="Date" but you have chosen a date-format that cannot be parsed as a date archiveDateFormat="mm-ss"

@snakefoot I've already tested it with different format variants ("yyyy-MM-dd", "yyyy-MM-dd\THH-mm", ...). There was no difference.

@snakefoot I think we have to add some internal logging in 4.5 so users could debug this their self. https://github.com/NLog/NLog/pull/1872 was meant for that.
Maybe we could add some logging and I can create a new alpha release.

@304NotModified Pretty sure no one wants to put an alpha version of Nlog 4.5 into production. Or do you want to create an NLog 4.4-release ?

Valid point.
Doubting to include it into 4.4.12. I think the impact is really low?

@mrflowo Can see that you have enabled autoReload="true", but using variables. Maybe you just need to add keepVariablesOnReload="true" ?

Thanks a lot @snakefoot! With the option works the delete now. However, he still looks in the wrong folder (or is it only logged incorrectly?) "D:\Logs\Archiv". The folder is still created as well.

After updating to version 4.4.12, the problem with the additionally created folders is solved now.

It sounds highly unlikely that the change of 4.4.12 was fixing your issue. See https://github.com/NLog/NLog/releases/tag/v4.4.12


DevEx #811 Postgres migration to timestamptz

Issue number
Relevant issue number

Resolves #811

Please check the following

[ ] Do the tests still pass? (see Run the Tests)
[ ] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change

This still needs a bunch of testing and a database migration, but I got a good start on the backend changes.
psqls coerces all the timestamptz columns to be in UTC timezone. So as a safety I pushed all our dates to be UTC BEFORE they hit they backend just for an extra safety factor.

alter table "match"
add column "new_startTime" timestamptz,
add column "new_endTime" timestamptz;

update "match"
set "new_startTime" = to_timestamp("startTime"/1000.0),
	"new_endTime" = to_timestamp("endTime"/1000.0);

alter table "match"
drop column "startTime",
drop column "endTime";

alter table "match"
rename column "new_startTime" to "startTime",
rename column "new_endTime" to "endTime";


[GUI]reproduces a previously resolved bug, search only in short names of methods and fields

The latest version reproduces a previously resolved bug, link: https://github.com/skylot/jadx/commit/836585547502142dbdfdf4f3f73e273dcb49be59
I found that the bug is related to this Pr, link: https://github.com/skylot/jadx/pull/880
When I search for the method name, if the class name includes this string, jadx will also render. In fact, I only need jadx to match method names instead of class names;
For example, as shown in the figure:

What is the method name you actually want to find? Does it starts with vip is it the full method name?

What is the method name you actually want to find? Does it starts with vip is it the full method name?

As shown in the figure, when the class name contains vip and the method name does not include vip, jadx also matches.
I just want to search for methods, not classes. Jadx, like this, interfered with my judgment.
If I want to search for a class, I just check the class option.
In general, jadx only needs to match methods with vip in the method name, there is no need to match methods with class names that contain vip.

For example, the above is what I want, the following is not.

In pr https://github.com/skylot/jadx/pull/880, you added a search for method method/field signatures, which is a great idea, thanks. This pr produces a little bug: searching for method names will match class names.

I thought about it, my previous description may not be clear.
When jadx searches for a method or field, it can match method names, variable names, and signatures. Do not match class names.

I agree with you the search options were not well-thought-out.
My main focus was that everything that is displayed also can be searched but especially for method names it does not make sense to include the class name into the search index when there is a special search type for class names.
Therefore I played around a bit with the search types class, methods and fields to optimize the text that is used for the search index as well as the text that is displayed (see the PR #887).

@jpstotz I merged PR #887 but as soon as you mix types into index similar issue is possible if search string found in type but not in method/field name :(
Also, I found an issue with type formatting: if type contains generic so it cut on < symbol (i.e List<String> field become String> field). Looks like this issue is an old one, and exists before your change.

@skylot That you can search for the field type is IMHO a good improvement especially as the number of obfuscated APKs is more and more rising. And a field search for a field named a isn't very effective.
Additionally the search type is Field and not Field name, hence users may expect to search not only for field names.
@xmhwws What is your opinion on the field and method search. What would you expect to find when using this search type?

@jpstotz My problem has been solved, you can close this issue if you want.


It fails in nature envs

ori image is like

@cuge1995 Maybe the strawberry is too small to segment. Here is the result after exec python tools/sam_clip_text_seg.py --input_image_path ~/Desktop/test_env.png --text "leaf,strawberry" --cls_score_thresh 0.9 --use_text_prefix --save_dir ~/Desktop/

x-special/nautilus-clipboard
copy
file:///home/baidu/Desktop/result.png


Reorganizing lib/ and native/ dir

I think current lib/ and native/ dir needs to be reorganized like:

any lib should have a directory with its name
.go and .gb files coexist within the dir

lib/
+---db/
   +--db.go
   +--db_test.go
   +--db.gb
   +--db_test.gb
...
+---result/
   +--result.go
   +--result_test.go
   +--result.gb
   +--result_test.gb
...

How about this?

Think this should be revisited in the future, closing it for now.


convert str to int on client side

Summary
string data can now be restored.
Purpose
string data was converted to hash before send by client side, so it could not be restored.
Contents

string <-> int conversion on client side

Add protobuf types
Change overload_tool module
Add conversion function in share module

Use mypy-protobuf package to make generated code typed
Add tests

libclient-py unit tests
CC unit test which loads schema from json
end2end test between client-server

Notice
There is currently a limit of 20 characters.
Testing Methods Performed

Run tests including added tests in local environment
CI

@mdonaka
Thank you for your review!
I have corrected the points you pointed out.
I would appreciate it if you could confirm it.

putting this PR on hold

@arukuka @mdonaka
I have corrected the part you pointed out.
Please check it!

@KotaTakahashi9320
Could you rebase it?

@mdonaka
I rebased.


Add some color to the default styles

We have a very simple default style, maybe add accent color or some sort of color palette context that all styles derives from.

Maybe add color palettes to enable "success", "warning", "error" buttons.


Clean up built-in List type

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[ ] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[ ] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[ ] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[ ] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

I noticed that the changes to the integration tests were that the final patterns are now simplified conditionally. Is there any reason for this, or should we not worry about this change?

I did not notice that, thanks for pointing it out! I don't think it's right.

@ana-pantilie This is ready to be reviewed again.


Localisation - Languages: newly added language won't show

Expected behavior:
show selected language
Actual behavior:
nothing change
Reproduce steps:
Localisation - Languages

add new language: Chinese, zh_TW
edit language with translation
System - Setting - General
Site - change default language to Chinese

Version:
v3.0.4-beta.23
Additional Information
Chinese characters are shown after I edit app/main/language/en/lang.php directly. Looks like the public site always looks for  English language file.

You can ref https://tastyigniter.com/docs/master/advanced/localization

If you don’t have a language directory in your application root, create a new one.

and follow the structure below:
language/
  zh_TW/                       <=== Language directory
    admin/
      lang.php                 <=== Locale file
    main/
    system/
    igniter/                      <=== Extensions locale directory
      demo/
        lang.php               <=== Locale file

Thanks for your comment. Is the attached file structure correct? It is inside app/main/language. I have also tried to put the language folder in app/ and web root but still the same.

The folder right hand side is download and unzip from crowdin
Put 4 selected folder into <project root>/language/zh_TW/

Have added the language/zh_TW at root. Type some Chinese text in translation but it still haven't shown. Please advise. Thanks.

Might need clearing your application cache using the Cache dashboard widget or php artisan cache:clear

This issue looks resolved. Closing, but please reopen if it still occurs.


Leave the standard routes alongside the configured ones as a fallback for external plugins

Some external plugins may expect the standard Spartacus' URLs (for example /product/xxxxx) to respond. Currently in Spartacus the standard routes are replaced with the configured ones.
So we should leave the standard routes alongside the configured ones. Or as an alternative just redirect from the standard to the configred ones.

Wildcard routes were implemented in GH-1978 (**/p/:productCode, **/c/:categoryCode), so existing accelerator routes are working.


URLField clickable link

Hi, again. I'm using URLField in models.py.

In /admin, the field product_url shows as a clickable link.

But in /data-browser, it does not. How could I make this field a clickable link?

Thank you for the help!! Again, this DDB project is amazing.

That's a bug, I'll get that fixed for you.

That's in the 4.0.1 release I just did, let me know how it works out

Fixed! Thank you so much!

I was thinking about this some more and I've moved the rendering of those links to the frontend (also for image and file fields) this has two notable impacts.
1: they will show as strings in JSON and CSV
2: they will have all the same filtering options as strings
This is in the 4.0.2 release I just did.


Settings transition

What
Fixed the transition to the settings screen.
See 👀

this is great! Thanks for sneaking it in


Changing the base image

Changing the base image to ubuntu

@njuettner Not urgent but is this still needed?

Just tidying up. Going to close this.

@rossf7 thanks forgot to close it 👍


Add shorthands for tags

Add two new shorthands:

onTag: trigger the step based on the creation of any tag. This one is useful because it's not immediately obvious that the creation of a tag is an event.

onTagPattern: trigger the step based on the creation of a tag matching a pattern. Including Pattern in the name emphasizes that this should be a pattern (e.g. v*.*.*) because the use case for triggering on a specific tag is very limited. This one is useful because it's also not obvious that in order to match on specific tags you need to match on a a reference.

I tried running make docs but it's causing a lot of noise.
Any ideas?

Docs generated fine here.


Patch 1

I think we need to release a new version for this changes #44

Thanks @ShadyNagy
I intentionally didn't update the version numbers. Publishing new versions should be @ardalis responsibility, so this PR will wait for his approval.


stop recursion when an election is made

This change fixes a sneaky bug when an Or election is made:

at the moment, the elected sub-tree is automatically flagged as Acquired (by the Right <$> ... ) without checking whether any predicate of that node is met or not
the fix I implemented stops the recursion whenever a choice is made

Pros: no bug
Drawback: the claim might need to be life-cycled immediately after the call to exercise
An alternative fix is to run the acquire' function on the elected node.
The reason why I did not go for this approach is because I think that the exercise function should have as little effect as possible other than just applying an election. Happy to hear your thoughts

On a second thought, I think that in order to figure out the correct approach, we shall decide how 'effectful' we want exercise to be, either

as effectful as it can be --> in this case we should call acquire' on the elected node
the only effect is to apply a choice --> in this case, we should remove the effects form acquire' (consuming Cond nodes, fixing acquisition date for stochastic When nodes)

Let's have a chat next week on what more sensible

at the moment, the elected sub-tree is automatically flagged as Acquired (by the Right <$> ... ) without checking whether any predicate of that node is met or not

I don't quite get this. If I have
a `or` (When p b)

And I elect When p b, then the tree is transformed to When p b, right?
How does this affect acquisition? I thought that is an altogether separate function.
You still need to run an acquire' on this in order to 'enter' that subtree, right?

at the moment, the elected sub-tree is automatically flagged as Acquired (by the Right <$> ... ) without checking whether any predicate of that node is met or not

I don't quite get this. If I have
a `or` (When p b)

And I elect When p b, then the tree is transformed to When p b, right?
How does this affect acquisition? I thought that is an altogether separate function.
You still need to run an acquire' on this in order to 'enter' that subtree, right?

The tree is transformed to Right (When p b), so p is automatically flagged as acquired (which is incorrect).
The two approaches are to either use Left (When p b) to stop the recursion or acquire' (When p b) to continue the recursion only if b is acquired.
This PR has been made redundant after merging https://github.com/digital-asset/contingent-claims/pull/75. Let me open an issue to discuss what the desired behaviour for exercise is once an election is made (whether to stop or continue with the recursion).

Thanks. To give some more context, following our conversation yesterday, my
confusion arose from the fact that your comment is in the context of a
user-facing exercise, which calls both acquire' and exercise', and
hence we're here kind of 'skipping over' the call to acquire. But this is
an issue of composition, as discussed elsewhere, rather than a problem with
this function on its own.
On Thu, May 19, 2022 at 2:17 PM Matteo Limberto @.***>
wrote:

at the moment, the elected sub-tree is automatically flagged as
Acquired (by the Right <$> ... ) without checking whether any
predicate of that node is met or not

I don't quite get this. If I have
a or (When p b)
And I elect When p b, then the tree is transformed to When p b, right?
How does this affect acquisition? I thought that is an altogether separate
function.
You still need to run an acquire' on this in order to 'enter' that
subtree, right?
The tree is transformed to Right (When p b), so p is automatically
flagged as acquired (which is incorrect).
The two approaches are to either use Left (When p b) to stop the
recursion or acquire' (When p b) to continue the recursion only if b is
acquired.
This PR has been made redundant after merging #75
https://github.com/digital-asset/contingent-claims/pull/75. Let me open
an issue to discuss what the desired behaviour for exercise is once an
election is made (whether to stop or continue with the recursion).
—
Reply to this email directly, view it on GitHub
https://github.com/digital-asset/contingent-claims/pull/74#issuecomment-1131613995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMYA3GRLUVGCKW3RZKUOCJTVKYWNDANCNFSM5TNZNFRQ
.
You are receiving this because your review was requested.Message ID:
@.***>

--
This message, and any attachments, is for the intended recipient(s) only,
may contain information that is privileged, confidential and/or proprietary
and subject to important terms and conditions available at
http://www.digitalasset.com/emaildisclaimer.html
http://www.digitalasset.com/emaildisclaimer.html. If you are not the
intended recipient, please delete this message.


[Package request] gmusicbrowser

Project description
Jukebox for large collections of mp3/ogg/flac/mpc files
Metadata

homepage URL: https://gmusicbrowser.org/
source URL: https://github.com/squentin/gmusicbrowser
license: gpl3+
platforms: linux

here is a start
FIXME Typelib file for namespace 'Gtk', version '3.0' not found
/*

nix-build -E 'with import <nixpkgs> { }; callPackage ./gmusicbrowser.nix { }'
./result/bin/gmusicbrowser

based on

https://ryantm.github.io/nixpkgs/languages-frameworks/perl/#ssec-perl-packaging
https://blog.stigok.com/2020/04/15/building-a-custom-perl-package-for-nixos.html

FIXME Typelib file for namespace 'Gtk', version '3.0' not found

*/

{ lib
, perlPackages
, fetchFromGitHub
, gettext
, multimarkdown
, makeWrapper
, gtk3
, wrapGAppsHook
}:

let
  inherit (perlPackages) makePerlPath;
  deps = with perlPackages; [
    Gtk3 # fix: Can't locate Gtk3.pm in @INC
    Cairo # fix: Can't locate Cairo.pm in @INC
    CairoGObject # fix: Can't locate Cairo/GObject.pm in @INC
    Glib # fix: Can't locate Glib.pm in @INC
    GlibObjectIntrospection # fix: 't locate Glib/Object/Introspection.pm in @INC
  ];
in

perlPackages.buildPerlPackage rec {
  pname = "gmusicbrowser";
  # last stable release was v<IP_ADDRESS> on 2020-11-19
  version = "unstable-2022-03-02";
  src = fetchFromGitHub {
    owner = "squentin";
    repo = "gmusicbrowser";
    rev = "73089de1a70f537dc790056a50802617ab0a1725";
    sha256 = "sha256-i0EZOUxxx1rCa0pKEGzcUDoYNG0al/+bujtkOtWzSAM=";
  };
  # debug: build faster
  postPatch = ''
    # remove translations
    mv -v po/de.po po/de.po.keep
    rm -v po/*.po
    mv -v po/de.po.keep po/de.po
  '';
  dontConfigure = true; # fix: Can't open perl script "Makefile.PL": No such file or directory
  doCheck = false; # fix: make: *** No rule to make target 'test'.  Stop.
  makeFlags = [
    "prefix=$(out)" # fix: mkdir: cannot create directory '/usr': Permission denied
  ];
  outputs = [ "out" ]; # fix: error: builder failed to produce output path for output 'devdoc'
  # fix: Can't locate Gtk3.pm in @INC (you may need to install the Gtk3 module)
  postFixup = ''
    wrapProgram "$out/bin/gmusicbrowser" --prefix PERL5LIB : "${makePerlPath deps}"
  '';
  propagatedBuildInputs = [
    gtk3
  ];
  nativeBuildInputs = [
    gettext # fix: msgmerge: command not found
    multimarkdown # fix: markdown: command not found
    makeWrapper # fix:  wrapProgram: command not found
    wrapGAppsHook # fix? Typelib file for namespace 'Gtk', version '3.0' not found
  ];
  meta = with lib; {
    homepage = "https://github.com/squentin/gmusicbrowser";
    description = "jukebox for large collections of music";
    #maintainers = teams.gnome.members;
    license = licenses.gpl3;
    platforms = platforms.linux;
  };
}

I was able to get it working by adding a few more packages here.


Fix database object for mongoid version beyond 5

database_cleaner errors out with following message with Mongoid 5. This pull request fixes that without breaking anything else.

/home/prabhakar/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/database_cleaner-f052d64d3be9/lib/database_cleaner/mongo2/truncation_mixin.rb:29:in collections: undefined method collections for #<Mongo::Client:0x47021052998580 cluster=<IP_ADDRESS>:27017> (NoMethodError)
from /home/prabhakar/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/database_cleaner-f052d64d3be9/lib/database_cleaner/mongo2/truncation_mixin.rb:9:in clean
from /home/prabhakar/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/database_cleaner-f052d64d3be9/lib/database_cleaner/base.rb:92:in clean
from /home/prabhakar/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/database_cleaner-f052d64d3be9/lib/database_cleaner/configuration.rb:79:in block in clean
from /home/prabhakar/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/database_cleaner-f052d64d3be9/lib/database_cleaner/configuration.rb:79:in each
from /home/prabhakar/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/database_cleaner-f052d64d3be9/lib/database_cleaner/configuration.rb:79:in clean

Sad to see this PR never made it to the repo. I'm on the latest version of DB cleaner 1.7.0 and I'm hitting this issue.

You can fork your own and cherry pick this commit :-)

I actually did it, but ended up with almost 1K active connections to the DB when running parallel:spec I had to revert it.

@prabhakar97 @jgonzalezd Sorry for the delay.
@prabhakar97 could you solve the conflict and update this PR? It seems pretty straightforward and I could merge this after you do that.

@etagwerker Thanks, I have fixed the conflict. But weird that the CI is failing. I see all recently opened PRs too failing in travis.

Thank you for the PR! However, the Mongoid adapter has been extracted into its own repo at https://github.com/DatabaseCleaner/database_cleaner-mongoid. If you close this PR and reopen it over there, I'd be happy to take a look!


Automatic quotes for attributes in Razor files

When editing plain HTML files, VSCode insert quotes automatically after typing tag attribute, like <a class= double quotes are inserted.
Please add the same when editing .CSHTML (Razor) files

@davidwengier This looks like it is part of the language configuration already.
https://github.com/dotnet/vscode-csharp/blob/510d78ece2b1c6b1f37abeda6dcee84ca01fa77f/src/razor/language-configuration.json#L11-L18

@JoeRobich Nope, I'm not talking about auto-closing pairs. I'm talking about inserting quotes after typing = (equal sigh) in html attributes.


ContentRepository - check parent type before adding a child

Test has been created, along with validateParentType method

Coverage increased (+0.28%) to 36.89% when pulling 9c674959a50df4ec6651616aa4bdcbf7e94ce8b5 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.22%) to 36.84% when pulling b0e7e9e24d377f29fed10dde9f1be51714088cb2 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.22%) to 36.84% when pulling 7f58002364df787e069d7ab262508cac9aa79618 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.22%) to 36.84% when pulling f5836edeaf5678f1e233807bf235761d1e0f3d74 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.11%) to 36.73% when pulling 5559afed69cb72503defa850800cdc30efdb53ef on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.11%) to 36.73% when pulling 9088b09e862d72c74717518845c2a1e733309db9 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.19%) to 36.8% when pulling d696f8dc27cb846f5d82f71554fe396a2f46e2a1 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Fixes #31

Coverage remained the same at 36.61% when pulling 08d98b6ff943615f3d29852cba48c2c166a1c766 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.

Coverage increased (+0.22%) to 36.84% when pulling 9ef1895f0f38cca6ac0292b7f14a7e5833b17f82 on CMS-31_check_parent_type_before_adding_a_child into 859625237e4f7ebb446f6f4434b189e66f5a66c0 on master.


can't install dendron-cli

Please select the area your Bug applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[ ] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[x] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Describe the bug
When going through the publishing tutorial, I can't run the command: npm install -g @dendronhq/dendron-cli@latest in the terminal. I get the following:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@dendronhq/dendron-cli'
npm ERR! notarget
npm ERR!      C:\Users...\AppData\Roaming\npm-cache_logs\2021-05-31T12_59_38_293Z-debug.log
To Reproduce
Steps to reproduce the behavior:

Go to 'your vault'
Click on 'terminal'
type 'npm install -g @dendronhq/dendron-cli@latest'
See error

Expected behavior
installation of the dendron-cli
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

OS: [e.g. iOS] Windows 10
Browser [e.g. chrome, safari] firefox
Version [e.g. 22]  dendron 0.43.1

Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of >Dev:Dendron: Open Logs here
dendron.log

I experienced the same problem today.

@all-contributors add @timDeHof for bug

fixed in v44


ERR invalid password when the password contains a "+"

Environment
$ node --version
v12.11.1

$ npm --version
6.11.3

$ npm view ioredis version
4.14.1

Steps to reproduce
Consider the following test:
const connStrDb0 = "redis://[CENSORED]:6380?password=9R6ocWzNBdUK7sern0BDCC72b3rceZmqyrY+BVhD1wU=&tls=true";

let redis0;

describe("Checking possibility to use the same Redis with different DBs", () => {

  beforeEach(() => {
    redis0 = new Redis(connStrDb0);
  });

  afterEach(() => {
    redis0.disconnect();
  })

  it("should be possible to set the same key on different connections", async () => {
    await redis0.set("foo", "bar0");

    expect(await redis0.get("foo")).toEqual("bar0");
  });

And run it using DEBUG=ioredis:* jest index.test.js
Expected result
The test should pass :)
Actual result
ioredis has an issue and sends the password with the "+" changed to a space bar - logs attached
  ioredis:redis status[CENSORED:6380]: connecting -> connect +264ms
  ioredis:redis write command[CENSORED:6380]: 0 -> auth([ '9R6ocWzNBdUK7sern0BDCC72b3rceZmqyrY BVhD1wU=' ]) +1ms
  ioredis:redis write command[CENSORED:6380]: 0 -> info([]) +1ms

Thanks for checking the report @tuananh . Do you have any plans on picking this one up? The password which is used here has been generated by one of the major cloud providers so I think that fixing this one would be beneficial.

@grisha87 agree this should be fixed but I don't know where should I start either. @luin any pointer?

I just added two test cases to address this issue: https://github.com/luin/ioredis/commit/66920f1a25b083c9d62e820215654920be3c1052.
The correct usage for passing passwords via URL is to place it in the password part (that's user:pass@host). For your case, I think the correct way is:
redis://[CENSORED]:6380?password=9R6ocWzNBdUK7sern0BDCC72b3rceZmqyrY%2BBVhD1wU=&tls=true

It's supported to pass passwords via queries, but passwords need to be encoded first:
redis://:9R6ocWzNBdUK7sern0BDCC72b3rceZmqyrY+BVhD1wU@[CENSORED]:6380?&tls=true

Thanks for the hint then!

Even I am getting a somewhat similar error. The Redis URL is getting connected in one cluster but the same configs are not working on the other cluster and I am getting error as
err invalid password
redis://:@:6379/


upload video not not correct

http://techademia.herokuapp.com//library
upload video href - /videosclass="small-box-footer""

resolved


Update token used for scorecard

This was previously using a github secret that was per-repo. I've switched it over to an org-level secret, which should allow us to avoid copying and pasting the secret around a number of times. Added a note that we should switch over to branch protection rulesets instead, which should mean that this read permission isn't needed at all.
Motivation is that the original token is expiring within the week.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.47%. Comparing base (fa00c16) to head (018d7b2).
Report is 57 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #141      +/-   ##
==========================================
- Coverage   82.57%   76.47%   -6.11%
==========================================
  Files           5        6       +1
  Lines         241      323      +82
==========================================
+ Hits          199      247      +48
- Misses         30       45      +15
- Partials       12       31      +19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Initial Support For Deploying To Cloud Foundry

Cloud Foundry is a popular open source platform-as-a-service.  The MEANJS starter project is a great starting point for developers looking to get started with the MEAN stack.  This pull request would make it easy to get the MEANJS app deployed to any Cloud Foundry PaaS.  This pull request is for the code portion only, there also needs to be some documentation on how someone would deploy the MEANJS app to Cloud Foundry.

@ryanjbaxter take a look at https://github.com/meanjs/generator-meanjs structure, and it would probably make sense to add a separate folder for deployments. @NeverOddOrEven may be able to help bring this in.

@ryanjbaxter @ilanbiala I will be addressing the deployment workflows with the generator. Once those are aligned, will likely merge this to 0.4

Cool let me know if you need some help!
On Wed, Jan 7, 2015 at 8:13 PM, Alex Suttmiller<EMAIL_ADDRESS>wrote:

@ryanjbaxter https://github.com/ryanjbaxter @ilanbiala
https://github.com/ilanbiala I will be addressing the deployment
workflows with the generator. Once those are aligned, will likely merge
this to 0.4
—
Reply to this email directly or view it on GitHub
https://github.com/meanjs/mean/pull/239#issuecomment-69121396.

@NeverOddOrEven should we close this and continue any conversations in the generator repo?

@ryanjbaxter this looks like a good PR addition, can you wrap it up for 0.4.0?
@ilanbiala while @roieki voted for moving this to the generator as well as moving out any docker/other deployment method it doesn't seem likely that 0.4.0 generator will be updated anytime soon and it's ok to have it on master/0.4.0 code than nowhere else. WDYT?

@lirantal Sounds good to me.

@lirantal let me take a look at this again next week

Great, thanks guys.
So @ryanjbaxter I'll be closing this one because it's for master and we need a PR for 0.4.0, once you submit it I'll merge.

@lirantal see #681 for 0.4.0 pull request


Count 0

Hi
I use count view in grav  but only 0 view in each page

I just had the same issue calling {{ viewcounts }} in my twig file. I'll leave some infos here since I had a hard time to figure it out.
It's an associative array, so you need to call {{ viewcounts.key }} and not just {{ viewcounts }} which will return 0.
The plugin use the page.route system variable as a key, so, you can use {{ viewcounts[page.route] }} to get the current page variable.
Also, since the page.route system variable contains the '/' preceding the current page folder name, you can't use {{ viewcounts./page-folder-name }} to get a specific page view counts.
You need to use {{ viewcounts['/page-folder-name'] }}
Hope it can help others!

@Alexgithub2016 I'm so sorry this issue got missed! I'm usually really good about getting to them. Can you post the code you're using?
@mrsarge The docs do say it's an associative array, but I will add a concrete example for clarity. And yes, the bare slash, like the bare hyphen, can't be used. It must be quoted.

Just added two concrete examples. The demo link is also at the top of the page.

I know the doc said it was an associative array, I just didn't know how to access it and couldn't find it in the Grav docs. I figured I wouldn't be the only one to search for this information and then saw this unresolved issue.
Thank you for this plugin and for the quick update of the doc.


Functionality for register users to topic (sorry - for now one topic with \hardcoded name), add "cancel button"

Functionality for

register users to topic - sorry, for now one topic with hardcoded name "questions".
add "cancel button" - action with callback "cancelNotificationButton" will be used for cancel button (on click we cancel push)
added new options for action "closeAfterClick" (1 = close push after click on button, 0 = not close)
for example:
array(
'icon' => '',
'title' => 'Answer2',
'callback' => 'onAnswerTheQuestion',
'closeAfterClick' => 0
),
commented closeAll pushes (not sure that we need it)

I'd also like to see this functionality. How can I help?

The possibility to dismiss the notification after clicking on an action button would be great.


Fix incorrect lowercase response headers set for XHR responses

Trivial change to fix the lowercase response headers set for XHR responses.
What would happen is the first iterated header wouldn't be part of _lowerCaseResponseHeaders.
Also it would mutate the original responseHeaders object, mixing lowercase headers with the original values.

Thanks, this looks good to me! cc @nicklockwood the on-call man

Thanks @a2, for blowing my cover ;-)

:innocent:


Release a stable version and document definition of a breaking change

The big thing I want to get nailed down while I can still make consequence-free breaking changes is https://github.com/chris48s/v8r/issues/149 - config file format
Once established, non backwards-compatible changes to the config file format should be part of the definition of a breaking change
Once I've worked the kinks out of a config file format, I think it makes sense to put out a 1.0 release.

Exit codes are also part of the public interface from this perspective, as is node version compatibility

The JSON/text output formats are now also part of the public interface.
I think I want to dogfood v0.13.0 for a little while but I think this is really at a stage where I should be cutting 1.0 now.

Draft SemVer compatibility statement
## Versioning

v8r follows [semantic versioning](https://semver.org/). For this project, the "API" is defined as:

- CLI flags and options
- CLI exit codes
- The configuration file format
- The native JSON output format

A "breaking change" also includes:

- Dropping compatibility with a major Node JS version
- Dropping support for a JSON Schema draft

we are 1.0


update api documentation used in test

To include changes from https://github.com/labforward/laboperator-server/pull/2930

I see it as an incentive to stabilize our API v2.. :rocket:


Download link in navbar on gh-pages is broken (404)

The download link is incorrect.

Fixed in pull request

Should be fixed now, thanks...


Use ADD for pinned packages

If we use ADD for pinned packages in the toolchain Dockerfile, we can update the packages/submodules when building a new image, rather than having to get them in develop first.
We used to do that, and I take the blame for changing that when I did some reorganization of the Dockerfile awhile ago.
This should wait until #4552 is merged.

No more pinning in the toolchain docker.


GPD Win Mini Sound EQ Doesn't Work on Bazzite

I saw the recent addition of the GPD Win Mini EQ. I placed the sink-eq6.conf file in a newly created directory under ~/.config/pipewire/filter-chain.conf.d/ but no new audio output options are available either in the KDE desktop environment or steam gaming mode.
Is there another directory that needs to be used in Bazzite?

ahh wait, i see what you mean. I added it purely for documentation, but it's untested. I pulled it from the GPD discord, you can ask there for more details


Fixing the static warning by adding sufficient validation for the buffer.

@abchatra @LouisLaf - please have a look.

:+1:


(doc): fix usage of 'only'

Docs

As I was reading the docs I was confused by the misuse of "only".
I ignored it to begin with, but eventually was "triggered" and had to correct it.
I spotted other errors of one sort or another but in order to avoid falling down the rabbit hole, I stuck to correcting only the usage of "only".
There were one or two occasions where I didn't know what the author meant, so I left those occurrences unchanged.

Thanks! All these docs are going to go through a larger grammar/readability review but this corrects a lot of common ones.


Check Afec feature flag ArcAutomatedOnboarding

We are not finalized if we need both afec feature flag or not for Automated Onboarding, I will review once we are finalized on it with portal.


Added basic http auth

I added optional basic http auth.
Bug fix with targetHeatingCoolingState

I'll publish these changes on npm as soon I tested at home ;)

I published ! You can now install it with npn install homebridge-thermostat -g.
Best,
PJ


Tile Editor Is comicly Slow

When switching to the “Tile Layout” it took much longer than switching to code layout assuming because of the 400 SVG elements that are loaded at 1 time

Fixed, stored variables for calculation and reused them to take about the same time as “code layout”


Backend Connection Issue

The user is saying that they can normally use the IPTVnator app hosted at https://iptvnator.vercel.app/, but they encounter an error when trying to deploy their own version of the app at https://iptvnator-eta.vercel.app/. Specifically, when they click "add via url," an error message appears stating, "the back end is not reachable." They are asking for assistance in resolving this issue.

Exactly, as @Deltwin mentioned, you need to separately build and deploy the backend for your instance.


Group IPAM conflicts with strict policy

Steps to reproduce:
Configure envs on endpoint
        - name: NSM_IPAM_POLICY
          value: strict
        - name: NSM_CIDR_PREFIX
          value: <IP_ADDRESS>/27,2001:db8::/116

Actual: only ipv6 pool is configured on client and endpoint. Healing is not working after endpoint and registry restart.
Expected: 2 ip pools, healing works well.
Solution:
Place IPAM policy over group policy

Group IPAM: https://github.com/networkservicemesh/sdk/blob/main/pkg/networkservice/ipam/groupipam/server.go
Strict IPAM: https://github.com/networkservicemesh/sdk/blob/main/pkg/networkservice/ipam/strictipam/server.go
They are used here: https://github.com/networkservicemesh/cmd-nse-icmp-responder/blob/main/main.go#L248


Edge: add non-trickle support

Description
improves non-trickle support for Edge
Purpose

Awesome. LGTM


Documentation Page / Website not working

Hi,
I was trying to explore microsite and found out that the site is not loading. Screenshot attached below.

@yadavan88, thanks for the heads-up. I've updated the site to a previous version for now.

Not sure what happened. Potentially, the connection while the build was committing the microsite failed. I've regenerated the site manually.

Hi @fedefernandez Thanks for looking into it. I am still seeing the same symbols in this link https://47degrees.github.io/sbt-microsites/
Probably, it is still getting generated?

The build fails when using github4s for site publication


Edit Instructions Text To Make Goal Clearer

The instructions end with "using the object provided" which is unclear since the user is expected to create their own name for the object. Users may think they need to reference an object name and be confused when they do not find it. Reiterating that the user needs to create the name for the object themselves makes the task clearer.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Thanks for contributing to the freeCodeCamp repository. Congratulations on your first PR! 🎊
Look forward to more contributions from you! ✈

thanks @thecodingaviator! 🎉


Support Windows as OS

Especially the ca-certs handling for TLS seems to be difficult here...

TLS is fixed using certifi. APT cannot be supported.


Update Init file for Mantisshrimp

🚀 Feature
We need to have a proper init file like lightning has. It has a lot of starter code that can be used.
Have a look here
It makes these things possible
import mantisshirmp as ms
print(ms.__version__)

Note the above thing is possible now as I have added this while merging CI change.

Can you explain your reason why you think our current __init__.py isn't good enough?
All the other information like description is in settings.py, I actually think this makes things more organized

If we remove version from mantisshrimp init will it work. ?
We do have these stuff in setup.py. So does Lightning have. I will look into why they did so.
Maybe we don't need it. I'm unsure.

Actually we don't need to update there as you said.
What they did was defined the stuff in init file and then they used it setup.py. Instead, we have defined it in settings.ini.
But we need an update for MANIFEST.in. It is currently packaging unnecassary stuff too. We can exclude some more things.


Fix minor typo

@Alan-FGR : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.

Thank you. Such an important contribution :laughing:.


Access token is always expired

Hey,
using your api to retrieve user's playlists and do some more stuff. When I call a method to the API I call my own method refreshTokens. This method checks if the token expiraton is less than 60 seconds and then updates the refresh tokens. However, I'm always running into the case true for $this->session->getTokenExpiration() - time() and I don't know why. It seems like the access token gets refreshed but as soon as I refresh my page it's empty again?
This is my constructor.
public function __construct(
    Session $session,
    SpotifyWebAPI $spotifyWebAPI,
    Guard $guard,
    UserRepository $userRepository
) {
    $this->session = $session;
    $this->spotifyWebAPI = $spotifyWebAPI;
    $this->guard = $guard;

    if ($this->session->getAccessToken() !== '') {
        $this->spotifyWebAPI->setAccessToken($this->session->getAccessToken());
    }

    $this->userRepository = $userRepository;
}

And this is the method I always call inside my methods calling the API.
/**
 * Refreshes the token if the expiration is under the threshold or the force option is set to true.
 *
 * @param int  $threshold
 * @param bool $force
 */
public function refreshTokens(int $threshold = 60, bool $force = false)
{
    var_dump($this->session->getTokenExpiration()); // 0
    if ($this->session->getTokenExpiration() - time() < $threshold || $force) {
        $refreshToken = $this->getRefreshToken();
        var_dump($this->session->refreshAccessToken($refreshToken)); // true
        print $this->session->getTokenExpiration() - time(); // 3600
        $this->spotifyWebAPI->setAccessToken($this->session->getAccessToken());
        $this->updateTokensToUser();
    }
}

What am I doing wrong here?

Hi,
Sorry for the late reply.
The library doesn't actually remember the time between page reloads, it just sets it whenever you request or refresh a token. If you save it yourself somewhere between page reloads and read the value from there it should work correctly.


Polish interaction for definition linkings

Overview
Add more polished hover and active states for reference links in
definitions.

Loose ends
This can definitely be improved further over time, but this treatment seems ok for now.

This is great! Looks satisfying to press.
I could see having even more of a flourish here, but maybe we want the flourish to be on the panel that opens or becomes active, since that's where we want the user's eye to be drawn.

Yeah I like that idea - having some sort of animation when the new definition pops in.


[Tangram R&D] Polygons draw are buggy

Drawing polygons from carto MVT source, the draw of the polygons are drawn wrongly.
This is the correct form:

And here is the tangram form:

It seems to be related with a problem with the aggregations made by tangram to reduce the points collisions.
This issue is part of the #11 metaissue

@donflopez could you provide some sample data and STR instructions for this case?
If this request requires any significant amount of work on your part, please feel free to ignore it, I'd just like to take a quick look at the problem, but not to be a burden.

Hi @jgoizueta, it seems that is fixed now in the master branch of Tangram :)
Thanks! I'm waiting to confirm it in production to close it.

😄

It is fixed!! Tried in production.
cc/ @rochoa & @javisantana

what was it ?


Create prometheus metrics for horizontal pod autoscaler and vertical pod autoscaler

If you could provide an example of how to expose prometheus metrics, that would would be very nice. If you could provide an example of how to do so to allow horizontal pod autoscaling that would even better.
See here

Sounds like a plan :) Ok, we will try.


LNURL response notification is not shown in chrome

In Firefox the LNURL response message (e.g. thanks for the payment) is shown as notification.
In chrome I only see the payment success notification with the pre-image.
Maybe this is a bug, maybe this is only how my chrome notifications are configured?

maybe we simply do a setTimeout and wait 500ms ? :)

There also doesn't seem to be a notification after tipping on Firefox.
For Chrome I did not encounter this issue described above.

I tried to work with a timeout but that will make the first notification disappear directly when the new one appears (they don't stack). I guess the best solution is to show successAction message within the screen and not closing the window.


bug in mslearn-improve-app-scalability-resiliency-with-load-balancer -  fails to execute command - az network nic ip-config update

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network nic ip-config update
Errors:
ResourceNotFoundError: (ResourceNotFound) The Resource 'Microsoft.Network/networkInterfaces/webNic2' under resource group 'learn-a4e2818d-e048-42b9-8c46-747a4651f2fb' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az network nic ip-config update --resource-group {} --nic-name {} --name {} --lb-name {} --lb-address-pools {}

Expected Behavior
Environment Summary
Linux-4.15.0-1103-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.17.1
azure-cli-ml 1.19.0

Extensions:
ai-examples 0.2.5
azure-cli-ml 1.19.0

Additional Context

network

network

Cannot reproduce you issue. Please upgrade cli by command
az upgrade


No license file

Nuget package says license is MIT, but there is none in the repository. Does a License file need added?
Reference for license in project file
https://github.com/hjam40/Camera.MAUI/blob/d9ee42a428b9ee41efff624fe01643b62c7781e6/Camera.MAUI/Camera.MAUI.csproj#L30

We'd like to see this too. @hjam40, could this be further clarified in the repository? In a license.md would be ideal, like this one from the payload project:
https://github.com/payloadcms/payload/blob/main/license.md
Thanks for considering it!

Added license file.


bump app-autoscaler & Update blob store with the latest version of all dependencies(java,golang,nodejs and maven)

adding private.yml probably is not the right way to go.  Let us see if we can make IBM COS instance being able to read without credentials

Let us hold on this PR given we will change back to use S3 bucket

LGTM validated on bosh-lite  with the latest s3 bucket.


Fix a warning by pylint 2.9.0

Summary
Pylint 2.9.0 is released today. This PR fixes the following warning raised by pylint 2.9.0.
************* Module qiskit_optimization.algorithms.warm_start_qaoa_optimizer
qiskit_optimization/algorithms/warm_start_qaoa_optimizer.py:95:8: C0206: Consider iterating with .items() (consider-using-dict-items)

Details and comments

Thank you for reviewing it. We discussed pylint version in our meeting today and decided to use the latest version because the latest version raises only a few warnings.


[BUG] Admin registration open for all

Describe the bug

I just cloned and started GreaterWMS, it seems that the admin registration is open for anyone who can access the server.
Steps to Reproduce
Steps to reproduce the behavior:

Expected behavior

Admin registeration should not be open for all

Deployment Method

[ ] Docker
[ ] Bare Metal

Version Information

one admin , is one database , each admin cannot see anyother admin's data

Sorry, but on my deployment more than one admin accounts were created. Is there a way to remove the link for admin registrations from the quasar template, or should one change sth in the views to stop this behavior? I guess a setting variable to stop users registrations might be a solution.

v-show hide register function , and django init a user of admin as our lan windows version


Revert "Add custom margin properties"

Reverts MattUV/godot-MaxSizeContainer#2

I'm sorry @CodeDoctorDE here is why I reverted your pull request :
I accepted it too quickly, without testing it properly. There is no setter function to automatically update the child node when setting the  margins. I created these function in another commit, but that required to modify the _adapt_margins() and _check_if_valid() functions.
I was about to do it as well, but I thought about all the other containers : There is never a complementary margin, instead, it is recomanded to use a margin container. It's a bit heavier in the node tree, but it is more consistant with the rest of Godot's containers behavior.
I tested adding a marginContainer as a child of maxSizeContainer, and it works as intended (it also works the other way : marginContainer as a parent of maxSizeContainer).

Okay, no problem. In my game it works perfectly

That's the most important! 😄


Ensure link-call cache is updated when link-in is modified

fixes #3694
depends on<EMAIL_ADDRESS>Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Discussed here: https://node-red.slack.com/archives/C9RSU6S56/p1655726225125419
Proposed changes

Ensures registered nodes are removed from the cache to avoid the "Multiple nodes with name" error
Adds a suitable test that loads a flow with 2 link nodes named the same then deploys a name change

NOTE: Depends on<EMAIL_ADDRESS>#54 being merged and published
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[x] I have added suitable unit tests to cover the new/changed functionality

I have published<EMAIL_ADDRESS>- now rerunning the tests on this PR.

Coverage decreased (-0.02%) to 68.244% when pulling 9729c89f5dc30181765aef276a6daf151f687482 on fix-dynamic-link-call into 71714733ad810ddc40a8ddcdec19af6f1a6a9395 on master.


install issue?

I ran the install as described in the instructions with a mysql database and received this error
[Exception]
LAInstall::handle Unable to install : Unable to generate migration for Students : Invalid view_column_name. 'This should be database friendly lowercase name.'

Hello kirchaj,
You need to provide your "view column name" in migrations.
It is necessary for datatables show item link.
Generally we use that column as "title", "name", "username"

where is that done.  All I am doing is running the install as below
C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin>php artisan la:install
LaraAdmin installation started...
from: C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor/dwij/laraadmin/src/Installs to: C:\BitNami\wampstack-5.5.28-0\apach
This process may change/append to following of your existing project files:
     app/Http/routes.php
     app/User.php
     database/migrations/2014_10_12_000000_create_users_table.php
     gulpfile.js

Please take backup or use git. Do you wish to continue ? (yes/no) [yes]:

Generating Controllers...
Generating Models...
Appending routes...
Generating Config...
Generating LaraAdmin Public Assets...
Generating migrations...
Generating resources: assets + views...
Generating Utilities...
Running migrations...
LAInstall::handle exception: exception 'Exception' with message 'Unable to generate migration for Students : Invalid view_column_name.
owercase name.'' in C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\dwij\laraadmin\src\Models\Module.php:35
Stack trace:

Hello kirchaj,
I understood your concern.
This bug is fixed in version 1.0.5
Please update the package and check again.
This will change your earlier file structure a little.
Have a backup before trying.
composer update dwij/laraadmin
Best Regards,

Thanks.  I did the update and the problem still existed.  I deleted the migrations and ran again.  It then produced these errors.
Generating Controllers...
Generating Models...
Appending routes...
Generating Config...
Generating LaraAdmin Public Assets...
Generating migrations...
Generating resources: assets + views...
Generating Utilities...
Running migrations...
Nothing to migrate.
Creating Super Admin Role...
LAInstall::handle exception: exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'hod' in 'field list
'' in C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php:441
Stack trace:
#0 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(441): PDO->prepare('i
nsert into de...')                                                                                #1 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(706): Illuminate\Data             base\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'insert into de...', Array)
#2 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(669): Illuminate\Data
base\Connection->runQueryCallback('insert into de...', Array, Object(Closure))                                                                             #3 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(442): Illuminate\Data             base\Connection->run('insert into de...', Array, Object(Closure))
#4 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(398): Illuminate\Data
base\Connection->statement('insert into de...', Array)                                                                                #5 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2039): Illuminate\             Database\Connection->insert('insert into de...', Array)
#6 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\dwij\laraadmin\src\Commands\LAInstall.php(113): Illuminate\Database\Query\Buil
der->insert(Array)

Hi kirchaj,
You are getting this error because of old database table for departments.
Please take backup of database and run following commands:
composer dump-autoload
php artisan migrate:refresh
This will definitely solve this issue.
I am very sorry for your time.
But it gives me inspiration to make this project better.
Thanks for your support.
I am reopening this issue. Let me know soon, if you succeed with installation.
Best Regards,

Issues successfully resolved in version 1.0.10

$ php artisan migrate:refresh
Rolled back: 2016_10_06_115413_create_la_configs_table
Rolled back: 2016_09_22_110008_role_module_table
Rolled back: 2016_09_22_105958_role_module_fields_table
Rolled back: 2016_09_10_163520_create_permission_role_table
Rolled back: 2016_09_10_163337_create_permissions_table
Rolled back: 2016_07_07_134058_create_menus_table
Rolled back: 2016_07_07_134058_create_backups_table
Rolled back: 2016_07_06_1406376_create_industry_types_table
Rolled back: 2016_07_06_140637_create_organizations_table
Rolled back: 2016_07_05_115343_create_role_user_table
Rolled back: 2016_05_26_064446_create_roles_table
Rolled back: 2016_05_26_064007_create_employees_table
Rolled back: 2016_05_26_064006_create_departments_table
Rolled back: 2014_12_01_000000_create_uploads_table
Rolled back: 2014_10_12_100000_create_password_resets_table
Rolled back: 2014_10_12_000000_create_users_table
Rolled back: 2014_05_26_060000_create_module_fields_table
Rolled back: 2014_05_26_055000_create_module_field_types_table
Rolled back: 2014_05_26_050000_create_modules_table
[ErrorException]
Undefined offset: 0

please install it properly check the requirement of laraadmin
On Wed, Feb 22, 2017 at 1:01 AM, rafasottam<EMAIL_ADDRESS>wrote:

$ php artisan migrate:refresh
Rolled back: 2016_10_06_115413_create_la_configs_table
Rolled back: 2016_09_22_110008_role_module_table
Rolled back: 2016_09_22_105958_role_module_fields_table
Rolled back: 2016_09_10_163520_create_permission_role_table
Rolled back: 2016_09_10_163337_create_permissions_table
Rolled back: 2016_07_07_134058_create_menus_table
Rolled back: 2016_07_07_134058_create_backups_table
Rolled back: 2016_07_06_1406376_create_industry_types_table
Rolled back: 2016_07_06_140637_create_organizations_table
Rolled back: 2016_07_05_115343_create_role_user_table
Rolled back: 2016_05_26_064446_create_roles_table
Rolled back: 2016_05_26_064007_create_employees_table
Rolled back: 2016_05_26_064006_create_departments_table
Rolled back: 2014_12_01_000000_create_uploads_table
Rolled back: 2014_10_12_100000_create_password_resets_table
Rolled back: 2014_10_12_000000_create_users_table
Rolled back: 2014_05_26_060000_create_module_fields_table
Rolled back: 2014_05_26_055000_create_module_field_types_table
Rolled back: 2014_05_26_050000_create_modules_table
[ErrorException]
Undefined offset: 0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/1#issuecomment-281454143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWLoufuXpylkAFdVz-tC0gL2cEDvvHUzks5rezuVgaJpZM4I-ow2
.

when i run php artisan la:install  then why below bug come?

[Exception]
LAInstall::handle Unable to install : unlink(/home/pankaj/Desktop/laraadmin
/app/Http/Controllers/LA/BackupsController.php): Permission denied

when i have run php artisan migrate:refresh and then  below why bug comming ?
[ErrorException]
Invalid argument supplied for foreach()

please install the Lara admin properly
once installed the Lara admin don't need to delete the module or table
manually because it will affect the whole code
On Wed, Mar 22, 2017 at 4:06 PM, RSAAUTHENTICATIONPANKAJ <
<EMAIL_ADDRESS>wrote:

when i run php artisan la:install then why below bug come?

[Exception]
LAInstall::handle Unable to install : unlink(/home/pankaj/Desktop/
laraadmin
/app/Http/Controllers/LA/BackupsController.php): Permission denied

when i have run php artisan migrate:refresh and then below why bug
comming ?
[ErrorException]
Invalid argument supplied for foreach()

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/1#issuecomment-288359250,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWLouXj_0-mx9LmC-Y3yqoGA604y8JpKks5roPnEgaJpZM4I-ow2
.

Azarzaza sir, i again install the laraadmin but this error comes?
la1$ php artisan serve
PHP Fatal error:  Class 'Dwij\Laraadmin\LAProvider' not found in /home/pankaj/la1/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146
but i defined the class   Dwij\Laraadmin\LAProvider::class,  in config/app.php

here my its working fine
if u don't install properly then you will face like this type of error
your installation not properly done due to the internet connections
please install a fresh one then u check it
On Wed, Mar 22, 2017 at 4:24 PM, RSAAUTHENTICATIONPANKAJ <
<EMAIL_ADDRESS>wrote:

Azarzaza sir, i again install the laraadmin but this error comes?
la1$ php artisan serve
PHP Fatal error: Class 'Dwij\Laraadmin\LAProvider' not found in
/home/pankaj/la1/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php
on line 146
but i defined the class Dwij\Laraadmin\LAProvider::class, in
config/app.php
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/1#issuecomment-288363308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWLouY1V1GV9q4GmpBQdaQruGVKhZ3kaks5roP3cgaJpZM4I-ow2
.

Thank you soo much sir, now its fine but when i hits the localhost:8000/admin then again bug
BadMethodCallException in Repository.php line 367:
This cache store does not support tagging.

Try to config cache
On Mar 22, 2017 6:02 PM, "RSAAUTHENTICATIONPANKAJ"<EMAIL_ADDRESS>wrote:

Thank you soo much sir, now its fine but when i hits the
localhost:8000/admin then again bug
BadMethodCallException in Repository.php line 367:
This cache store does not support tagging.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dwijitsolutions/laraadmin/issues/1#issuecomment-288384491,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWLoua5dlKb4Otj_lzaRyFsWVxJEo7EGks5roRTggaJpZM4I-ow2
.

Here my its working fine, Thanks for your support me

when creating module
Loyalties
Model doesn't exists Items
why this is came?
and also in la editor menu  this bug is come
invalidArgumentException in FileViewFinder.php line 137:
View [la.editor.index] not found.
please help me

First, I want to thank you for the geat project.
I am under Windows 10 1704 x64, with Laragon Full 3.13. php 7.1.7 vc14, Apache httpd 2.4.27.
I am following installation instructions http://laraadmin.com/docs/1.0 .
At the 5th step of installing LaraAdmin Package, when executing this command :
"php artisan la:install" I get the following errors:
C:\laragon\www\la1>php artisan la:install

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  There are no commands defined in the "la" namespace.

Thanks for your help.

#271

[ ]


Prepare v1.4.4 release

Motivation
Updates the CHANGELOG for v1.4.4 release
Description
Prepares the v1.4.4 release
Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bors merge


uv publish does not read environment variables

I have the environment variables UV_PUBLISH_URL and UV_PUBLISH_TOKEN set to my corporate PyPI package registry and my authentication token. When I run uv publish dist/*, uv tries to upload it to pypi.org:
$ uv publish dist/*
warning: `uv publish` is experimental and may change without warning
Publishing 2 files https://upload.pypi.org/legacy/
Enter username ('__token__' if using a token):

When I run uv publish --publish-url=$UV_PUBLISH_URL --token=$UV_PUBLISH_TOKEN dist/* then everything is fine and the package gets published in my corporate package registry (output redacted).
$ uv publish --publish-url=$UV_PUBLISH_URL --token=$UV_PUBLISH_TOKEN dist/*
warning: `uv publish` is experimental and may change without warning
Publishing 2 files https://<corporate-gitlab-host>/api/v4/projects/<project-id>/packages/pypi
Uploading <file-name>

I can't imagine that there would be such bug, but maybe I missed something when reading the uv documentation.
I use uv 0.5.10 (294da5261 2024-12-17) on Linux 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux

Thank you, that was exactly the issue, they were only set for the shell. After export it works as expected. 🙏🏻

Awesome - happy to help 🤙

Thanks @nathanscain !


Increase wait for CloudPrivateIPConfig to be assigned to the worker

It's observed on OSP17.1 cloud that the assignation is taking around 2 minutes:
$ oc logs -n openshift-cloud-network-config-controller cloud-network-config-controller-d56565b7b-bsr9g -f
[...]
I1129 10:52:39.077934       1 controller.go:182] Assigning key: <IP_ADDRESS> to cloud-private-ip-config workqueue
I1129 10:52:39.081931       1 cloudprivateipconfig_controller.go:357] CloudPrivateIPConfig: "<IP_ADDRESS>" will be added to node: "ostest-7p85x-worker-0-g5f5l"
I1129 10:52:39.088772       1 cloudprivateipconfig_controller.go:381] Adding finalizer to CloudPrivateIPConfig: "<IP_ADDRESS>"
I1129 10:52:39.088876       1 controller.go:182] Assigning key: <IP_ADDRESS> to cloud-private-ip-config workqueue
I1129 10:54:51.148195       1 openstack.go:760] Getting port lock for portID d7a58be8-c7f4-4061-95ed-f4a75c50eee2 and IP <IP_ADDRESS>

Therefore, this patch increases the wait time to 5 minutes. Since this is active waiting, this change will not affect clouds that are behaving faster.

/assign @eurijon

/lgtm
/approve


[@saas-ui/theme-glass] Uncaught ReferenceError: process is not defined with Remix

When I try to use @saas-ui/theme-glass, Remix throws an error in client-side in these lines. There is no error with the main package.
var __DEV__ = process.env.NODE_ENV !== "production";
var __TEST__ = process.env.NODE_ENV === "test";

Do you have a full stack trace available?

I found an issue with the build and released a new version.
Can you install 0.3.1 and try again?

Did you release 0.3.1?
No matching version found for<EMAIL_ADDRESS>

Whoops, now it is!

Thank you. It's fixed!


Why treating ios and android differently?

Screenshots

In order to make both, android and ios work, i had to do this workaround. isnt there a way, to call this method, without this workaround?
it is quite confusing!
thank you.

EXACTLY the issue I was going to raise, WHY?
This is so confusing.
It was so straight forward in earlier version, the latest ones have so many weird behavior, not only this one but also the localizedPrice that disappeared on android in getProducts... For sure there must be a good reason, but even the documentation don't mention it, and the documentation itself only mentions the requestPurchase "ios like" without even mentioning android is different (https://react-native-iap.dooboolab.com/docs/guides/purchases)

@mikemangas @pierroo Android now accepts an array of SKUs (before it was only a single SKU at the time). iOS still only takes only one SKU. I'm open to suggestions on how to address the difference

that makes sense @andresesfm, thanks for clarifying.
Ideally I think it would be worth mentioning it in the docs, for there is no mention at all of those differences and it's obvious the doc was made mainly with iOS in mind (in order to avoid similar issues opened here)

@andresesfm  thank you so much for always replying and explaining! That makes totally sense!
But i can not find it anywhere in the documentation.
Maybe adding this to the documentation, would be also a good solution?

@mikemangas @pierroo Android now accepts an array of SKUs (before it was only a single SKU at the time). iOS still only takes only one SKU. I'm open to suggestions on how to address the difference

On Android, when only the sku parameter is given, convert it into an array and use that as skus parameter automatically.


address double install with both hpi and jpi file being present

Fixes https://github.com/openshift/jenkins/issues/101
@bparees PTAL

looks like we need to change the permissions on those files so they can be overwritten when the plugins.txt processing goes to install them again:
I0610 17:13:28.843292 04109 sti.go:603] ---> Copying repository files ...
I0610 17:13:28.853050 04109 sti.go:603] ---> Installing Jenkins 3 plugins using /opt/openshift/plugins.txt ...
I0610 17:13:28.991341 04109 sti.go:603] Downloading credentials-1.23 ...
I0610 17:13:29.445514 04109 sti.go:603] Failed to download credentials-1.23:
I0610 17:13:29.446093 04109 sti.go:603] curl: (23) Failed writing body (0 != 2664)
I0610 17:13:29.447064 04109 sti.go:603] Failed to install plugins.

added a fix-permission call for /opt/openshift/plugins

Same error even with the fix-permission call ...

trying an explicit chmod on the jpi files

OK, all use of -R replaced with find -exec

looks good to me, can you follow up w/ this same change to the other copies o fix-permissions?  (one in s2i-base, and possibly one in each of the DB images?)

On Mon, Jun 13, 2016 at 9:22 AM, Ben Parees<EMAIL_ADDRESS>wrote:

looks good to me, can you follow up w/ this same change to the other
copies o fix-permissions? (one in s2i-base, and possibly one in each of the
DB images?)

sure I'll take a look

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/pull/110#issuecomment-225578843,
or mute the thread
https://github.com/notifications/unsubscribe/ADbadNxE0bzIhmU219iT_9ttp81hlgxAks5qLVmigaJpZM4IzVFQ
.


Project doesn't compile

I am looking to bring ocpp on an Arduino board and found your project. Unfortunately I was not able to get it into a compiled version.
Checking out and building master fails with:
src/ArduinoOcpp/Core/ConfigurationContainerFlash.cpp:15:22: fatal error: LITTLEFS.h: No such file or directory

develop with:
collect2: error: ld returned 1 exit status
*** [.pio/build/nodemcuv2/firmware.elf] Error 1

Are there any specific framework versions or setup steps required that are not mentioned in the doc?
platformio version is up to date, environment clean.
Thank you.

Have you already been able to work around this problem?
Please try checking out from the develop branch. I have added a few things to improve the compatibility with different platforms.

I'm having the same issue here. This seems to be a problem with esp8266 in particular. Compiling and uploading to esp32 seems to be working fine for me.
Dumb question, how to check out to develop in pio?
I tried fetching the full repo after pio installed it and then checkout to develop. Once pio runs, it notices a different hash and gets the one it's comfortable with.

Hello,
I'm using ArduinoOcpp, with VS code and platformio, but when trying to compile, I'm getting linking error as below.
I'm new to VS code and platformio. can some please help
Processing esp32-development-board (platform<EMAIL_ADDRESS>board: esp-wrover-kit; framework: arduino)
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp-wrover-kit.html
PLATFORM: Espressif 32 (3.5.0) > Espressif ESP-WROVER-KIT
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (ftdi) On-board (ftdi) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:

framework-arduinoespressif32 @ 3.10006.210326 (1.0.6)
tool-esptoolpy @ 1.30100.210531 (3.1.0)
toolchain-xtensa32 @ 2.50200.97 (5.2.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 31 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.19.1
|-- WebSockets @ 2.3.6
|-- LittleFS_esp32 @ 1.0.5
|-- FS @ 1.0
|-- HTTPUpdate @ 1.3
Building in release mode
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\Configuration.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\ConfigurationContainer.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\ConfigurationContainerFlash.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\ConfigurationKeyValue.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\FilesystemAdapter.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\FilesystemUtils.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppConnection.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppEngine.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppMessage.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppModel.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppOperation.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppOperationTimeout.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppServer.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppSocket.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OcppTime.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OperationStore.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Core\OperationsQueue.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\Authorize.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\BootNotification.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\ChangeAvailability.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\ChangeConfiguration.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\ClearCache.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\ClearChargingProfile.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\DataTransfer.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\DiagnosticsStatusNotification.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\FirmwareStatusNotification.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\GetCompositeSchedule.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\GetConfiguration.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\GetDiagnostics.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\Heartbeat.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\MeterValues.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\RemoteStartTransaction.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\RemoteStopTransaction.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\Reset.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\SetChargingProfile.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\StartTransaction.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\StatusNotification.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\StopTransaction.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\TriggerMessage.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\UnlockConnector.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\MessagesV16\UpdateFirmware.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Platform.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\SimpleOcppOperationFactory.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\ChargePointStatus\ChargePointStatusService.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\ChargePointStatus\ConnectorStatus.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Diagnostics\DiagnosticsService.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\FirmwareManagement\FirmwareService.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Heartbeat\HeartbeatService.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Metering\ConnectorMeterValuesRecorder.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Metering\MeterStore.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Metering\MeterValue.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Metering\MeteringService.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Metering\SampledValue.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\SmartCharging\SmartChargingModel.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\SmartCharging\SmartChargingService.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Transactions\Transaction.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Transactions\TransactionProcess.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp\Tasks\Transactions\TransactionStore.cpp.o
Compiling .pio\build\esp32-development-board\src\ArduinoOcpp_c.cpp.o
Generating partitions .pio\build\esp32-development-board\partitions.bin
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\ETH.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFi.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiAP.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiClient.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiGeneric.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiMulti.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiSTA.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiScan.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiServer.cpp.o
Compiling .pio\build\esp32-development-board\lib2c2\WiFi\WiFiUdp.cpp.o
Compiling .pio\build\esp32-development-board\lib589\SPI\SPI.cpp.o
Compiling .pio\build\esp32-development-board\libb3a\WiFiClientSecure\WiFiClientSecure.cpp.o
Compiling .pio\build\esp32-development-board\libb3a\WiFiClientSecure\ssl_client.cpp.o
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\SocketIOclient.cpp.o
Archiving .pio\build\esp32-development-board\lib589\libSPI.a
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\WebSockets.cpp.o
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\WebSocketsClient.cpp.o
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\WebSocketsServer.cpp.o
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\libb64\cdecode.c.o
Archiving .pio\build\esp32-development-board\lib2c2\libWiFi.a
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\libb64\cencode.c.o
Compiling .pio\build\esp32-development-board\lib9eb\WebSockets\libsha1\libsha1.c.o
Compiling .pio\build\esp32-development-board\libadb\FS\FS.cpp.o
Compiling .pio\build\esp32-development-board\libadb\FS\vfs_api.cpp.o
Compiling .pio\build\esp32-development-board\lib82a\LittleFS_esp32\LITTLEFS.cpp.o
Archiving .pio\build\esp32-development-board\libb3a\libWiFiClientSecure.a
Compiling .pio\build\esp32-development-board\lib82a\LittleFS_esp32\esp_littlefs.c.o
Compiling .pio\build\esp32-development-board\lib82a\LittleFS_esp32\lfs.c.o
Compiling .pio\build\esp32-development-board\lib82a\LittleFS_esp32\lfs_util.c.o
Compiling .pio\build\esp32-development-board\lib82a\LittleFS_esp32\littlefs_api.c.o
Archiving .pio\build\esp32-development-board\lib9eb\libWebSockets.a
Compiling .pio\build\esp32-development-board\lib587\HTTPClient\HTTPClient.cpp.o
Archiving .pio\build\esp32-development-board\libadb\libFS.a
Compiling .pio\build\esp32-development-board\lib0ad\Update\HttpsOTAUpdate.cpp.o
Compiling .pio\build\esp32-development-board\lib0ad\Update\Updater.cpp.o
Compiling .pio\build\esp32-development-board\lib408\HTTPUpdate\HTTPUpdate.cpp.o
Archiving .pio\build\esp32-development-board\libFrameworkArduinoVariant.a
Compiling .pio\build\esp32-development-board\FrameworkArduino\Esp.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\FunctionalInterrupt.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\HardwareSerial.cpp.o
Archiving .pio\build\esp32-development-board\lib82a\libLittleFS_esp32.a
Compiling .pio\build\esp32-development-board\FrameworkArduino\IPAddress.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\IPv6Address.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\MD5Builder.cpp.o
Archiving .pio\build\esp32-development-board\lib0ad\libUpdate.a
Compiling .pio\build\esp32-development-board\FrameworkArduino\Print.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\Stream.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\StreamString.cpp.o
Archiving .pio\build\esp32-development-board\lib408\libHTTPUpdate.a
Archiving .pio\build\esp32-development-board\lib587\libHTTPClient.a
Compiling .pio\build\esp32-development-board\FrameworkArduino\WMath.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\WString.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\base64.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\cbuf.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-adc.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-bt.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-cpu.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-dac.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-gpio.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-i2c.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-ledc.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-log.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-matrix.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-misc.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-psram.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-rmt.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-sigmadelta.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-spi.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-time.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-timer.c.o
C:\Users\navin.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c: In function 'spiTransferBytesNL':
C:\Users\navin.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
uint8_t * last_out8 = &result[c_longs-1];
^
C:\Users\navin.platformio\packages\framework-arduinoespressif32\cores\esp32\esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
uint8_t * last_data8 = &last_data;
^
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-touch.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\esp32-hal-uart.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\libb64\cdecode.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\libb64\cencode.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\main.cpp.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\stdlib_noniso.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\wiring_pulse.c.o
Compiling .pio\build\esp32-development-board\FrameworkArduino\wiring_shift.c.o
Archiving .pio\build\esp32-development-board\libFrameworkArduino.a
Linking .pio\build\esp32-development-board\firmware.elf
.pio\build\esp32-development-board\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0x8): undefined reference to setup()' .pio\build\esp32-development-board\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0xc): undefined reference to loop()'
.pio\build\esp32-development-board\libFrameworkArduino.a(main.cpp.o): In function loopTask(void*)': C:\Users\navin\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:18: undefined reference to setup()'
C:\Users\navin.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:21: undefined reference to `loop()'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32-development-board\firmware.elf] Error 1
============================================================== [FAILED] Took 47.72 seconds ==============================================================

Environment              Status    Duration

esp32-development-board  FAILED    00:00:47.717
========================================================= 1 failed, 0 succeeded in 00:00:47.717 =========================================================

The terminal process "C:\Users\navin.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.

Closing this due to inactivity