COS Board Additions

Please add the following bio's and headshots to the COS Board portion of our website. Thank you!

Andrew Updegrove
Andrew Updegrove is a co-founder and partner of the Boston law firm of Gesmer Updegrove LLP.
Since 1988 he has served as legal counsel to over 135 standards development organizations and
open source foundations, most of which he has helped structure and launch.  He has been
retained by many of the largest technology companies in the world to assist them in forming such
He has also written and spoken extensively on the topics of consortia, standard setting and open
source software, has given testimony to the United States Department of Justice, Federal Trade
Commission, and Congressional and State legislative committees on the same topics, and has
filed “friend of the court” briefs on a pro bono basis with the Federal Circuit Court, Supreme Court,
and Federal Trade Commission in support of standards development in leading standards-related
litigation.  In 2002, he launched ConsortiumInfo.org, a website intended to be the most detailed
and comprehensive resource on the Internet on the topics of consortia and standard setting, as
well as Standards Today, an eJournal of news, ideas and analysis in the standard setting and
open source areas with over 7,000 subscribers around the world.  In 2005, he launched the
Standards Blog.  ConsortiumInfo.org serves over 10 million page views annually.
He has been a member of the United States Standards Strategy revision committee, has served
on a National Academy of Sciences committee on standards-related intellectual property rights
policies commissioned by the US PTO, and has received the President’s Award for Journalism
from American National Standards Institute (ANSI).  His current and past Board service includes
the Boards of Directors of ANSI, the Linux Foundation and the Free Standards Group, and the
Boards of Advisors of HL7 and Open Source for America.  He is a graduate of Yale University
and the Cornell University Law School.

Heather Joseph
Heather Joseph serves as the Executive Director of SPARC, (the Scholarly Publishing
and Academic Resources Coalition), an international coalition of academic and research
libraries working to expand the global, open communication of research and scholarship.
She leads the strategic and operational activities of the organization, and has focused
SPARC’s efforts on creating and supporting new models for sharing digital articles, data
and educational resources. Under her stewardship, SPARC has become widely
recognized as the leading international force for effective Open Access policy advocacy,
successfully securing legislation and executive actions in the U.S., Canada and Europe.
To support SPARC’s mission, Ms. Joseph spearheaded the launch of the student Right to
Research Coalition, an international advocacy organization that has grown to represent
nearly seven million students worldwide, and provides opportunities for students and
early career researchers to actively engage in advocacy for the open sharing of research
and scholarship.  She is also the convener of the Alliance for Taxpayer Access, a national
coalition of major U.S. education, research and advocacy organizations that advocate for
public access to the results of federally funded research.
Prior to joining SPARC, she spent 15 years as a publishing executive in both commercial
and not-for-profit publishing organizations. Ms. Joseph serves on the Board of Directors
of a number of non-profit organizations, including the Public Library of Science (PLoS),
DuraSpace and the Center for Open Science.  She is an active participant in projects and
committees at several U.S. federal agencies, and was recently appointed to the Secretary
of Commerce’s advisory Council on Digital Data.  Ms. Joseph is a frequent speaker and
writer on topics relating to opening up access to knowledge.

a pull request is in for this

Thank you!
On Wed, May 27, 2015 at 12:37 PM, jlcohoon<EMAIL_ADDRESS>wrote:

a pull request is in for this
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/centerforopenscience.org/issues/357#issuecomment-105987312
.

--
Denise Holman
Office Manager & Events Coordinator
Center for Open Science
210 Ridge McIntire Road, Suite 500
Charlottesville, VA 22903-5803
(804) 432-9522

@erinspace can you close this one please? Thanks!

yep!


DataFrameLoader accepts ONLY one column and by default labeled as "text"

I am working with a DataFrame that has multiple columns to get their text. Why is the method only accepts one column as input?
Here is the reference to the line of the code:
https://github.com/langchain-ai/langchain/blob/481bf6fae695653c52b26895292a40cf010c08e2/libs/langchain/langchain/document_loaders/dataframe.py#L36C71-L36C71

@dosu-bot I want to be able to pass a list[str] or a list of strings as input to the page_content_column. This list contains the labels of columns which has text content. Your explanation is just a restatement of the docstring.

@hwchase17 Would you mind to chime in?

@hwchase17 or  @sbusso  Can you step in? I think it needs a more in-depth consideration. DataFrameLoader won't accept list of column labels.
I have made the changes in the class properties (e.g. page_content: Union[str, List[str]]) and also made same changes to the Document class. But I got this error:
Exception has occurred: ValidationError
2 validation errors for Document
page_content
  str type expected (type=type_error.str)
page_content
  value is not a valid list (type=type_error.list)
  File "/Users/username/Repos/langchain/libs/langchain/langchain/load/serializable.py", line 75, in __init__
    super().__init__(**kwargs)
  File "/Users/username/Repos/langchain/libs/langchain/langchain/document_loaders/dataframe.py", line 27, in lazy_load
    yield Document(page_content=text, metadata=metadata)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Repos/langchain/libs/langchain/langchain/document_loaders/dataframe.py", line 31, in load
    return list(self.lazy_load())
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Repos/langchain/test.py", line 6, in <module>
    data= document.load()
          ^^^^^^^^^^^^^^^
pydantic.v1.error_wrappers.ValidationError: 2 validation errors for Document
page_content
  str type expected (type=type_error.str)
page_content
  value is not a valid list (type=type_error.list)

Minor change from dsubot's reply. This includes column name and its value in the returned text.
from typing import Any, Iterator, List, Union

from langchain.docstore.document import Document
from langchain.document_loaders.base import BaseLoader

class BaseDataFrameLoader(BaseLoader):
    def __init__(self, data_frame: Any, *, page_content_column: Union[str, List[str]] = "text"):
        """Initialize with dataframe object.

        Args:
            data_frame: DataFrame object.
            page_content_column: Name of the column or list of column names containing the page content.
              Defaults to "text".
        """
        self.data_frame = data_frame
        self.page_content_column = page_content_column

    def lazy_load(self) -> Iterator[Document]:
        """Lazy load records from dataframe."""

        for _, row in self.data_frame.iterrows():
            if isinstance(self.page_content_column, list):
                text = ' '.join(f'{col}:{row[col]}' for col in self.page_content_column)
            else:
                text = f'{col}:{row[self.page_content_column]}'
            metadata = row.to_dict()
            if isinstance(self.page_content_column, list):
                for col in self.page_content_column:
                    metadata.pop(col, None)
            else:
                metadata.pop(self.page_content_column, None)
            yield Document(page_content=text, metadata=metadata)

    def load(self) -> List[Document]:
        """Load full dataframe."""
        return list(self.lazy_load())

class DataFrameLoader(BaseDataFrameLoader):
    """Load `Pandas` DataFrame."""

    def __init__(self, data_frame: Any, page_content_column: Union[str, List[str]] = "text"):
        """Initialize with dataframe object.

        Args:
            data_frame: Pandas DataFrame object.
            page_content_column: Name of the column or list of column names containing the page content.
              Defaults to "text".
        """
        try:
            import pandas as pd
        except ImportError as e:
            raise ImportError(
                "Unable to import pandas, please install with `pip install pandas`."
            ) from e

        if not isinstance(data_frame, pd.DataFrame):
            raise ValueError(
                f"Expected data_frame to be a pd.DataFrame, got {type(data_frame)}"
            )
        super().__init__(data_frame, page_content_column=page_content_column)

@Hadi2525 did you finally get it to take in a list of columns? cause i am in the same predicament

@Hadi2525 did you finally get it to take in a list of columns? cause i am in the same predicament

No not yet. I am not focusing on this issue as of now.

Echo on this, not sure why it says closed


Changed user name

Changed the user name for the account in the main.go file, as it was generating problems for the action workflow

Added username to the main.go


Bump draftjs_exporter version to fix entities export bug

This bumps the draftjs_exporter dependency requirement of Wagtail to v2.1.5, which fixes an export bug when entities (say, links) are adjacent in the content.
Here is an example of where the problem occurs:

XW

XW

I wouldn't expect this to be a common issue for most Wagtail sites since it's rare/unwanted to have adjacent links like that, but for sites that have custom entities (say a custom emoji picker) it can definitely happen. See https://github.com/springload/draftjs_exporter/issues/106 for further details.

I'm not entirely sure whether the bump is needed (the new version was already in Wagtail's range), but I imagine people using lockfiles for their dependencies will benefit from seeing Wagtail's lower range for draftjs_exporter go up. And also having the mention in the release notes, for people who would want to assess whether their content has this issue.
I haven't added tests for this in Wagtail's codebase (there are tests in the exporter's), but I can if this seems useful.

[x] Do the tests still pass? (http://docs.wagtail.io/en/latest/contributing/developing.html#testing)
[x] Does the code comply with the style guide? (Run make lint from the Wagtail root)
~[ ] For Python changes: Have you added tests to cover the new/fixed behaviour?~
~[ ] For front-end changes: Did you test on all of Wagtail’s supported browsers? Please list the exact versions you tested.~
~[ ] For new features: Has the documentation been updated accordingly?~

As you pointed out, this bump isn't mandatory since this new version is included in the existing range but bumping the lower range is still a good thing to do as it will bring various fixes and performances improvements to everybody. Plus it doesn't have any breaking changes (it does add a required parameter to the render_decorators method but it isn't part of the public API) or require users to act on anything so that's all good.
As for the implications it might have, presumably it won't fix nor worsen already malformed data right? Let me explain, you created XW but it was saved in DB Format as XW. So next time around, it will be converted back to ContentState for use in the editor with the W before of the a tag. Saving it again will not change anything to it (despite the version bump).
Otherwise I can't think of anything else. Wagtail defines links, images, documents, embed and blockquotes as entities, some are self closing some aren't. Maybe it's worth confirming that it's working with both types doubled and mixed (both order) unless you're confident in the draftjs_exporter fix (I don't have time to dig into the fix code sorry).

Hmm, I'm quite confident in the fix but I'll do more tests specifically within the context of Wagtail so I can answer your questions confidently as well 😛.

Merged in a3dc9ed4773857c0d09d86be5040bc8f3c0086e3.


Add summary to landscape sustainability doc

Hi,
We are putting together a landscape doc for CNCF Environmental Sustainability TAG.  Would be nice to have a summary on this project here.
https://github.com/catblade/wg-env-sustainability/blob/main/documentation/WhitePapers/SustainabilityUseCasesAndLandscape2022.md
Do you have someone who can add a summary?  This project is already called out, but not summarized.
I'm one of the chairs for the group.  Feel free to contact me on slack or here.
Thanks,
--Marlow

Hi @catblade , I'll check it out and get back to you!

Hi @catblade , our marketing division has prepared a summary, let me know if it works:

Granulate, an Intel Company, helps enterprises optimize their workloads, lowering CO2 emissions by reducing the amount of compute needed.
One of Granulate's more popular tools, gProfiler, is a free, self-service, and open source, enabling businesses to improve application performance through continuous profiling, thereby reducing costs and minimizing carbon footprint.
Granulate users can monitor their carbon emission reduction on the gCenter dashboard, alongside cost and resource reductions, with the CO2 Savings Meter.

Probably more brief than we'd like.  Here is an example of a summary by geopm (not merged yet, as it is in progress).  https://github.com/catblade/wg-env-sustainability/pull/7/files
Also please be aware we will be editing for voice, to make sure the doc reads consistently.

Hi @catblade , wanted to update that our folks are looking at it.

@Jongy  have not heard back.  What's the status?  I'm planning to have this ready by kubecon and would prefer for your team to write it.

Ping on this.


MultiSampleGaugeMeasurement should be configurable via the expansion config

I'm personally not really interested in the MultiSampleGaugeMeasurement. It would be nice to be able to opt out.

Thanks for your submission. AppOptics is the next generation of Librato and is built on the same backend, but with additional support for APM and distributed tracing. We are moving future development of this client to https://github.com/appoptics/metrics-appoptics.


Allow mypy to run in vscode

Seems to require adding an exclude for build and an __init__.py file in the properties directory...

Never had issues with that. Are you using the mypy extension of Microsoft?

Yes I am.
I think the build path issue is because I built the docs and it's trying to scan those. But the conftest.py issue in properties I'm not sure about. I haven't had issues before...


How to set subdomain while using localtunnel in node.js?

Never mind, this is resolved.

Resolved.


plugins should be able to return empty string and false

the old code makes empty strings and false send back a null :-(

Good catch! Thanks for the PR :+1:


[BUG] Soulbinder Broken

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Soulbinder does not have the add player xp button, when pumping it in via tank it stops at 100/0 mb,
The animal monster and player tokens are supposed to consumer an animal (any passive mobs) monster (any hostile) and player (villagers) with a soularium grinding ball, but it never processes,
PS for some reason hostile mobs only show ghasts, but animals will cycle through all animals in jei.
Expected Behavior
It to work properly :P
Steps To Reproduce
try to craft monster, animal, or player tokens.
Environment
- OS: Windows
- Java version: No idea
- Minecraft version: 1.20.1
- Version: [6.0.7-alpha]

Anything else?
xp bar is broken like in #310

https://github.com/AllTheMods/ATM-9/issues/156

Possibly linked to #310, alsu unable to reproduce this

Possibly linked to #310, alsu unable to reproduce this

I've been playing TNP limitless 7 and they recently added enderIO to the pack and have the same exact issue. The only 'recipe' that shows up uses the 'wandering winemaker' soul vial and default broken spawner from ender IO but even those don't do anything in the binder.
I've gotten 50-100mb of 'xp juice' to go into the binder, but nothing else and it never works.
Modpack just started using EMI at the same time, not sure if it could be related as that does a lot with recipes and such.
Creating a powered spawner from a broken spawner still works as long as you're just doing the crafting recipe and want to keep the default mob from the broken spawner.

Are you saying the conversion was bugged? Because it was already "enderIO" according at least to this modpack.

Thanks for looking at it though.

The conversion might be incorrect in terms of what you are adding on top; the fluid inside of the tank you are pumping from may be from another mod. If it isn't, this fix should hopefully fix this anyway

@joleme81 do you have something else that might have a fluid version of experience. What seemed to be happing to me was it was taking 100mb of "liquid experience" from sophisticated backpacks, converting it to "xp juice" from enderio (which showed in the tank) but then not taking any more liquid experience into the tank because it had a different fluid in it.

I've been playing TNP limitless 7 and they recently added enderIO to the pack and have the same exact issue. The only 'recipe' that shows up uses the 'wandering winemaker' soul vial and default broken spawner from ender IO but even those don't do anything in the binder.
Do other recipes work? any soul vial with a mob + broken spawner should make a broken spawner with that type, might be some sort of unification script. if not, you might want to make a new issue about that.

I've been playing TNP limitless 7 and they recently added enderIO to the pack and have the same exact issue. The only 'recipe' that shows up uses the 'wandering winemaker' soul vial and default broken spawner from ender IO but even those don't do anything in the binder.

Do other recipes work? any soul vial with a mob + broken spawner should make a broken spawner with that type, might be some sort of unification script. if not, you might want to make a new issue about that.

I was just testing with this pack, looks like this is an EMI problem, it works fine if you use JEI.


Adds CV32E41P to MARCHID

Adds CV32E41P to the MARCHID list.  The core started its life as a fork of the CV32E40P core to implement the official RISC-V Zfinx and Zc* ISA extensions.
Closes https://github.com/openhwgroup/cv32e41p/issues/7

Oops, sorry for taking a while to get to this.


Failing to test on cygwin

Version: v1.13.1
Platform: CYGWIN_NT-10.0-WOW DESKTOP-UTV1QK3 2.8.2(0.313/5/3) 2017-07-12 10:53 i686 Cygwin

I managed to build libuv, but It fails when testing with make check.
log:
make  test/run-tests.exe
make[1]: Entering directory '/package_sources/libuv'
  CC       test/test_run_tests-blackhole-server.o
  CC       test/test_run_tests-dns-server.o
  CC       test/test_run_tests-echo-server.o
  CC       test/test_run_tests-run-tests.o
In file included from test/runner.h:97:0,
                 from test/run-tests.c:33:
test/runner-win.h:23:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable : 4996)
 ^
  CC       test/test_run_tests-runner.o
In file included from test/runner.h:97:0,
                 from test/runner.c:25:
test/runner-win.h:23:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable : 4996)
 ^
  CC       test/test_run_tests-test-active.o
  CC       test/test_run_tests-test-async.o
  CC       test/test_run_tests-test-async-null-cb.o
  CC       test/test_run_tests-test-barrier.o
  CC       test/test_run_tests-test-callback-order.o
  CC       test/test_run_tests-test-callback-stack.o
  CC       test/test_run_tests-test-close-fd.o
test/test-close-fd.c:76:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif  /* !defined(_WIN32) */
 ^
  CC       test/test_run_tests-test-close-order.o
  CC       test/test_run_tests-test-condvar.o
  CC       test/test_run_tests-test-connection-fail.o
  CC       test/test_run_tests-test-cwd-and-chdir.o
  CC       test/test_run_tests-test-default-loop-close.o
  CC       test/test_run_tests-test-delayed-accept.o
  CC       test/test_run_tests-test-dlerror.o
  CC       test/test_run_tests-test-eintr-handling.o
  CC       test/test_run_tests-test-embed.o
  CC       test/test_run_tests-test-emfile.o
test/test-emfile.c:117:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif  /* !defined(_WIN32) */
 ^
  CC       test/test_run_tests-test-env-vars.o
  CC       test/test_run_tests-test-error.o
In file included from test/test-error.c:25:0:
test/../src/win/winapi.h:4148:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
     };
      ^
test/../src/win/winapi.h:4156:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
   };
    ^
  CC       test/test_run_tests-test-fail-always.o
  CC       test/test_run_tests-test-fs-event.o
  CC       test/test_run_tests-test-fs-poll.o
  CC       test/test_run_tests-test-fs.o
test/test-fs.c: In function 'run_test_fs_stat_root':
test/test-fs.c:2054:14: warning: unused variable 'loop' [-Wunused-variable]
   uv_loop_t* loop = uv_default_loop();
              ^
  CC       test/test_run_tests-test-fork.o
test/test-fork.c:677:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif /* !_WIN32 */
 ^
  CC       test/test_run_tests-test-get-currentexe.o
  CC       test/test_run_tests-test-get-loadavg.o
  CC       test/test_run_tests-test-get-memory.o
test/test-get-memory.c: In function 'run_test_get_memory':
test/test-get-memory.c:29:10: warning: unknown conversion type character 'l' in format [-Wformat=]
   printf("free_mem=%llu, total_mem=%llu\n",
          ^
test/test-get-memory.c:29:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-get-memory.c:29:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-get-memory.c:29:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-get-memory.c:29:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-get-memory.c:29:10: warning: too many arguments for format [-Wformat-extra-args]
  CC       test/test_run_tests-test-get-passwd.o
  CC       test/test_run_tests-test-getaddrinfo.o
  CC       test/test_run_tests-test-gethostname.o
  CC       test/test_run_tests-test-getnameinfo.o
  CC       test/test_run_tests-test-getsockname.o
  CC       test/test_run_tests-test-handle-fileno.o
  CC       test/test_run_tests-test-homedir.o
  CC       test/test_run_tests-test-hrtime.o
  CC       test/test_run_tests-test-idle.o
  CC       test/test_run_tests-test-ip4-addr.o
  CC       test/test_run_tests-test-ip6-addr.o
test/test-ip6-addr.c: In function 'run_test_ip6_addr_link_local':
test/test-ip6-addr.c:92:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_long {aka long unsigned int}' [-Wformat=]
     fprintf(stderr, "Got scope_id 0x%02x\n", addr.sin6_scope_id);
                     ^
test/test-ip6-addr.c:92:21: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_long {aka long unsigned int}' [-Wformat=]
  CC       test/test_run_tests-test-ipc-send-recv.o
  CC       test/test_run_tests-test-ipc.o
  CC       test/test_run_tests-test-loop-handles.o
  CC       test/test_run_tests-test-loop-alive.o
  CC       test/test_run_tests-test-loop-close.o
  CC       test/test_run_tests-test-loop-stop.o
  CC       test/test_run_tests-test-loop-time.o
  CC       test/test_run_tests-test-loop-configure.o
  CC       test/test_run_tests-test-multiple-listen.o
  CC       test/test_run_tests-test-mutexes.o
  CC       test/test_run_tests-test-osx-select.o
  CC       test/test_run_tests-test-pass-always.o
  CC       test/test_run_tests-test-ping-pong.o
  CC       test/test_run_tests-test-pipe-bind-error.o
  CC       test/test_run_tests-test-pipe-connect-error.o
  CC       test/test_run_tests-test-pipe-connect-multiple.o
  CC       test/test_run_tests-test-pipe-connect-prepare.o
  CC       test/test_run_tests-test-pipe-getsockname.o
  CC       test/test_run_tests-test-pipe-pending-instances.o
  CC       test/test_run_tests-test-pipe-sendmsg.o
  CC       test/test_run_tests-test-pipe-server-close.o
  CC       test/test_run_tests-test-pipe-close-stdout-read-stdin.o
test/test-pipe-close-stdout-read-stdin.c:107:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif /* ifndef _WIN32 */
 ^
  CC       test/test_run_tests-test-pipe-set-non-blocking.o
  CC       test/test_run_tests-test-platform-output.o
test/test-platform-output.c: In function 'run_test_platform_output':
test/test-platform-output.c:54:10: warning: unknown conversion type character 'l' in format [-Wformat=]
   printf("uv_resident_set_memory: %llu\n", (unsigned long long) rss);
          ^
test/test-platform-output.c:54:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:54:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:54:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:69:10: warning: unknown conversion type character 'l' in format [-Wformat=]
   printf("  user: %llu sec %llu microsec\n",
          ^
test/test-platform-output.c:69:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:69:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:69:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:69:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:69:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:72:10: warning: unknown conversion type character 'l' in format [-Wformat=]
   printf("  system: %llu sec %llu microsec\n",
          ^
test/test-platform-output.c:72:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:72:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:72:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:72:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:72:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:75:10: warning: unknown conversion type character 'l' in format [-Wformat=]
   printf("  page faults: %llu\n", (unsigned long long) rusage.ru_majflt);
          ^
test/test-platform-output.c:75:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:75:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:75:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:76:10: warning: unknown conversion type character 'l' in format [-Wformat=]
   printf("  maximum resident set size: %llu\n",
          ^
test/test-platform-output.c:76:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:76:10: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:76:10: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:89:12: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("  times.sys: %llu\n", (unsigned long long) cpus[i].cpu_times.sys);
            ^
test/test-platform-output.c:89:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:89:12: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:89:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:90:12: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("  times.user: %llu\n",
            ^
test/test-platform-output.c:90:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:90:12: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:90:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:92:12: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("  times.idle: %llu\n",
            ^
test/test-platform-output.c:92:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:92:12: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:92:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:94:12: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("  times.irq: %llu\n",  (unsigned long long) cpus[i].cpu_times.irq);
            ^
test/test-platform-output.c:94:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:94:12: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:94:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:95:12: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("  times.nice: %llu\n",
            ^
test/test-platform-output.c:95:12: warning: too many arguments for format [-Wformat-extra-args]
test/test-platform-output.c:95:12: warning: unknown conversion type character 'l' in format [-Wformat=]
test/test-platform-output.c:95:12: warning: too many arguments for format [-Wformat-extra-args]
  CC       test/test_run_tests-test-poll-close.o
  CC       test/test_run_tests-test-poll-close-doesnt-corrupt-stack.o
test/test-poll-close-doesnt-corrupt-stack.c:52:23: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void NO_INLINE close_socket_and_verify_stack() {
                       ^
  CC       test/test_run_tests-test-poll-closesocket.o
  CC       test/test_run_tests-test-poll.o
  CC       test/test_run_tests-test-process-title.o
  CC       test/test_run_tests-test-queue-foreach-delete.o
  CC       test/test_run_tests-test-ref.o
  CC       test/test_run_tests-test-run-nowait.o
  CC       test/test_run_tests-test-run-once.o
  CC       test/test_run_tests-test-semaphore.o
  CC       test/test_run_tests-test-shutdown-close.o
  CC       test/test_run_tests-test-shutdown-eof.o
  CC       test/test_run_tests-test-shutdown-twice.o
  CC       test/test_run_tests-test-signal-multiple-loops.o
test/test-signal-multiple-loops.c:297:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif  /* !_WIN32 */
 ^
  CC       test/test_run_tests-test-signal.o
  CC       test/test_run_tests-test-socket-buffer-size.o
  CC       test/test_run_tests-test-spawn.o
test/test-spawn.c: In function 'run_test_spawn_detect_pipe_name_collisions_on_windows':
test/test-spawn.c:997:12: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'uv_pipe_t * {aka struct uv_pipe_s *}' [-Wformat=]
            "\\\\.\\pipe\\uv\\%p-%d",
            ^
test/test-spawn.c:997:12: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD {aka long unsigned int}' [-Wformat=]
test/test-spawn.c: In function 'run_test_environment_creation':
test/test-spawn.c:1171:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < ARRAY_SIZE(from_env); i++) {
                 ^
test/test-spawn.c:1199:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < ARRAY_SIZE(wenvironment) && !found; i++) {
                   ^
test/test-spawn.c:1206:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < ARRAY_SIZE(expected) && !found; i++) {
                   ^
test/test-spawn.c:1223:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < ARRAY_SIZE(wenvironment); i++) {
                 ^
test/test-spawn.c:1226:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < ARRAY_SIZE(expected); i++) {
                 ^
test/test-spawn.c: At top level:
test/test-spawn.c:139:13: warning: 'on_read_once' defined but not used [-Wunused-function]
 static void on_read_once(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) {
             ^
test/test-spawn.c:174:13: warning: 'timer_counter_cb' defined but not used [-Wunused-function]
 static void timer_counter_cb(uv_timer_t* handle) {
             ^
  CC       test/test_run_tests-test-stdio-over-pipes.o
  CC       test/test_run_tests-test-tcp-alloc-cb-fail.o
  CC       test/test_run_tests-test-tcp-bind-error.o
  CC       test/test_run_tests-test-tcp-bind6-error.o
  CC       test/test_run_tests-test-tcp-close-accept.o
test/test-tcp-close-accept.c:194:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif  /* !_WIN32 */
 ^
  CC       test/test_run_tests-test-tcp-close-while-connecting.o
  CC       test/test_run_tests-test-tcp-close.o
  CC       test/test_run_tests-test-tcp-create-socket-early.o
  CC       test/test_run_tests-test-tcp-connect-error-after-write.o
  CC       test/test_run_tests-test-tcp-connect-error.o
  CC       test/test_run_tests-test-tcp-connect-timeout.o
  CC       test/test_run_tests-test-tcp-connect6-error.o
  CC       test/test_run_tests-test-tcp-flags.o
  CC       test/test_run_tests-test-tcp-open.o
  CC       test/test_run_tests-test-tcp-read-stop.o
  CC       test/test_run_tests-test-tcp-shutdown-after-write.o
  CC       test/test_run_tests-test-tcp-unexpected-read.o
  CC       test/test_run_tests-test-tcp-oob.o
test/test-tcp-oob.c:128:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif
 ^
  CC       test/test_run_tests-test-tcp-write-to-half-open-connection.o
  CC       test/test_run_tests-test-tcp-write-after-connect.o
test/test-tcp-write-after-connect.c:68:0: warning: ISO C forbids an empty translation unit [-Wpedantic]
 #endif
 ^
  CC       test/test_run_tests-test-tcp-writealot.o
  CC       test/test_run_tests-test-tcp-write-fail.o
  CC       test/test_run_tests-test-tcp-try-write.o
  CC       test/test_run_tests-test-tcp-write-queue-order.o
  CC       test/test_run_tests-test-thread-equal.o
  CC       test/test_run_tests-test-thread.o
  CC       test/test_run_tests-test-threadpool-cancel.o
  CC       test/test_run_tests-test-threadpool.o
  CC       test/test_run_tests-test-timer-again.o
  CC       test/test_run_tests-test-timer-from-check.o
  CC       test/test_run_tests-test-timer.o
  CC       test/test_run_tests-test-tmpdir.o
  CC       test/test_run_tests-test-tty.o
  CC       test/test_run_tests-test-udp-alloc-cb-fail.o
  CC       test/test_run_tests-test-udp-bind.o
  CC       test/test_run_tests-test-udp-create-socket-early.o
  CC       test/test_run_tests-test-udp-dgram-too-big.o
  CC       test/test_run_tests-test-udp-ipv6.o
  CC       test/test_run_tests-test-udp-multicast-interface.o
  CC       test/test_run_tests-test-udp-multicast-interface6.o
  CC       test/test_run_tests-test-udp-multicast-join.o
  CC       test/test_run_tests-test-udp-multicast-join6.o
  CC       test/test_run_tests-test-udp-multicast-ttl.o
  CC       test/test_run_tests-test-udp-open.o
  CC       test/test_run_tests-test-udp-options.o
  CC       test/test_run_tests-test-udp-send-and-recv.o
  CC       test/test_run_tests-test-udp-send-hang-loop.o
  CC       test/test_run_tests-test-udp-send-immediate.o
  CC       test/test_run_tests-test-udp-send-unreachable.o
  CC       test/test_run_tests-test-udp-try-send.o
  CC       test/test_run_tests-test-walk-handles.o
  CC       test/test_run_tests-test-watcher-cross-stop.o
  CC       test/test_run_tests-runner-win.o
In file included from test/runner.h:97:0,
                 from test/runner-win.c:33:
test/runner-win.h:23:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable : 4996)
 ^
test/runner-win.c: In function 'process_wait':
test/runner-win.c:192:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   if (result >= WAIT_OBJECT_0 && result < WAIT_OBJECT_0 + n) {
              ^
test/runner-win.c: In function 'process_read_last_line':
test/runner-win.c:266:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   for (start = read - 1; start >= 0; start--) {
                                ^
test/runner-win.c: At top level:
test/runner-win.c:307:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static int clear_line() {
            ^
  CCLD     test/run-tests.exe
make[1]: Leaving directory '/package_sources/libuv'
make  check-TESTS
make[1]: Entering directory '/package_sources/libuv'
G:/cygwin/package_sources/libuv/test/run-tests.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
FAIL: test/run-tests.exe
======================================================
1 of 1 test failed
Please report to https://github.com/libuv/libuv/issues
======================================================
make[1]: *** [Makefile:4447: check-TESTS] Error 1
make[1]: Leaving directory '/package_sources/libuv'
make: *** [Makefile:4704: check-am] Error 2

That's probably an autotools or libtool bug, not a libuv bug.  The error message indicates that run-tests.exe isn't linked properly to libuv.dll.  You can probably work around it by running ./configure --disable-shared && make check, that builds a static library.

I tried using --disable-shared option, but test is still failing.
make  test/run-tests.exe
make[1]: Entering directory '/package_sources/libuv'
make[1]: 'test/run-tests.exe' is up to date.
make[1]: Leaving directory '/package_sources/libuv'
make  check-TESTS
make[1]: Entering directory '/package_sources/libuv'
1..297
ok 1 - platform_output
# Output from process `platform_output`:
# uv_get_process_title: new title
# uv_cwd: F:\cygwin\package_sources\libuv
# uv_resident_set_memory: 6045696
# uv_uptime: 1922.445282
# uv_getrusage:
#   user: 0 sec 46000 microsec
#   system: 0 sec 31000 microsec
#   page faults: 1805
#   maximum resident set size: 6852
# uv_cpu_info:
#   model: Intel(R) Pentium(R) CPU G4500 @ 3.50GHz
#   speed: 3504
#   times.sys: 630656
#   times.user: 449203
#   times.idle: 842750
#   times.irq: 24531
#   times.nice: 0
#   model: Intel(R) Pentium(R) CPU G4500 @ 3.50GHz
#   speed: 3504
#   times.sys: 595218
#   times.user: 475625
#   times.idle: 851609
#   times.irq: 18312
#   times.nice: 0
# uv_interface_addresses:
#   name: 이더넷 2
#   internal: 0
#   physical address: f4:4d:30:a8:1f:9c
#   address: fe80::6ca7:21d5:fe9d:fc27
#   netmask: ffff:ffff:ffff:ffff::
#   name: 이더넷 2
#   internal: 0
#   physical address: f4:4d:30:a8:1f:9c
#   address: <IP_ADDRESS>
#   netmask: <IP_ADDRESS>
#   name: Loopback Pseudo-Interface 1
#   internal: 1
#   physical address: 00:00:00:00:00:00
#   address: ::1
#   netmask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
#   name: Loopback Pseudo-Interface 1
#   internal: 1
#   physical address: 00:00:00:00:00:00
#   address: <IP_ADDRESS>
#   netmask: <IP_ADDRESS>
#   name: Teredo Tunneling Pseudo-Interface
#   internal: 0
#   physical address: 00:00:00:00:00:00
#   address: 2001:0:9d38:6abd:1c04:341e:f5ab:b791
#   netmask: ffff:ffff:ffff:ffff::
#   name: Teredo Tunneling Pseudo-Interface
#   internal: 0
#   physical address: 00:00:00:00:00:00
#   address: fe80::1c04:341e:f5ab:b791
#   netmask: ffff:ffff:ffff:ffff::
# uv_os_get_passwd:
#   euid: -1
#   gid: -1
#   username: user
#   shell: (null)
#   home directory: C:\Users\user
ok 2 - close_order
ok 3 - run_once
ok 4 - run_nowait
ok 5 - loop_alive
ok 6 - loop_close
ok 7 - loop_stop
ok 8 - loop_update_time
ok 9 - loop_backend_timeout
ok 10 - loop_configure
ok 11 - default_loop_close
ok 12 - barrier_1
ok 13 - barrier_2
ok 14 - barrier_3
ok 15 - condvar_1
ok 16 - condvar_2
ok 17 - condvar_3
ok 18 - condvar_4
ok 19 - condvar_5
ok 20 - semaphore_1
ok 21 - semaphore_2
ok 22 - semaphore_3
ok 23 - pipe_connect_bad_name
not ok 24 - pipe_connect_to_file
# exit code 3
# Output from process `pipe_connect_to_file`:
# Assertion failed in test/test-pipe-connect-error.c on line 53: status == UV_ENOTSOCK || status == UV_ECONNREFUSED
#
# This application has requested the Runtime to terminate it in an unusual way.
# Please contact the application's support team for more information.
ok 25 - pipe_connect_on_prepare
ok 26 - pipe_server_close
ok 27 - pipe_set_non_blocking # SKIP

ok 28 - tty
ok 29 - tty_raw
ok 30 - tty_empty_write
ok 31 - tty_large_write
ok 32 - tty_file
ok 33 - tty_pty
ok 34 - stdio_over_pipes
ok 35 - ip6_pton
ok 36 - ipc_listen_before_write
ok 37 - ipc_listen_after_write
ok 38 - ipc_send_recv_tcp
ok 39 - ipc_send_recv_tcp_inprocess
ok 40 - ipc_tcp_connection
ok 41 - tcp_alloc_cb_fail
ok 42 - tcp_ping_pong
ok 43 - tcp_ping_pong_v6
ok 44 - pipe_ping_pong
ok 45 - delayed_accept
ok 46 - multiple_listen
ok 47 - tcp_writealot
ok 48 - tcp_write_fail
ok 49 - tcp_try_write
ok 50 - tcp_write_queue_order
ok 51 - tcp_open
ok 52 - tcp_open_twice
ok 53 - tcp_shutdown_after_write
ok 54 - tcp_connect_error_after_write
ok 55 - tcp_bind_error_addrinuse
ok 56 - tcp_bind_error_addrnotavail_1
ok 57 - tcp_bind_error_addrnotavail_2
ok 58 - tcp_bind_error_fault
ok 59 - tcp_bind_error_inval
ok 60 - tcp_bind_localhost_ok
ok 61 - tcp_bind_invalid_flags
ok 62 - tcp_listen_without_bind
ok 63 - tcp_connect_error_fault
ok 64 - tcp_connect_timeout
ok 65 - tcp_close_while_connecting
ok 66 - tcp_close
ok 67 - tcp_create_early
ok 68 - tcp_create_early_bad_bind
ok 69 - tcp_create_early_bad_domain
ok 70 - tcp_create_early_accept
ok 71 - tcp_flags
ok 72 - tcp_write_to_half_open_connection
ok 73 - tcp_unexpected_read
ok 74 - tcp_read_stop
ok 75 - tcp_bind6_error_addrinuse
ok 76 - tcp_bind6_error_addrnotavail
ok 77 - tcp_bind6_error_fault
ok 78 - tcp_bind6_error_inval
ok 79 - tcp_bind6_localhost_ok
ok 80 - udp_alloc_cb_fail
ok 81 - udp_bind
ok 82 - udp_bind_reuseaddr
ok 83 - udp_create_early
ok 84 - udp_create_early_bad_bind
ok 85 - udp_create_early_bad_domain
ok 86 - udp_send_and_recv
ok 87 - udp_send_hang_loop
ok 88 - udp_send_immediate
ok 89 - udp_send_unreachable
ok 90 - udp_dgram_too_big
ok 91 - udp_dual_stack
ok 92 - udp_ipv6_only
ok 93 - udp_options
ok 94 - udp_options6
ok 95 - udp_no_autobind
ok 96 - udp_multicast_interface
ok 97 - udp_multicast_interface6
ok 98 - udp_multicast_join
ok 99 - udp_multicast_join6
ok 100 - udp_multicast_ttl
ok 101 - udp_try_send
ok 102 - udp_open
ok 103 - udp_open_twice
ok 104 - pipe_bind_error_addrinuse
ok 105 - pipe_bind_error_addrnotavail
ok 106 - pipe_bind_error_inval
ok 107 - pipe_connect_multiple
ok 108 - pipe_listen_without_bind
ok 109 - pipe_getsockname
ok 110 - pipe_getsockname_abstract
ok 111 - pipe_getsockname_blocking
ok 112 - pipe_pending_instances
ok 113 - pipe_sendmsg
ok 114 - connection_fail
ok 115 - connection_fail_doesnt_auto_close
ok 116 - shutdown_close_tcp
ok 117 - shutdown_close_pipe
ok 118 - shutdown_eof
ok 119 - shutdown_twice
ok 120 - callback_stack
ok 121 - env_vars
ok 122 - error_message
ok 123 - sys_error
ok 124 - timer
ok 125 - timer_init
ok 126 - timer_again
ok 127 - timer_start_twice
ok 128 - timer_order
ok 129 - timer_huge_timeout
ok 130 - timer_huge_repeat
ok 131 - timer_run_once
ok 132 - timer_from_check
ok 133 - timer_null_callback
ok 134 - timer_early_check
ok 135 - idle_starvation
ok 136 - ref
ok 137 - idle_ref
ok 138 - fs_poll_ref
ok 139 - async_ref
ok 140 - prepare_ref
ok 141 - check_ref
ok 142 - unref_in_prepare_cb
ok 143 - timer_ref
ok 144 - timer_ref2
ok 145 - fs_event_ref
ok 146 - tcp_ref
ok 147 - tcp_ref2
ok 148 - tcp_ref2b
ok 149 - tcp_ref3
ok 150 - tcp_ref4
ok 151 - udp_ref
ok 152 - udp_ref2
ok 153 - udp_ref3
ok 154 - pipe_ref
ok 155 - pipe_ref2
ok 156 - pipe_ref3
ok 157 - pipe_ref4
ok 158 - process_ref
ok 159 - has_ref
ok 160 - loop_handles
ok 161 - walk_handles
ok 162 - watcher_cross_stop
ok 163 - active
ok 164 - embed
ok 165 - async
ok 166 - async_null_cb
ok 167 - eintr_handling # SKIP

ok 168 - get_currentexe
ok 169 - process_title
ok 170 - cwd_and_chdir
ok 171 - get_memory
ok 172 - get_passwd
ok 173 - get_loadavg
ok 174 - handle_fileno
ok 175 - homedir
ok 176 - tmpdir
not ok 177 - hrtime
# exit code 3
# Output from process `hrtime`:
# Assertion failed in test/test-hrtime.c on line 50: diff < (uint64_t) 80 * NANOSEC / MILLISEC
#
# This application has requested the Runtime to terminate it in an unusual way.
# Please contact the application's support team for more information.
ok 178 - getaddrinfo_fail
ok 179 - getaddrinfo_fail_sync
ok 180 - getaddrinfo_basic
ok 181 - getaddrinfo_basic_sync
ok 182 - getaddrinfo_concurrent
ok 183 - gethostname
ok 184 - getnameinfo_basic_ip4
ok 185 - getnameinfo_basic_ip4_sync
ok 186 - getnameinfo_basic_ip6
ok 187 - getsockname_tcp
ok 188 - getsockname_udp
ok 189 - poll_duplex
ok 190 - poll_unidirectional
ok 191 - poll_close
ok 192 - poll_bad_fdtype
ok 193 - socket_buffer_size
ok 194 - spawn_fails
ok 195 - spawn_exit_code
ok 196 - spawn_stdout
ok 197 - spawn_stdin
ok 198 - spawn_stdio_greater_than_3
ok 199 - spawn_ignored_stdio
ok 200 - spawn_and_kill
ok 201 - spawn_detached
ok 202 - spawn_and_kill_with_std
ok 203 - spawn_and_ping
ok 204 - spawn_preserve_env
ok 205 - spawn_setuid_fails
ok 206 - spawn_setgid_fails
ok 207 - spawn_stdout_to_file
ok 208 - spawn_stdout_and_stderr_to_file
ok 209 - spawn_stdout_and_stderr_to_file2 # SKIP

ok 210 - spawn_stdout_and_stderr_to_file_swap # SKIP

ok 211 - spawn_auto_unref
ok 212 - spawn_closed_process_io
ok 213 - spawn_reads_child_path
ok 214 - spawn_inherit_streams
not ok 215 - fs_poll
# exit code 3
# Output from process `fs_poll`:
# Assertion failed in test/test-fs-poll.c on line 55: (fp = fopen(FIXTURE, "w+"))
#
# This application has requested the Runtime to terminate it in an unusual way.
# Please contact the application's support team for more information.
ok 216 - fs_poll_getpath
ok 217 - kill
ok 218 - poll_close_doesnt_corrupt_stack
ok 219 - poll_closesocket
ok 220 - spawn_detect_pipe_name_collisions_on_windows
ok 221 - argument_escaping
ok 222 - environment_creation
ok 223 - listen_with_simultaneous_accepts
ok 224 - listen_no_simultaneous_accepts
ok 225 - fs_stat_root
ok 226 - spawn_with_an_odd_path
ok 227 - ipc_listen_after_bind_twice
ok 228 - win32_signum_number
ok 229 - fs_file_noent
ok 230 - fs_file_nametoolong
ok 231 - fs_file_loop
ok 232 - fs_file_async
ok 233 - fs_file_sync
ok 234 - fs_file_write_null_buffer
ok 235 - fs_async_dir
not ok 236 - fs_async_sendfile
# exit code 3
# Output from process `fs_async_sendfile`:
# Assertion failed in test/test-fs.c on line 1010: f != -1
#
# This application has requested the Runtime to terminate it in an unusual way.
# Please contact the application's support team for more information.
ok 237 - fs_mkdtemp
ok 238 - fs_fstat
ok 239 - fs_access
ok 240 - fs_chmod
ok 241 - fs_unlink_readonly
ok 242 - fs_chown
not ok 243 - fs_utime
# exit code 3
# Output from process `fs_utime`:
# Assertion failed in test/test-fs.c on line 688: s->st_mtim.tv_sec + (s->st_mtim.tv_nsec /<PHONE_NUMBER>.0) == mtime
#
# This application has requested the Runtime to terminate it in an unusual way.
# Please contact the application's support team for more information.
not ok 244 - fs_futime
# exit code 3
# Output from process `fs_futime`:
# Assertion failed in test/test-fs.c on line 688: s->st_mtim.tv_sec + (s->st_mtim.tv_nsec /<PHONE_NUMBER>.0) == mtime
#
# This application has requested the Runtime to terminate it in an unusual way.
# Please contact the application's support team for more information.
ok 245 - fs_readlink
ok 246 - fs_realpath
ok 247 - fs_symlink
ok 248 - fs_symlink_dir
ok 249 - fs_stat_missing_path
ok 250 - fs_read_file_eof
ok 251 - fs_file_open_append
ok 252 - fs_event_watch_dir
ok 253 - fs_event_watch_dir_recursive
ok 254 - fs_event_watch_file
ok 255 - fs_event_watch_file_exact_path
ok 256 - fs_event_watch_file_twice
ok 257 - fs_event_watch_file_current_dir
ok 258 - fs_event_watch_file_root_dir
ok 259 - fs_event_watch_invalid_path
ok 260 - fs_event_no_callback_after_close
ok 261 - fs_event_no_callback_on_close
ok 262 - fs_event_immediate_close
ok 263 - fs_event_close_with_pending_event
ok 264 - fs_event_close_in_callback
ok 265 - fs_event_start_and_close
ok 266 - fs_event_error_reporting
ok 267 - fs_event_getpath
ok 268 - fs_scandir_empty_dir
ok 269 - fs_scandir_non_existent_dir
ok 270 - fs_scandir_file
ok 271 - fs_open_dir
ok 272 - fs_rename_to_existing_file
ok 273 - fs_write_multiple_bufs
ok 274 - fs_write_alotof_bufs
ok 275 - fs_write_alotof_bufs_with_offset
ok 276 - fs_read_write_null_arguments
ok 277 - fs_file_pos_after_op_with_offset
ok 278 - get_osfhandle_valid_handle
ok 279 - threadpool_queue_work_simple
ok 280 - threadpool_queue_work_einval
ok 281 - threadpool_multiple_event_loops
ok 282 - threadpool_cancel_getaddrinfo
ok 283 - threadpool_cancel_getnameinfo
ok 284 - threadpool_cancel_work
ok 285 - threadpool_cancel_fs
ok 286 - threadpool_cancel_single
ok 287 - thread_local_storage
ok 288 - thread_stack_size # SKIP

ok 289 - thread_mutex
ok 290 - thread_rwlock
ok 291 - thread_rwlock_trylock
ok 292 - thread_create
ok 293 - thread_equal
ok 294 - dlerror
ok 295 - ip4_addr
ok 296 - ip6_addr_link_local
ok 297 - queue_foreach_delete
FAIL: test/run-tests.exe
======================================================
1 of 1 test failed
Please report to https://github.com/libuv/libuv/issues
======================================================
make[1]: *** [Makefile:4447: check-TESTS] Error 1
make[1]: Leaving directory '/package_sources/libuv'
make: *** [Makefile:4704: check-am] Error 2

The failing fs tests are a benign path issue when using autotools.  The other two are probably cygwin quirks.  That's not an environment we test regularly.

Then am I okay to use this?
I'm building libuv to install neovim.

Yep, should be Good Enough(TM).


Nothing happens when execute ng e2e myproject-e2e

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions
Node : v8.9.3
npm : 6.1.0
Angular CLI: 7.0.0-rc.1
Node: 8.9.3
OS: darwin x64
Angular: 6.0.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package                           Version
@angular-devkit/architect         0.8.4
@angular-devkit/build-angular     0.8.4
@angular-devkit/build-optimizer   0.8.4
@angular-devkit/build-webpack     0.8.4
@angular-devkit/core              7.0.0-rc.1
@angular-devkit/schematics        7.0.0-rc.1
@angular/cli                      7.0.0-rc.1
@ngtools/webpack                  6.2.4
@schematics/angular               7.0.0-rc.1
@schematics/update                0.9.0-rc.1
rxjs                              6.2.2
typescript                        2.7.2
webpack                           4.20.1
Repro steps
just try to run ng e2e myproject-e2e
The log given by the failure
No log, no trace, nothing
Desired functionality
Launch my project e2e tests

Can you please try to update the devkit packages from 0.8.4to 0.9.0-rc.1?

Thanks @alan-agius4 it's works


Installing addtocalendar with bower throws warning

`bower angular-addtocalendar                  invalid-meta The "main" field cannot contain minified files

fixed in v1.2.2


SERVER_NAME env var

Allow Flask SERVER_NAME config to be set by env var

Required to correctly render portal wrapper (URL, including domain needed)

Use SERVER_NAME env var to set Apache ServerName in Docker container

@pbugni Gonna merge this for now; let me know if I've overlooked something in the configuration


npmInstallInDir and linkDepedendenciesForPackage happen in wrong order

It looks like https://github.com/kittens/lerna/commit/4ecfff5ac9facdf7bbb6f370f787f7d941a8b727 reversed the order of npmInstallInDir and linkDependenciesForPackage occur, so lerna bootstrap fails if the local packages have not previously been published to npm.
I'm happy to submit a PR to fix, but given how small that commit is, it seems like this was done intentionally.

Interesting. it looks like the problem I had with local, non-published files was caused by naming an explicit version instead of including a "^" in the dependency's version specifier. I think I've fixed the issue that I had, but I'll leave this issue open until a maintainer takes a look because the current task ordering still seems problematic to me.

The reason this was done previously is because npm was installing over the "linked" packages. I wasn't able to figure out why so I reversed the order.
I can see how this order is a problem for linking deps before they are published. I'll have to look into it more.

Fixed in 2.0.0-beta.4


Allow setting Response's F_SKIPBODY flag

Not necessarily needed, but without it, Flags::skipbody() is useless. Normally, the application should know whether this response is for a HEAD request (meaning complete header, but no body). But it would allow for loading off the information on the Response object without having to pass on further state variables.
Maybe just add a bool to the constructor is_head_response. Then in the on_headers_complete callback, you should return 1. The infrastructure to override the callback in Response seems to be there.

http_parser::flags is a private variable, you're never supposed to change it.  In hindsight, I don't think the httpxx::Flags class is supposed to exist because Message::flags() is technically accessing a private variable..

What is your use case exactly?  I don't understand what you mean by:

But it would allow for loading off the information on the Response object without having to pass on further state variables.

The use case is to let http-parser know that this is a response to a HEAD, so I get the correct on_body_end without having to pass a bool is_head_response to some function so it knows that there will be no body.
Normally this is not set by fiddling with flags directly, but indirectly by returning 1 from on_headers_complete.
I guess this crosses the fine line between using all features of an underlying library and copying its interface. If you don't see the need to add it, scratch it.
You're probably right about the Flags class. In fact, the close and keep-alive flags are obsolete with the addition of should_keep_alive(). The other flags are only valuable to the parser, and even upgrade is available via a public bit in the http_parserstruct.

The use case is to let http-parser know that this is a response to a HEAD [...] Normally this is not set by fiddling with flags directly, but indirectly by returning 1 from on_headers_complete.

If I just have on_headers_complete return 1 when Request::method()==Method::head(), shouldn't that do the trick?  Is there a use case where that doesn't work?

I guess this crosses the fine line between using all features of an underlying library and copying its interface. If you don't see the need to add it, scratch it.

Maybe this alternate fix would actually improve the "using all the features part" and simplify the interface instead of copying it ;-)

The problem with a response to a HEAD request is that you can't tell from the response alone.
Its response has the exact same header as would a response to a GET for the same resources.
So you have to know that this is response to a HEAD to know that it has no body, even though it has a non-zero Content-Length header value.

Ah!  Everything now makes sense!
I guess it would be easy enough to add a Response::skip_body() method that sets a flag such that Request::on_headers_complete() can return 1 when necessary.  The flag could be reset to false on Response::clear().
This doesn't seem to me like duplicating the interface or anything.  It's definitely a valid (and important) use case.

Pushed a tentative fix in branch issue-7.  I just realized .clear() does not reset the flag, but the value is still reset by on_message_begin().  Let me know if it works as expected.

Same here :) I'm not at a PC with anything even resembling a compiler right now. The code looks good, but I can certainly test it sometime during the weekend.


tqdm progress bar not updating

the tqdm progress bar is not updating during file transfer. it is present in Server.py and Client.py.

@MeetRajput00 can you please give me commands that should be used to trigger functions using tqdm progress bar.

Ok, so first we start a server using
py SocketWizard.py server
then a client using
py SocketWizard.py client
In both server and client we have commands-ft-mode-download and ft-mode-upload. When we send them we can start file transfer. Now the issue is that the file is being transferred but the tqdm progress bar is not updating while transfer is in process.

Hey @MeetRajput00, I managed to get the progress bar working but ft-mode-download in client side doensn't seems to working. It gives this error when I enters the file name that I want to get.
cannot access local variable 'FILESIZE' where it is not associated with a value
Should I fix that error in with this or open up another issue for that?

@SahanY099 Please open another issue for the error

I'll open another one


Translate Problema (PR-BR)

Hello,
In config -> General -> Delete exported transactions or Delete transactions after export
There is a typo in Portuguese,  The title sould be "Deletar" instead of "Delear"
Thanks!
Will try out this app.

:+1: Thanks


Allow ignition on local usage.

Added config option to allow ignition usage in localhost.
Update .gitignore file.

Closes #81.

@AlexVanderbist

It seems like this change will make solutions not runnable locally by default.
Can you explain why this change is needed?

It seems like this change will make solutions not runnable locally by default.
Can you explain why this change is needed?

Previously wasn't not even working on local usage.
Because this should be decided by the developer and if you see it previously we cannot make it run local accordingly with #81.

Hi there, thanks for the PR! Code looks good but to avoid having two very similar environment variables (IGNITION_ALLOW_LOCAL_USAGE and IGNITION_ENABLE_RUNNABLE_SOLUTIONS) we decided to take it in a slightly different direction. See #111 for more information.


HERE’S!! WAY TO WATCH Chelsea vs Arsenal LIVE STREAMS FREE Broadcast ON TV CHANNEL 10 NOV 2024

How to watch today's Chelsea vs Arsenal Premier League game: Live stream, TV channel, and start time
How to watch the Premier League match between Chelsea and Arsenal, as well as kick-off time and team news.
The last Premier League clash before the international break promises to be thrilling, as London rivals Chelsea and Arsenal square off at Stamford Bridge on Sunday.
Currently, both teams sit close in the standings after a promising start to the season for Enzo Maresca's Blues. While they've impressed in major matches, their recent 1-1 draw with Manchester United left fans wanting more.
Meanwhile, Mikel Arteta is likely frustrated with the Gunners holding onto fifth place after 10 matches, especially given their high standards from the past two seasons. They will approach this clash with something to prove, hoping to revive their title bid after a recent slump.
They also suffered a setback midweek, falling 1-0 to Inter Milan in the Champions League, which snapped their unbeaten European run. Nevertheless, a crucial three points are up for grabs, and both sides will be determined to come away with the victory.
Here, GOAL brings you everything you need to know about how to watch, including TV channel, streaming details and more.
How to watch Chelsea vs Arsenal online - TV channels & live streams
Country	TV channel / live stream
United Kingdom (UK)	Sky Sports Main Event, Sky Sports Premier League, Sky GO
United States (U.S.)	USA, Telemundo, Fubo, Sling Blue, DirecTV Stream,
Australia	Optus Sport
Canada	Fubo
Germany	Sky Sports Premier League
India	Star Sports, Disney+ Hotstar VIP
Republic of Ireland	Sky Sports Premier League, Sky Sports Main Event, Sky GO
Spain	DAZN
Italy	Sky Sports Uno, Sky Go Italia
Netherlands, Denmark, Sweden, Poland	Viaplay
South Africa	SuperSport
In the UK, the Premier League match between Chelsea and Arsenal will be broadcast live on TV on Sky Sports Main Event, Sky Sports Premier League and Sky Sports Ultra HDR, and is available to stream online live through Sky Go.
In the United States (US), the Premier League match will be available to stream live online on Fubo (sign up for a free 7-day trial), Sling Blue and DirecTV Stream, as well as being broadcast live on USA and Telemundo.
Check out GOAL's Live Match Centre for updates.
How to watch anywhere with VPN
If you are abroad, you may need to use a virtual private network (VPN) in order to watch games using your usual streaming service. A VPN, such as NordVPN, allows you to establish a secure connection online when streaming. If you are not sure which VPN to use, check out GOAL's guide to the best VPNs for streaming sport.
logo
Stream live anywhere in the world with Nord VPN
Get NordVPN
Chelsea vs Arsenal kick-off time
Date:	Sunday, November 10, 2024
Kick-off time:	11:30 am ET/ 8:30 am PT/ 4:30 pm GMT
Venue:	Stamford Bridge
The Premier League match between Chelsea and Arsenal will be played at the Stamford Bridge in London, England.
It will kick off at 11:30 am ET/ 8:30 am PT/ 4:30 pm GMT on Sunday, November 10, 2024.
Team news & squads
Chelsea team news
Chelsea remain optimistic about Cole Palmer's availability following his recent injury, with head coach Enzo Maresca set to reshuffle the lineup significantly from Thursday's squad. Key players like Moises Caicedo, Nicolas Jackson, Reece James, Wesley Fofana, and Romeo Lavia are all likely to make their returns.
Chelsea possible XI: Sanchez; Gusto, Fofana, Colwill, James; Caicedo, Lavia; Madueke, Palmer, Neto; Jackson
Position	Players
Goalkeepers:	Sanchez, Bettinelli, Bergstrom, Jorgensen
Defenders:	Disasi, Cucurella, Adarabioyo, Badiashile, Colwill, Chilwell, James, Gusto, Fofana, Veiga
Midfielders:	Fernandez, Felix, Chukwuemeka, Palmer, Caicedo, Casadei, Dewsbury-Hall, Lavia
Forwards:	Neto, Mudryk, Madueke, Jackson, Nkunku, Sancho, Guiu
Arsenal team news
Midfielder Declan Rice is a concern heading into this high-stakes matchup due to a suspected broken toe, putting his participation in doubt. Kai Havertz also awaits medical clearance after a head collision with Inter's Yann Bisseck on Wednesday.
Meanwhile, Riccardo Calafiori (knee), Takehiro Tomiyasu (knee), and Kieran Tierney (hamstring) are all sidelined until after the international break. Martin Odegaard is expected to play in some capacity, while Raheem Sterling is unavailable due to his loan terms, barring him from facing his parent club.

cvcv


Default entities of new Inspector project can not be deleted.

Zombie and white cube do not react to "Delete entity" command. The reason of the bug should be found, fixed, and zombie & cube deleted from the new project afterwards.

Closes by https://github.com/decentraland/js-sdk-toolchain/pull/607 and https://github.com/decentraland/editor-sdk7-scene-template/pull/1


Having problems with a subquery

Any ideas how I could generate this SQL with knex?
select companies.guid,
    (select max(creation_date) from messages
        where company_guid = companies.guid)
from companies

so far I've come up with
knex('companies').select('companies.guid', function(){
    this.table('messages').where('company_guid', 'companies.guid')
    .max('creation_date').as('latest_message')
}).toString()

which resuts in this SQL:
select "companies"."guid",
    (select max("creation_date") from "messages"
        where "company_guid" = 'companies.guid') as "latest_message"
from "companies"

which seems close, but this fails for some reason complaining about the quotes.. if I remove enough of them until I get to this:
select companies.guid,
    (select max("creation_date") from messages
        where company_guid = companies.guid) as "latest_message"
from companies

then it works. Any suggestions on what I could be doing wrong here?

Perhaps toString is just using double quotes whereas internally it would use backticks, which would work for these quoted identifiers (such as table names)

Ah, found the section of the docs that suggests using raw for identifiers which need periods, or in this case whereRaw was the answer.

I would recommend
.where('company_guid', knex.raw('??', 'companies.guid'))

instead of
.whereRaw('company_guid = ??', 'companies.guid');

Since .whereRaw would generate company_guid = "companies"."guid" rather than "company_guid" = "companies"."guid". May not matter in this case, but if the column was mixed-case, it would matter.

Thanks for your response! I ended up with .whereRaw('company_guid = companies.guid') which seems to work ok.


feat: onetime headers for agent and runtime-version

before we merge this, lets finish the discussion whether or not we want to add the client name in the agent header


Add overlays on city names

Links

Issue link
Documentation links

GIF/Screenshots:

Changes:

add background behind text over the picture so that you can read it better

How To Test:

This will appear for any list component.

Feedback I'm looking for:
... I don't really think this looks that good? Especially because it varies in size with the content? can I get some design feedback on this?
Things left to do before deploying:

[ ] ...

Hey!
Feedback:

Agree, doesn't look great with the varied sizes. If we keep the overlay, could we have it extend to the edges?
We can also consider alternatives to an overlay. For instance, do we prefer that the city name lies above or below the image or is "embedded" in the image similar to if it was an image card. That would also mean the image looks better, since it's not cut-off midway.

I don't know what you mean by

"embedded" in the image similar to if it was an image card.
Can you show a visual example?

One source of inspiration that would be especially easy to pull from would be anything that's on the official USWDS layout: https://designsystem.digital.gov/page-templates/

The way that I've done this in the past is having an element with 100% height on top of the div, that has a gradient-ed background from transparent->black top->bottom, and then move the text there.
Made a super quick figma mockup: https://www.figma.com/file/B7QmTZk8gvbbmXZAHmj5KP/NEX-homepage?node-id=0%3A1

Okay, that looks a bit better to me

Does it accomplish what was intended from the marketing team?

@keithk yeah I like .75 better! I... didn't actually know how to read that value out of Figma, whoops!


Add status getters for gift card creation and cancellation

Add getters to CreateGiftCard and CancelGiftCard for the AGCOD API response status.
This allows clients to distinguish between the "FAILURE" and "RESEND" statuses, as well as to log or otherwise process the original status code returned by the AGCOD API.

:+1:

0.0.9 just released, thanks @nateborr

Great! Thank you.


Add script for building our own falco.

For #10

(Need more monitoring to make sure this works so moving back to draft. Sorry for the spam)

Doing a few more quick (unscientific) experiments over the weekend, it looks like this is definitely helping a lot (but we still get very occasional large drops). I'll merge this and see if there are more improvements we can make.


Migrate extra DSpace-CRIS "Live Import" sources to DSpace (CrossRef & VuFind)

References
Fixes https://github.com/DSpace/DSpace/issues/3359
To facilitate code review, the work was divided into 4 PRs.
This PR contains the following connectors:

CrossRefImportMetadataSourceServiceImpl
VuFindImportMetadataSourceServiceImpl

Instructions for Reviewers
These two connectors are active by default and do not need apiKeys
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new, third-party dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies the REST API, I've linked to the REST Contract page (or open PR) related to this change.

Hi @tdonohue thank you for your feedback. I fixed it.
I would also like to point out to you another thing, out of 4 PRs related to Live-Import we have some code in common, so I end up having the same feedback on multiple PRs, to avoid that I have to fix the same things on each PR, maybe we can finalize one at a time, merge it, so I avoid doing double work.


Binary ninja softlock when open Edit function property

Binary Ninja Version
Binary Ninja Dev Version 2.4.2975
Describe the bug
The
To Reproduce
Steps to reproduce the behavior:

Open a binary file
While it is analysing the binary, go to a function
Right click open the Edit function property
Now the program is softlock, u can't do anything with the program.

Video:
https://vimeo.com/601796827
Error photo on terminal:

Version and Platform (required):

Binary Ninja: Dev 2.4.2975
OS: Arch Linux x86_64
Version: 5.11.15-arch1-2

Hi,
I'm not able to reproduce this hangup (nor the Qt errors in the console) on macOS under the latest dev build. I don't currently have access to a Linux machine, so I'm unable to test on Linux at the moment.
Any additional information as well as a test binary/BNDB would be helpful in the meantime.

It's possible that this is specifically a Personal problem (Personal version, not throwing shade :P)

I still can't reproduce this on either Binary Ninja nor Binary Ninja Personal. Are you still encountering this issue @acheron2302?

Going to close this as we can't reproduce it and it's been over a month with no response from the original reporter. If we've got a way to reproduce this, we're more than happy to re-open the ticket and address it. Just let us know.


activate gpt-4

My api key gives me access to model gpt-4 and un-commenting  https://github.com/mckaywrigley/chatbot-ui/blob/c40f755cac7663589ae8399f0b1a9e8ab8ca0b0a/types/index.ts#L4 and https://github.com/mckaywrigley/chatbot-ui/blob/c40f755cac7663589ae8399f0b1a9e8ab8ca0b0a/types/index.ts#L10, I could verify that everything works.
Now, I guess you kept it commented in order to avoid being flooded with issues saying that GPT 4 is producing errors from people with no gpt-4 access.
I wrote the following api route that provides a list a supported available models given an api key, but I'm not familiar with next.js and I see issues with spamming openai again and again for just checking the available models. Caching should be used.  Anyway, here's the endpoint code in case part of it can be useful (maybe with getServerSideProps ?)
// api/models.ts
import { OpenAIModel } from '@/types';

export const config = {
  runtime: "edge"
};

type Model = {
  id: string;
};

type ModelsData = {
  data: Model[];
}

const handler = async (req: Request): Promise<Response> => {
  try {
    let key: string | null = null;
    try {
      key = (await req.json())?.key;
    } catch (e) { }

    const res = await fetch("https://api.openai.com/v1/models", {
      headers: {
        Authorization: `Bearer ${key ? key : process.env.OPENAI_API_KEY}`
      },
    });

    if (res.status !== 200) {
      throw new Error(`OpenAI API returned an error ${res.status} : ${await res.text()}`);
    }

    const { data } = await res.json() as ModelsData;
    const availableModelIds = data.map((model: Model) => model.id)
    const supportedModels = availableModelIds.filter(
      x => (Object.values(OpenAIModel) as String[]).includes(x)
    )
    return new Response(
      JSON.stringify(supportedModels),
      {
        status: 200,
        headers: {
          'content-type': 'application/json',
        },
      }
    );
  } catch (error) {
    console.error(error);
    return new Response("Error", { status: 500 });
  }
};

export default handler;

Keeping it "off" by default was mostly to avoid the headache of people getting confused why it wasn't working if they didn't have access yet.
This is a smart way to handle the problem. I'll go ahead and use this to help implement GPT-4 tomorrow.
Thanks for this!

About to add support so closing this. Thanks again for the idea - fully implemented!


Update config

Codecov Report

Merging #95 (f2fffdc) into main (79566fa) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #95   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         1    -1
  Lines           93        29   -64
  Branches         4         4
=========================================
- Hits            93        29   -64

Flag
Coverage Δ

macos-12-clang
100.00% <ø> (ø)

ubuntu-22.04-clang
?

ubuntu-22.04-gcc
?

ubuntu-22.04-gcc-12
100.00% <ø> (?)

windows-2022-cl
?

windows-2022-clang
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lib/math/include/math/math.hpp
100.00% <0.00%> (ø)

test/math/math-test.cpp

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Refactor & Resolve git ref

This will add one sequential request prior to retrieving content (or static content) from raw when the ref is a branch name and not a sha. This request resolves the sha for the branch name, allowing you to circumvent some of the built-in caching in raw, making sure to always retrieve the latest content
Fixes #3
Also fixes refactoring issues: #10 #11

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #59   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         123    134   +11
=====================================
+ Hits          123    134   +11

Impacted Files
Coverage Δ

src/resolve-preferred.js
100% <100%> (ø)

src/fetchers.js
100% <100%> (ø)
:arrow_up:

src/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add frames to evaluate statements

The previous PR and this one seem to have no tests. Is that intended?


Set flag initialized to false in order to work NS>4.1

Currently hook is not working for NS>4.1 because of $usbLiveSyncService.isInitialized is true for all cases

Thanks! Seemed like #54 is an even better fix.


Additional MQTTTransportStage testing

Made tests more granular
Ensured expected failures cause an operation to fail as soon as possible

EDIT: not quite ready yet - discovered missing callback tests

def _on_mqtt_connection_failure(self, cause):

Cause is mandatory here, correct? That makes sense to me - if a connection fails, there should always a reason. But just wanted to double check.

Refers to: azure-iot-device/azure/iot/device/common/pipeline/pipeline_stages_mqtt.py:191 in 7dc749c. [](commit_id = 7dc749c09bc53e00868f2ee797ad155132972858, deletion_comment = False)

def _on_mqtt_connection_failure(self, cause):

yes, mandatory

In reply to: 519205017 [](ancestors = 519205017)

Refers to: azure-iot-device/azure/iot/device/common/pipeline/pipeline_stages_mqtt.py:191 in 7dc749c. [](commit_id = 7dc749c09bc53e00868f2ee797ad155132972858, deletion_comment = False)


53 minor model issues

I have updated missing stuff in issue #53 please review...

Current coverage is 90.63% (diff: 100%)

Merging #86 into master will increase coverage by 1.05%

@@             master        #86   diff @@
==========================================
  Files            20         21     +1
  Lines           355        395    +40
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            318        358    +40
  Misses           37         37
  Partials          0          0

Powered by Codecov. Last update 479473c...e04b015

@ZoltanOnody please review the fixes and I will merge once approved. Thanks.


use bouncycastle instead of rolling your own

First of all, thanks for open sourcing this! This has been a great guide for writing my own Github App in .NET Core.
The CryptoHelper class was pretty opaque to me and I didn't understand what was going on. I did a bit of googling and found a simple Bouncy Castle implementation here: https://gist.github.com/therightstuff/aa65356e95f8d0aae888e9f61aa29414. IMO, it's better to let a well known library handle this type of crypto operation. Some cursory testing shows it should be working A-OK.
Let me know if you have any questions/concerns.

Hi @ridhoq,
Thanks for the PR! I'm travelling at the moment, so I'm unable to really look into it, but I will as soon as I get back home ;)

I actually realized that might be the case after I submitted the PR. I am passing the key exactly as it's generated by Github (still base64 encoded). I believe this is a best practice since the private key itself with the header/footer conforms to a spec of how RSA keys are formatted as described here. That being said, your code works for your usecase!
That being said, this project is a great starting point for someone writing a GH app in .NET Core and could even potentially be factored out as such. If you ever wanted to do that or help future readers of your project, I feel it's better to use a trusted crypto library.

Ah, I found some additional details in my blog post about this...

[...] and manually reformatted the PEM private key to remove the header, footer, and newlines, so that it could easily be stored in the settings as a single line of text.

From what I understand, PemReader expects the key in its original PEM format, with the header and footer. If it was in this format to begin with, there would be no need for Convert.FromBase64String (and UTF8.GetString, which doesn't make sense anyway); the key could be passed directly to the StringReader.
But as I mentioned in the article, the PEM format isn't very convenient, since the settings are entered in the Azure portal, which doesn't support multiline strings...
Maybe a possible compromise would be to add the header and footer if they're missing? This way it would work for both formats.

Right on, it's tricky with Azure Key Vault using the UI - I am using Key Vault as well and I have had to set multiline secrets using the az CLI. However, my usecase is to bootstrap this value as an environment variable and it was much easier to use a .env file with a Base64 encoded string so it would just fit on one line.
I don't think it's a huge problem to have the PEM file Base64 encoded with the header and footer. Supporting both use cases is doable as well. However, if the code is doing manual manipulation on the private key, then it still would require the reader to audit what the code is doing to ensure nothing funky is happening with the key. The intent of this PR was to reassure readers/users that there's no chance of the key being misused by just passing it to an audited third party library. Obviously, this is probably a bit overkill for this app :)
If you decide not to merge this PR with the proposed change, I'll be happy to open a different PR documenting how to bootstrap the private key with the stripped header and footers.

However, if the code is doing manual manipulation on the private key, then it still would require the reader to audit what the code is doing to ensure nothing funky is happening with the key.

I see your concern, but it's a pretty innocent manipulation, and it's easy to see what's going on.

Obviously, this is probably a bit overkill for this app :)

Yes, probably...

If you decide not to merge this PR with the proposed change, I'll be happy to open a different PR documenting how to bootstrap the private key with the stripped header and footers.

That would be perfect, thanks! 👍


Auto Connect BLE feature missing

Auto Connect BLE feature missing

Added in v2.0.4

Is there any method for this. please give me some guide for auto connect.

Added in v2.0.4

Is there any method for this. please give me some guide for auto connect.


NODE-2680: Bump prettier version and modify config to reduce reformatting

I separated the config changes from the formatting changes for easier viewing, I prevented prettier from adding trailing commas. I can't prevent it from adding a space after function and that in turn made some lines that were over 100 characters reflow making the diff a bit larger in a few places. I also enabled importsNotUsedAsValues which revealed only two instances of importing types and I corrected them in, src/bson.ts and src/operations/run_command.ts

holding off on this until the larger refactors land, as there is certain to be many conflicts and this one is automated

I'm with Matt on holding off on this. For the record I'm not a big fan of prettier. I think we should avoid upgrading prettier and conform our eslint config to the abide by the old prettier rules if possible.

I hear you I tried looking into overriding the function() -> function () but there doesn't seem to be a way to disable it, I found https://eslint.org/docs/rules/keyword-spacing this rule but I can't get it to override the prettier rules. Also prettier changed its reflow algo for chained statements:
.a()
.b()
.c()

.a().b().c()
And that's something that's outside of eslint scope using rule controls
but in the end we can't use ts 3.8+ import syntaxes without the prettier bump, its not going to be back ported to less than 2.x


Driver error while running Examples\create-windows-online-cloud-image.ps1

This is my config file:
[DEFAULT]
# The location of the WIM file from the mounted Windows ISO.
wim_file_path=D:\Sources\install.wim
# This is the complete name of the Windows version that will be generated.
# In order to find the possible options, use the Get-WimFileImagesInfo command
# and look for the Name property.
image_name=Windows 10 Home
# The destination of the generated image.
image_path=C:\images\my-windows-image.raw.tgz
# Select between VHD, VHDX, QCOW2, VMDK or RAW formats.
virtual_disk_format=VHDX
# This parameter allows to choose between MAAS, KVM, VMware and Hyper-V specific images.
# For HYPER-V, cloudbase-init will be installed and the generated image should be in vhd or vhdx format.
# For MAAS, in addition to cloudbase-init, the curtin tools are installed
# and the generated image should be in raw.tgz format.
# For KVM, in addition to cloudbase-init, the VirtIO drivers are installed
# and the generated image should be in qcow2 format.
image_type=MAAS
# This parameter can be set to either BIOS or UEFI.
disk_layout=BIOS
# The product key for the selected OS. If the value is default_kms_key and the Windows image is
# ServerStandard or ServerDatacenter (Core), the appropiate KMS key will be used.
product_key=""
# A comma separated array of extra features that will be enabled on the resulting image.
# These features need to be present in the ISO file.
extra_features=""
# A comma separated array of extra capabilities that will be enabled on the resulting image.
# These capabilities need to be present in the ISO file.
extra_capabilities=""
# It will force the image generation when RunSysprep is False or the selected SwitchName
# is not an external one. Use this parameter with caution because it can easily generate
# unstable images.
force=False
# If set to true, MAAS Windows curtin hooks will be copied to the image root directory.
install_maas_hooks=True
# Select between tar, gz, zip formats or any combination between these.
compression_format=""
# If this parameter is set, after the image is generated,
# a password protected zip archive with the image will be created.
# compression_format must contain zip in order for this parameter to be used
zip_password=""
# It will stop the image generation after the updates are installed and cleaned.
gold_image=False
# This is the full path of the already generated golden image.
# It should be a valid VHDX path.
gold_image_path=""
# This is a full path to the VMware-tools.exe version that you want to install.
vmware_tools_path=""
# If set to true, .NET Framework 3.5 will be installed before the windows updates.
# This feature applies only ot Windows server 2012 R2.
install_net_3_5=False
# This is the full path of a folder with custom resources which will be used by
# the custom scripts.
# The resources found at this path will be copied recursively to the image
# UnattendResources\CustomResources folder.
custom_resources_path=""
# This is the full path of the folder which can contain a set of PS scripts,
# that will be copied and executed during the online generation part on the VM.
# The PowerShell scripts, if existent, will be started by Logon.ps1 script,
# at different moments during image generation.
# The purpose of these scripts is to offer to the user a fully
# customizable way of defining additional logic for tweaking the final image.
# The scripts files can have the following names: RunBeforeWindowsUpdates.ps1,
# RunAfterWindowsUpdates.ps1, RunBeforeCloudbaseInitInstall.ps1, RunAfterCloudbaseInitInstall.ps1,
# RunBeforeSysprep.ps1, RunAfterSysprep.ps1.
# The script names contain the information on when the script will be executed.
# One can define only some of the hook scripts and it is not mandatory to define all of them.
# If a script does not exist, it will not be executed.
custom_scripts_path=""
# If set to true the Administrator account will be enabled on the client
# versions of Windows, which have the Administrator account disabled by default
enable_administrator_account=False
# Whether to shrink the image partition and disk after the image generation is complete.
shrink_image_to_minimum_size=True
# If set to true, a custom wallpaper will be set according to the values of configuration options
# wallpaper_path and wallpaper_solid_color
enable_custom_wallpaper=True
# If set, it will replace the Cloudbase Solutions wallpaper to the one specified.
# The wallpaper needs to be a valid .jpg/.jpeg image.
wallpaper_path=""
# If set, it will replace the Cloudbase Solutions wallpaper to a solid color.
# Currently, the only allowed solid color is '0 0 0' (black).
# If both wallpaper_path and wallpaper_solid_color are set,
# the script will throw an error.
wallpaper_solid_color=""
# If set, the animation displayed during the first login on Windows Client versions will be disabled.
disable_first_logon_animation=False
# If set to true and the target image format is QCOW2, the image conversion will
# use qemu-img built-in compression. The compressed qcow2 image will be smaller, but the conversion
# will take longer time.
compress_qcow2=False
# If set to true, during final cleanup, https://github.com/felfert/ntfszapfree will be used to zero unused space.
# This helps qemu-img to minimize image size. In order to benefit from this, an additional invocation
# of qemu-img convert must be performed after the initial run of the image has shutdown.
zero_unused_volume_sectors=False
# A comma separated list of extra packages (referenced by filepath)
# to slipstream into the underlying image.
# This allows additional local packages, like security updates, to be added to the image.
extra_packages=""
# Ignore failures from DISM when installing extra_packages, such as when
# updates are skipped which are not applicable to the image.
extra_packages_ignore_errors=False
# Enables shutdown of the Windows instance from the logon console.
enable_shutdown_without_logon=False
# If set to true, firewall rules will be added to enable ping requests (ipv4 and ipv6).
enable_ping_requests=False
# If set to true, use EUI-64 derived IDs and disable privacy extensions for IPv6.
# If set to false, the IPv6 protocol might not work on OpenStack or CloudStack.
# See https://github.com/cloudbase/windows-openstack-imaging-tools/issues/192
enable_ipv6_eui64=False
# If set to true, it will set the High Performance mode and some power mode
# and registry tweaks to prevent the machine from sleeping / hibernating.
enable_active_mode=False
[vm]
# This will be the Administrator user's, so that AutoLogin can be performed on the instance,
# in order to install the required products,
# updates and perform the generation tasks like sysprep.
administrator_password=Pa$$w0rd
# Used to specify the virtual switch the VM will be using.
# If it is specified but it is not external or if the switch does not exist,
# you will get an error message.
external_switch=external
# The number of CPU cores assigned to the VM used to generate the image.
cpu_count=4
# RAM (in bytes) assigned to the VM used to generate the image.
ram_size=4294967296
# Disk space (in bytes) assigned to the boot disk for the VM used to generate the image.
disk_size=32212254720
# If set to true and the disk layout is UEFI, the secure boot firmware option will be disabled.
disable_secure_boot=False
[drivers]
# The path to the ISO file containing the VirtIO drivers.
virtio_iso_path=C:\images\virtio.iso
# The location where the VirtIO drivers are found.
# For example, the location of a mounted VirtIO ISO. VirtIO versions supported >=0.1.6.x
virtio_base_path=""
# The location where additional drivers that are needed for the image are located.
drivers_path=C:\drivers\
[custom]
# Installs QEMU guest agent services from the Fedora VirtIO website.
# Defaults to 'False' (no installation will be performed).
# If set to 'True', the following MSI installer will be downloaded and installed:
# * for x86: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-<IP_ADDRESS>-3.el7ev/qemu-ga-x86.msi
# * for x64: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-<IP_ADDRESS>-3.el7ev/qemu-ga-x64.msi
# The value can be changed to a custom URL, to allow other QEMU guest agent versions to be installed.
# Note: QEMU guest agent requires VirtIO drivers to be present on the image.
install_qemu_ga=False
# Set a custom timezone for the Windows image.
time_zone=""
# Set custom ntp servers(space separated) for the Windows image
ntp_servers=""
[updates]
# If set to true, the latest updates will be downloaded and installed.
install_updates=True
# If set to true, will run DISM with /resetbase option. This will reduce the size of
# WinSXS folder, but after that Windows updates cannot be uninstalled.
purge_updates=True
# Clean up the updates / components by running a DISM Cleanup-Image command.
# This is useful when updates or capabilities are installed offline.
clean_updates_offline=False
# Clean up the updates / components by running a DISM Cleanup-Image command.
# This is useful when updates or other packages are installed when the instance is running.
clean_updates_online=True
[sysprep]
# Used to clean the OS on the VM, and to prepare it for a first-time use.
run_sysprep=True
# The path to the Unattend XML template file used for sysprep.
unattend_xml_path=UnattendTemplate.xml
# DisableSwap option will disable the swap when the image is generated and will add a setting
# in the Unattend.xml file which will enable swap at boot time during specialize step.
# This is required, as by default, the amount of swap space on Windows machine is directly
# proportional to the RAM size and if the image has in the initial stage low disk space,
# the first boot will fail due to not enough disk space. The swap is set to the default
# automatic setting right after the resize of the partitions is performed by cloudbase-init.
disable_swap=True
# In case the hardware on which the image is generated will also be the hardware on
# which the image will be deployed this can be set to true, otherwise the spawned
# instance is prone to BSOD.
persist_drivers_install=True
[cloudbase_init]
# This is a switch that allows the selection of Cloudbase-Init branches. If set to true, the
# beta branch will be used:
# https://cloudbase.it/downloads/CloudbaseInitSetup_<arch>.msi, where arch can be x86 or x64
# otherwise the stable branch will be used:
# https://cloudbase.it/downloads/CloudbaseInitSetup_Stable_<arch>.msi, where arch can be x86 or x64
beta_release=False
# Serial log port for Cloudbase-Init.
# If set to null, the first serial port (if any) from the generation VM will be used
serial_logging_port=COM1
# If set, the Cloudbase-Init msi at this path will be used.
# The path needs to be a locally accessible file path.
msi_path=""
# If set, the cloudbase-init.conf is replaced with the file at the path.
cloudbase_init_config_path=""
# If set, the cloudbase-init-unattend.conf is replaced with the file at the path.
cloudbase_init_unattended_config_path=""
# If set, the Cloudbase-Init service will be run under Local System account.
# By default, a user named cloudbase-init with admin rights is created and used.
cloudbase_init_use_local_system=False
# If set, the Cloudbase-Init service startup type will be set to delayed-auto
cloudbase_init_delayed_start=False

This is the output in PowerShell:
PS C:\windows-openstack-imaging-tools> .\Examples\create-windows-online-cloud-image.ps1
WARNING: C:\windows-openstack-imaging-tools\Examples\config.ini exists and it will be rewritten.
10/11/2023 10:04:54 - Windows online image generation started.
10/11/2023 10:04:57 - Cloud image generation started.
10/11/2023 10:04:58 - Creating Virtual Disk Image: C:\images\my-windows-image.vhdx...
10/11/2023 10:05:02 - Successfully created disk: C:\images\my-windows-image.vhdx
10/11/2023 10:05:02 - Generating Unattend XML: E:\Unattend.xml...
10/11/2023 10:05:02 - XML was generated.
10/11/2023 10:05:02 - Copying Unattend Resources: Client...
10/11/2023 10:05:02 - Copying: C:\windows-openstack-imaging-tools\UnattendResources to E:\UnattendResources
10/11/2023 10:05:02 - Resources have been copied.
10/11/2023 10:05:02 - Copying Custom Resources...
10/11/2023 10:05:02 - Custom Resources at: E:\UnattendResources.
10/11/2023 10:05:02 - Setting wallpaper...
10/11/2023 10:05:02 - Wallpaper copied to the image.
10/11/2023 10:05:02 - Wallpaper GPO copied to the image.
10/11/2023 10:05:02 - Wallpaper was set.
10/11/2023 10:05:02 - Downloading Cloudbase-Init...
10/11/2023 10:06:03 - Applying Windows image "D:\Sources\install.wim" to "E:\"

Deployment Image Service and Management Tool
Version: 10.0.19041.844

Applying image
[==========================100.0%==========================]
Operation completed successfully.
10/11/2023 10:09:28 - Creating BCDBoot Configuration for Windows 10 Home
10/11/2023 10:09:29 - Resetting BCD boot order
Operation completed successfully.
Operation completed successfully.
Operation completed successfully.
10/11/2023 10:09:29 - BCDBoot configuration has been created.
10/11/2023 10:09:29 - Adding drivers from "C:\drivers\" to image "E:\"

Deployment Image Service and Management Tool
Version: 10.0.19041.844

Image Version: 10.0.19045.2965

Searching for driver packages to install...
Found 95 driver package(s) to install.
Installing 1 of 95 - C:\drivers\audio\KKYCX\RealtekAudio\Win64\HDXACPDELLCSMB.inf: The driver package was installed successfully.
Installing 2 of 95 - C:\drivers\audio\KKYCX\RealtekAudio\Win64\HDXDELLBC2018.inf: The driver package was installed successfully.
(Continuing installation for the remaining driver packages...)
Installing 95 of 95 - C:\drivers\storage\YJWR3\15063\Drivers\Drivers\RAID\iaStorAC.inf: The driver package was installed successfully.
Operation completed successfully.
10/11/2023 10:10:22 - Adding Virtual IO Drivers from ISO: C:\images\virtio.iso...
10/11/2023 10:10:23 - Using the backed-up ISO for safe dismount.
10/11/2023 10:10:26 - Adding drivers from F:
10/11/2023 10:10:26 - Adding Virtual IO Drivers: F:...
10/11/2023 10:10:26 - Getting Virtual IO Drivers: F:...
10/11/2023 10:10:26 - Finished retrieving IO Drivers.
10/11/2023 10:10:26 - Adding drivers from "F:\balloon\w10\AMD64" to image "E:\"
WARNING: Dism failed to add drivers from: F:\balloon\w10\AMD64
WARNING: Dism failed to add drivers from: F:\balloon\w10\AMD64
WARNING: Dism failed to add drivers from: F:\balloon\w10\AMD64
10/11/2023 10:10:42 - Dism failed to add drivers from: F:\balloon\w10\AMD64
Dism failed to add drivers from: F:\balloon\w10\AMD64
In C:\windows-openstack-imaging-tools\WinImageBuilder.psm1: Line 641 Character 13
+             throw "Dism failed to add drivers from: $driversPath"
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Dism failed to ...balloon\w10\AMD64:String) [], RuntimeException
    + FullyQualifiedErrorId : Dism failed to add drivers from: F:\balloon\w10\AMD64

I don't know how to solve that driver problem. I tried creating a raw image for Openstack in several ways and this is the one that led me farther before coming to an error.

Hello @Anacardoide,
There seems to be an issue with the virtio Fedora drivers, can you please share the download link of the said ISO?
Also, Windows ISOs come with different issues, if you also share the ISO full version so that we can reproduce the environment.
Thank you,
Adrian

Judging by my download history, it was from here, the virtio-win-0.1.217.iso one if I'm not mistaken. It's for Windows 10 Home, I'm not sure how to check the full version...
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.217-1/

Hello @Anacardoide,
The ISO full name would be helpfull in this case.
Thanks.