text:
Building with patched tikzjax.js

I am currently trying to build the plugin but whenever I try to display a block of TikZ code, I get an error and the graphic only gets displayed if it has been cached before.
I would like to be able to use a patched tikzjax.js in order to add, replace and remove packages.
The steps I took for building the plugin:

Clone artisticat1/tikzjax and switch to output-single-file branch
Run 'npm install' and 'npm run build'
Clone artisticat1/obsidian-tikzjax
Copy tikzjax.js from artisticat1/tikzjax/dist to the root of artisticat1/obsidian-tikzjax
Run 'npm install' and 'npm run build'
Create new plugin directory in VAULT/.obsidian/plugins and copy main.js, manifest.json and styles.css into that directory

The error and debug messages

Unable to load tex.wasm.gz.  File not available.
TikZJax: Rendering input:
tikz code
TypeError: Cannot read properties of undefined (reading 'slice')
at texify (...:1:6874054)
at ...:1:4701297
at Generator.next ()
at ...:1:4699826
at new Promise ()
at e (...:1:4699571)
at O (...:1:4701251)
at ...:1:4702369
at f (...:1:4699374)
GET app://invalid.site/img-not-found.png net::ERR_FILE_NOT_FOUND

The second error message appears every time an uncached TikZ block tries to render.

I'll look into this when I have time.
Does building the plugin with the pre-built tikzjax.js included in the repo work?

Yes it does and I actually found a fix for it:
In run-tex.js loadDecompress, I had to change Buffer.from(gzippedString, 'base64') to Buffer.from(gzippedString.substring(29), 'base64') to strip the "data:application/gzip;base64," part of gzippedString. Now it builds your fork of tikzjax and obsidian-tikzjax successfully.
However, I have another question: Did you build tex.wasm and core.dump yourself? If so, is there anything special you have to do or keep in mind? If I follow the guide, I get an error when running "npm run initex" or "node initex.js". It fails with "! LaTeX Error: LaTeX requires the e-TeX primitives and additional functionality available in the engines".

In run-tex.js loadDecompress, I had to change Buffer.from(gzippedString, 'base64') to Buffer.from(gzippedString.substring(29), 'base64') to strip the "data:application/gzip;base64," part of gzippedString.

I see! I'll look into including this fix in the repo.

However, I have another question: Did you build tex.wasm and core.dump yourself? If so, is there anything special you have to do or keep in mind? If I follow the guide, I get an error when running "npm run initex" or "node initex.js". It fails with "! LaTeX Error: LaTeX requires the e-TeX primitives and additional functionality available in the engines".

I did build them myself. I never encountered that error, though. I'm not certain what's gone wrong there but I'd try installing the full tex-live package (sudo apt install texlive-full) to ensure that no necessary files are missing.

I did build them myself. I never encountered that error, though. I'm not certain what's gone wrong there but I'd try installing the full tex-live package (sudo apt install texlive-full) to ensure that no necessary files are missing.

I have now set up a VM running Ubuntu 22.04 LTS and I have installed texlive-full along with some other dependencies like libkpathsea-dev and I either get the same error message if I set the variable TEXMFCNF in my shell or I get the error message "I can't read TEX.POOL". Would you mind sharing the operating system and the TeX Live version you were using to generate the core dump?
The funny thing is that I am able to generate a core dump on Raspberry Pi OS... Maybe it only works with an older version of tex?
This method yields a core.dump of size 69M, core.dump.gz of size 4.0M, tex.wasm of size 501K and tex.wasm.gz of size 126K which looks accurate.
The problem with that is that when I build obsidian-tikzjax with that tex.wasm.gz and core.dump.gz and try do draw chemfig molecules in Obsidian, TikZJax is trying to load chemfig.sty, chemfig.tex and simplekv.tex (which are all available in tex_files) but also tikz.tex which is a mistake because it should already be loaded because of the core dump and it is not even available in tex_files. If I include a copy of tikz.tex in tex_files, it complains about even more missing tex files which tikz.tex is most likely trying to load. Using this method, the molecules don't render.
If I use your tex.wasm.gz and core.dump.gz, tikz.tex isn't trying to be loaded. Instead, pgflibraryarrows.meta.code.tex is loaded and the molecules render just fine.
Do you have any idea why this is happening? Did you do anything special with the tex.wasm and core.dump you got from web2js?
If not, would you mind writing a short and concise list of instructions to generate the core dump and what to do with it before building TikZJax with it?

Thank you for the solution involving stripping data:application/gzip;base64,! I've now added this fix to my fork.

Would you mind sharing the operating system and the TeX Live version you were using to generate the core dump?

I generated the core.dump on Ubuntu 20.04.2 LTS, running on WSL. Unfortunately I've since updated my installation and I don't remember what version of TeX Live I was running.
Actually, since updating (to Ubuntu 22.04 LTS), I'm also no longer able to generate the core.dump, failing with the error
**Sorry, I can't find that format; will try PLAIN.
I can't find the PLAIN format file!

when running node initex.js.

Do you have any idea why this is happening? Did you do anything special with the tex.wasm and core.dump you got from web2js? If not, would you mind writing a short and concise list of instructions to generate the core dump and what to do with it before building TikZJax with it?

No idea, sorry! No, I didn't do anything special at all to generate tex.wasm or core.dump, or modify them after generation. I only followed the instructions in the readme, and did a lot of troubleshooting when errors arose.
This included

installing dependencies (libkpathsea-dev),
solving problems with missing files (I had to install the full tex-live package), and
installing different versions of binaryen until the wasm-opt command was able to run successfully.

It sounds like you've already done the first two, and the last wasn't necessary in your case.
Is there a particular reason you want to generate your own tex.wasm and core.dump?

Thank you for the solution involving stripping data:application/gzip;base64,! I've now added this fix to my fork.

No problem, I am glad that I can contribute to this project since I plan on using this plugin a lot in the near future.

installing different versions of binaryen until the wasm-opt command was able to run successfully.

I also had to do that on my Raspberry Pi because of the outdated repositories.

Actually, since updating (to Ubuntu 22.04 LTS), I'm also no longer able to generate the core.dump, failing with the error [...]

I think I had the exact same error message when I first tried it on Arch Linux. I guess there are some issues with the newer software that cause problems with web2js.

Is there a particular reason you want to generate your own tex.wasm and core.dump?

Yes, there is. In fact, I want to fix a known issue (latest version of chemfig not working) by updating tex.wasm and core.dump. I am not entirely sure if this would be a working solution, but I want to try it nonetheless or are the files provided on the repo already up-to-date?
Did you choose the latest working release of chemfig or did you just randomly pick an older version, it happened to work and you settled with it? Also, where did you obtain a copy of the older version?

No problem, I am glad that I can contribute to this project since I plan on using this plugin a lot in the near future.

I see! Looking forward to your contributions.

Yes, there is. In fact, I want to fix a known issue (latest version of chemfig not working) by updating tex.wasm and core.dump. I am not entirely sure if this would be a working solution, but I want to try it nonetheless or are the files provided on the repo already up-to-date?

Oh, I see! Yes, I think updating tex.wasm and core.dump would solve the issue (and probably improve compatibility with other packages too). It's why I updated my installation in the first place. However, as you say, it seems there might be an issue that prevents us from generating the core.dump on newer software.

Did you choose the latest working release of chemfig or did you just randomly pick an older version, it happened to work and you settled with it? Also, where did you obtain a copy of the older version?

I chose the latest working version of chemfig. It's the last version that doesn't require the \expanded primitive according to CTAN.
I discovered that somebody uploaded an archive of TeX Live releases here: https://github.com/jfine2358/temp-texlive-texmf-dist-tex, and I found the older version of chemfig there.

I made some progress on rebuilding core.dump.  Whether or not the node initex.js script succeeds or fails seems to depend very much on which packages you have installed.  It will fail if there are not enough packages, but it will also fail if there are too many.  (I don't quite understand how web2js works, but this makes me think it is pulling in all available packages, which causes some problems.  So we need to be careful not to install any of the "broken" packages.)
Working Dockerfile
The following Dockerfile works, in the sense that a tex.wasm and core.dump file are successfully created as part of the build process in the /code/web2js folder.  I have not yet tested these files with tizkjax -- that will be the next step.  I imagine using texlive instead of texlive-full omits some important packages that I will need to manually add back in in order for tikzjax to work.
FROM ubuntu:20.04

RUN apt update

RUN apt-get update && \
	apt-get install -yq tzdata && \
	ln -fs /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
	dpkg-reconfigure -f noninteractive tzdata

RUN apt install -y make build-essential curl openssh-client git
RUN apt install -y libkpathsea-dev

#### TEXLIVE ###############################################

RUN apt install -y texlive
RUN apt install -y texlive-latex-extra

#### NODEJS ################################################

# needed for installing nvm (see https://stackoverflow.com/a/57344191/1444650)
SHELL ["/bin/bash", "--login", "-c"]

WORKDIR /code

# https://stackoverflow.com/a/57546198/1444650
#ENV NODE_VERSION=14.17.2
ENV NODE_VERSION=16.16.0
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
ENV NVM_DIR=/root/.nvm
RUN . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION}
RUN . "$NVM_DIR/nvm.sh" && nvm use v${NODE_VERSION}
RUN . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION}
ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN node --version
RUN npm --version

#### WEB2JS ################################################

# clone web2js and switch to ww-modifications branch
RUN git clone https://github.com/drgrice1/web2js.git
WORKDIR /code/web2js
RUN git checkout d78ef1f3ec94520c88049b1de36ecf6be2a65c10

# switch to https:// protocol because github deprecated git://
# https://github.com/npm/cli/issues/4896#issuecomment-1128472004
RUN npm install --save https://github.com/kisonecat/node-kpathsea.git
RUN npm install --save-dev wasm-opt

# generate tex.wasm and core.dump files
RUN npm install --loglevel verbose
RUN npm run build
RUN npm run generate-wasm
RUN ./node_modules/wasm-opt/bin/wasm-opt --asyncify --pass-arg=asyncify-ignore-indirect --pass-arg=asyncify-imports@library.reset -O4 out.wasm -o tex.wasm
RUN node initex.js

# copy tex.wasm and core.dump files for use by tikzjax
RUN gzip tex.wasm core.dump
WORKDIR /code
#RUN ls
#RUN cp web2js/tex.wasm.gz tikzjax/tex.wasm.gz
#RUN cp web2js/core.dump.gz tikzjax/core.dump.gz

#### TIKZJAX ###############################################

#WORKDIR /code/tikzjax

Details of Debugging
I was lucky enough to have a pre-existing install of texlive on my machine for which I could successfully compile web2js and produce the core.dump, but I don't at all remember how I installed texlive so my goal was to write a reproducible Dockerfile.
As far as I can tell, the versions are the same both locally and in the container:
# local
$ tex --version
TeX 3.14159265 (TeX Live 2019/Debian)
kpathsea version 6.3.1
Copyright 2019 D.E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.

# docker container
$ tex --version
TeX 3.14159265 (TeX Live 2019/Debian)
kpathsea version 6.3.1
Copyright 2019 D.E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.

Initially, the Dockerfile used apt install texlive-full, but I noticed that the Docker container had quite a lot more packages than my local machine:
(local, building core.dump succeeds) installed tex packages
$ apt list --installed | grep tex
317:fonts-texgyre/focal,focal,now 20180621-3 all [installed,automatic]
388:gedit-plugin-synctex/focal,now 3.36.2-1 amd64 [installed,automatic]
397:gettext-base/focal,now 0.19.8.1-10build1 amd64 [installed,automatic]
398:gettext/focal,now 0.19.8.1-10build1 amd64 [installed,automatic]
875:libdjvulibre-text/focal-updates,focal-updates,focal-security,focal-security,now 3.5.27.1-14ubuntu0.1 all [installed,automatic]
942:libexttextcat-2.0-0/focal,now 3.4.5-1 amd64 [installed,automatic]
943:libexttextcat-data/focal,focal,now 3.4.5-1 all [installed,automatic]
1254:liblocale-gettext-perl/focal,now 1.07-4 amd64 [installed,automatic]
1356:libmono-system-data-datasetextensions4.0-cil/stable-focal,vs-focal,now 6.12.0.182-0xamarin1+ubuntu2004b1 all [installed,automatic]
1395:libmono-system-reflection-context4.0-cil/stable-focal,vs-focal,now 6.12.0.182-0xamarin1+ubuntu2004b1 all [installed,automatic]
1635:libptexenc1/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
1810:libsynctex2/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
1828:libtexlua53/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
1829:libtexluajit2/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
1830:libtext-charwidth-perl/focal,now 0.04-10 amd64 [installed,automatic]
1831:libtext-iconv-perl/focal,now 1.7-7 amd64 [installed,automatic]
1832:libtext-wrapi18n-perl/focal,focal,now 0.06-9 all [installed,automatic]
2258:plymouth-theme-ubuntu-text/focal-updates,now 0.9.4git20200323-0ubuntu6.2 amd64 [installed,automatic]
2270:preview-latex-style/focal,focal,now 11.91-2ubuntu2 all [installed,automatic]
2505:tex-common/focal,focal,now 6.13 all [installed,automatic]
2506:tex-gyre/focal,focal,now 20180621-3 all [installed,automatic]
2507:texlive-base/focal,focal,now 2019.20200218-1 all [installed]
2508:texlive-binaries/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
2509:texlive-extra-utils/focal,focal,now 2019.202000218-1 all [installed]
2510:texlive-fonts-extra-links/focal,focal,now 2019.202000218-1 all [installed,automatic]
2511:texlive-fonts-extra/focal,focal,now 2019.202000218-1 all [installed]
2512:texlive-fonts-recommended/focal,focal,now 2019.20200218-1 all [installed]
2513:texlive-lang-greek/focal,focal,now 2019.20200218-1 all [installed,automatic]
2514:texlive-latex-base/focal,focal,now 2019.20200218-1 all [installed,automatic]
2515:texlive-latex-extra/focal,focal,now 2019.202000218-1 all [installed]
2516:texlive-latex-recommended/focal,focal,now 2019.20200218-1 all [installed,automatic]
2517:texlive-pictures/focal,focal,now 2019.20200218-1 all [installed,automatic]
2518:texlive-plain-generic/focal,focal,now 2019.202000218-1 all [installed,automatic]
2519:texlive-science/focal,focal,now 2019.202000218-1 all [installed]
2520:texlive/focal,focal,now 2019.20200218-1 all [installed]

(docker, building core.dump fails) installed tex packages
$ apt list --installed | grep tex
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
chktex/focal,now 1.7.6-3 amd64 [installed,automatic]
context-modules/focal,now 20190710-1 all [installed,automatic]
context/focal,now 2019.03.21.20190425-2 all [installed,automatic]
fonts-texgyre/focal,now 20180621-3 all [installed,automatic]
latex-cjk-all/focal,now 4.8.4+git20170127-2 all [installed,automatic]
latex-cjk-chinese-arphic-bkai00mp/focal,now 1.23 all [installed,automatic]
latex-cjk-chinese-arphic-bsmi00lp/focal,now 1.23 all [installed,automatic]
latex-cjk-chinese-arphic-gbsn00lp/focal,now 1.23 all [installed,automatic]
latex-cjk-chinese-arphic-gkai00mp/focal,now 1.23 all [installed,automatic]
latex-cjk-chinese/focal,now 4.8.4+git20170127-2 amd64 [installed,automatic]
latex-cjk-common/focal,now 4.8.4+git20170127-2 amd64 [installed,automatic]
latex-cjk-japanese-wadalab/focal,now 0.20050817-17 all [installed,automatic]
latex-cjk-japanese/focal,now 4.8.4+git20170127-2 amd64 [installed,automatic]
latex-cjk-korean/focal,now 4.8.4+git20170127-2 all [installed,automatic]
latex-cjk-thai/focal,now 4.8.4+git20170127-2 all [installed,automatic]
latexdiff/focal,now 1.3.0-2 all [installed,automatic]
latexmk/focal,now 1:4.67-0.1 all [installed,automatic]
libdjvulibre-text/focal-updates,focal-security,now 3.5.27.1-14ubuntu0.1 all [installed,automatic]
liblocale-gettext-perl/focal,now 1.07-4 amd64 [installed,automatic]
libptexenc1/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
libsynctex2/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
libtexlua53/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
libtexluajit2/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
libtext-bibtex-perl/focal,now 0.88-3build1 amd64 [installed,automatic]
libtext-csv-perl/focal,now 2.00-1 all [installed,automatic]
libtext-csv-xs-perl/focal,now 1.41-1 amd64 [installed,automatic]
libtext-glob-perl/focal,now 0.10-1 all [installed,automatic]
libtext-iconv-perl/focal,now 1.7-7 amd64 [installed,automatic]
libtext-roman-perl/focal,now 3.5-2 all [installed,automatic]
libtext-unidecode-perl/focal,now 1.30-1 all [installed,automatic]
preview-latex-style/focal,now 11.91-2ubuntu2 all [installed,automatic]
tex-common/focal,now 6.13 all [installed,automatic]
tex-gyre/focal,now 20180621-3 all [installed,automatic]
texinfo/focal,now 6.7.0.dfsg.2-5 amd64 [installed,automatic]
texlive-base/focal,now 2019.20200218-1 all [installed,automatic]
texlive-bibtex-extra/focal,now 2019.202000218-1 all [installed,automatic]
texlive-binaries/focal,now 2019.20190605.51237-3build2 amd64 [installed,automatic]
texlive-extra-utils/focal,now 2019.202000218-1 all [installed,automatic]
texlive-font-utils/focal,now 2019.202000218-1 all [installed,automatic]
texlive-fonts-extra-doc/focal,now 2019.202000218-1 all [installed,automatic]
texlive-fonts-extra-links/focal,now 2019.202000218-1 all [installed,automatic]
texlive-fonts-extra/focal,now 2019.202000218-1 all [installed,automatic]
texlive-fonts-recommended-doc/focal,now 2019.20200218-1 all [installed,automatic]
texlive-fonts-recommended/focal,now 2019.20200218-1 all [installed,automatic]
texlive-formats-extra/focal,now 2019.202000218-1 all [installed,automatic]
texlive-full/focal,now 2019.20200218-1 all [installed]
texlive-games/focal,now 2019.202000218-1 all [installed,automatic]
texlive-humanities-doc/focal,now 2019.202000218-1 all [installed,automatic]
texlive-humanities/focal,now 2019.202000218-1 all [installed,automatic]
texlive-lang-arabic/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-chinese/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-cjk/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-cyrillic/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-czechslovak/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-english/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-european/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-french/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-german/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-greek/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-italian/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-japanese/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-korean/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-other/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-polish/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-portuguese/focal,now 2019.20200218-1 all [installed,automatic]
texlive-lang-spanish/focal,now 2019.20200218-1 all [installed,automatic]
texlive-latex-base-doc/focal,now 2019.20200218-1 all [installed,automatic]
texlive-latex-base/focal,now 2019.20200218-1 all [installed,automatic]
texlive-latex-extra-doc/focal,now 2019.202000218-1 all [installed,automatic]
texlive-latex-extra/focal,now 2019.202000218-1 all [installed,automatic]
texlive-latex-recommended-doc/focal,now 2019.20200218-1 all [installed,automatic]
texlive-latex-recommended/focal,now 2019.20200218-1 all [installed,automatic]
texlive-luatex/focal,now 2019.20200218-1 all [installed,automatic]
texlive-metapost-doc/focal,now 2019.20200218-1 all [installed,automatic]
texlive-metapost/focal,now 2019.20200218-1 all [installed,automatic]
texlive-music/focal,now 2019.202000218-1 all [installed,automatic]
texlive-pictures-doc/focal,now 2019.20200218-1 all [installed,automatic]
texlive-pictures/focal,now 2019.20200218-1 all [installed,automatic]
texlive-plain-generic/focal,now 2019.202000218-1 all [installed,automatic]
texlive-pstricks-doc/focal,now 2019.202000218-1 all [installed,automatic]
texlive-pstricks/focal,now 2019.202000218-1 all [installed,automatic]
texlive-publishers-doc/focal,now 2019.202000218-1 all [installed,automatic]
texlive-publishers/focal,now 2019.202000218-1 all [installed,automatic]
texlive-science-doc/focal,now 2019.202000218-1 all [installed,automatic]
texlive-science/focal,now 2019.202000218-1 all [installed,automatic]
texlive-xetex/focal,now 2019.20200218-1 all [installed,automatic]

example of failed core.dump build in docker container
root@071d5d05854a:/code/web2js# node initex.js
This is e-TeX, Version 3.14159265-2.6 (INITEX)
**entering extended mode
(latex.ltx (texsys.cfg)
./texsys.aux found
@currdir set to: ./.
Assuming \openin and \input
have the same search path.
Defining UNIX/DOS style filename parser.
catcodes, registers, parameters,
LaTeX2e <2020-02-02> patch level 2
hacks, control, par, spacing, files, font encodings, lengths,
Local config file fonttext.cfg used
====================================
("fonttext.cfg" ("fonttext.ltx"
=== Don't modify this file, use a .cfg file instead ===
("omlenc.def") ("omsenc.def") ("ot1enc.def") ("t1enc.def") ("ts1enc.def")
("ts1cmr.fd") ("t1cmr.fd") ("ot1cmr.fd") ("ot1cmss.fd") ("ot1cmtt.fd")))
Local config file fontmath.cfg used
====================================
("fontmath.cfg" ("fontmath.ltx"
=== Don't modify this file, use a .cfg file instead ===
("omlcmm.fd") ("omscmsy.fd") ("omxcmex.fd") ("ucmr.fd")))
Local config file preload.cfg used
=====================================
("preload.cfg" ("preload.ltx")) page nos., x-ref, environments, center,
verbatim, math definitions, boxes, title, sectioning, contents, floats,
footnotes, index, bibliography, output,
Local configuration file hyphen.cfg used
("hyphen.cfg" (switch.def) (hyphen.tex) (dumyhyph.tex) (zerohyph.tex)
(loadhyph-is.tex EC Icelandic hyphenation patterns (conv-utf8-ec.tex)
(hyph-is.tex)) (loadhyph-kn.tex
No Kannada hyphenation patterns - only for Unicode engines) (loadhyph-lt.tex
L7X Lithuanian hyphenation patterns (conv-utf8-l7x.tex) (hyph-lt.tex))
(loadhyph-eu.tex EC Basque hyphenation patterns (conv-utf8-ec.tex) (hyph-eu.tex
)) (loadhyph-cu.tex
No Church Slavonic hyphenation patterns - only for Unicode engines)
(loadhyph-nl.tex EC Dutch hyphenation patterns (conv-utf8-ec.tex) (hyph-nl.tex)
) (loadhyph-gu.tex No Gujarati hyphenation patterns - only for Unicode engines)
(loadhyph-ru.tex T2A Russian hyphenation patterns (ruhyphen.tex (catkoi.tex)
(koi2t2a.tex) (ruhyphal.tex) (cyryoal.tex) (hypht2.tex))) (loadhyph-cop.tex
Coptic hyphenation patterns (copthyph.tex)) (loadhyph-hr.tex
EC Croatian hyphenation patterns (conv-utf8-ec.tex) (hyph-hr.tex))
(loadhyph-sl.tex EC Slovenian hyphenation patterns (conv-utf8-ec.tex)
(hyph-sl.tex)) (zerohyph.tex) (loadhyph-da.tex EC Danish hyphenation patterns
(conv-utf8-ec.tex) (hyph-da.tex)) (loadhyph-sr-cyrl.tex
T2A Serbian hyphenation patterns in Cyrillic script (conv-utf8-t2a.tex)
(hyph-sh-cyrl.tex)) (loadhyph-mr.tex
No Marathi hyphenation patterns - only for Unicode engines)
(loadhyph-el-monoton.tex
Hyphenation patterns for uni-accent (monotonic) Modern Greek (grmhyph5.tex
Hyphenation patterns for uni-accent (monotonic) Modern Greek)) (loadhyph-ro.tex
EC Romanian hyphenation patterns (conv-utf8-ec.tex) (hyph-ro.tex))
(loadhyph-bn.tex No Bengali hyphenation patterns - only for Unicode engines)
(loadhyph-sk.tex EC Slovak hyphenation patterns (conv-utf8-ec.tex) (hyph-sk.tex
)) (dehyphn-x-2019-04-04.tex dehyph-exptl: using an 8-bit TeX engine.
(dehyphn-x-2019-04-04.pat
German Hyphenation Patterns (Reformed Orthography, 2006) dehyphn-x' 2019-04-04  (WL))) (loadhyph-be.tex T2A Belarusian hyphenation patterns (conv-utf8-t2a.tex ) (hyph-be.tex)) (loadhyph-hsb.tex EC Upper Sorbian hyphenation patterns (conv-utf8-ec.tex) (hyph-hsb.tex)) (loadhyph-de-1996.tex EC German hyphenation patterns (reformed orthography) (dehyphn.tex New German Hyphenation Patterns dehyphn' Rev.31 <2001-05-07> (WaS)))
(loadhyph-pi.tex No Pali hyphenation patterns - only for Unicode engines)
(loadhyph-cy.tex EC Welsh hyphenation patterns (conv-utf8-ec.tex) (hyph-cy.tex)
) (loadhyph-id.tex ASCII Indonesian hyphenation patterns (hyph-id.tex))
(loadhyph-tk.tex EC Turkmen hyphenation patterns (conv-utf8-ec.tex)
(hyph-tk.tex)) (loadhyph-pa.tex
No Panjabi hyphenation patterns - only for Unicode engines) (loadhyph-tr.tex
EC Turkish hyphenation patterns (conv-utf8-ec.tex) (hyph-tr.tex))
(loadhyph-ka.tex T8M Georgian hyphenation patterns (conv-utf8-t8m.tex)
(hyph-ka.tex)) (loadhyph-cs.tex EC Czech hyphenation patterns (conv-utf8-ec.tex
) (hyph-cs.tex)) (loadhyph-mn-cyrl-x-lmc.tex
LMC Mongolian hyphenation patterns (conv-utf8-lmc.tex) (hyph-mn-cyrl-x-lmc.tex)
) (loadhyph-gl.tex EC Galician hyphenation patterns (conv-utf8-ec.tex)
(hyph-gl.tex)) (loadhyph-ml.tex
No Malayalam hyphenation patterns - only for Unicode engines)
(loadhyph-en-gb.tex ASCII Hyphenation patterns for British English
(hyph-en-gb.tex)) (loadhyph-fi.tex EC Finnish hyphenation patterns
(conv-utf8-ec.tex) (hyph-fi.tex)) (loadhyph-et.tex
EC Estonian hyphenation patterns (conv-utf8-ec.tex) (hyph-et.tex))
(dehypht-x-2019-04-04.tex dehyph-exptl: using an 8-bit TeX engine.
(dehypht-x-2019-04-04.pat
German Hyphenation Patterns (Traditional Orthography) dehypht-x' 2019-04-04 (W L))) (loadhyph-sv.tex EC Swedish hyphenation patterns (conv-utf8-ec.tex) (hyph-sv.tex)) (loadhyph-la.tex EC Latin hyphenation patterns (conv-utf8-ec.tex ) (hyph-la.tex)) (loadhyph-hy.tex No Armenian hyphenation patterns - only for Unicode engines) (loadhyph-nb.tex EC Norwegian Bokmal hyphenation patterns (conv-utf8-ec.tex) (hyph-nb.tex (hyph-no.tex))) (ibyhyph.tex Greek hyphenation patterns for Ibycus encoding, v3.0) (loadhyph-pt.tex EC Portuguese hyphenation patterns (conv-utf8-ec.tex) (hyph-pt.tex)) (loadhyph-el-polyton.tex Hyphenation patterns for multi-accent (polytonic) Modern Greek (grphyph5.tex Hyphenation patterns for multi-accent (polytonic) Modern Greek)) (loadhyph-or.tex No Oriya hyphenation patterns - only for Unicode engines) (loadhyph-th.tex LTH Thai hyphenation patterns (conv-utf8-lth.tex) (hyph-th.tex )) (loadhyph-as.tex No Assamese hyphenation patterns - only for Unicode engines) (loadhyph-fur.tex EC Friulan hyphenation patterns (conv-utf8-ec.tex) (hyph-fur.tex)) (loadhyph-kmr.tex EC Kurmanji hyphenation patterns (conv-utf8-ec.tex) (hyph-kmr.tex)) (zerohyph.tex) (loadhyph-hi.tex No Hindi hyphenation patterns - only for Unicode engines) (loadhyph-fr.tex EC French hyphenation patterns (conv-utf8-ec.tex) (hyph-fr.tex)) (loadhyph-zh-latn-pinyin.tex EC Pinyin Hyphenation Patterns (with tone markers) 2018-11-25 (WL) (hyph-zh-latn-pinyin.ec.tex)) (loadhyph-ga.tex EC Irish hyphenation patterns (conv-utf8-ec.tex) (hyph-ga.tex)) (loadhyph-grc.tex Hyphenation patterns for Ancient Greek (grahyph5.tex Hyphenation patterns for Ancient Greek)) (loadhyph-af.tex EC Afrikaans hyphenation patterns (conv-utf8-ec.tex) (hyph-af.tex)) (loadhyph-eo.tex IL3 Esperanto hyphenation patterns (conv-utf8-il3.tex) (hyph-eo.tex)) (loadhyph-it.tex ASCII Italian hyphenation patterns (hyph-it.tex )) (loadhyph-ia.tex ASCII Hyphenation patterns for Interlingua (hyph-ia.tex)) (loadhyph-oc.tex EC Occitan hyphenation patterns (conv-utf8-ec.tex) (hyph-oc.tex)) (loadhyph-pl.tex QX Polish hyphenation patterns (conv-utf8-qx.tex) (hyph-pl.tex)) (loadhyph-mul-ethi.tex No Pan-Ethiopic hyphenation patterns - only for Unicode engines) (loadhyph-de-1901.tex EC German hyphenation patterns (traditional orthography) (dehypht.tex German Traditional Hyphenation Patterns dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name ghyph31' and ghyphen'.))) (loadhyph-es.tex
EC Spanish hyphenation patterns (conv-utf8-ec.tex) (hyph-es.tex))
(loadhyph-rm.tex ASCII Romansh hyphenation patterns (hyph-rm.tex))
(loadhyph-hu.tex EC Hungarian hyphenation patterns (conv-utf8-ec.tex)
(hyph-hu.tex)) (loadhyph-te.tex
No Telugu hyphenation patterns - only for Unicode engines)
(loadhyph-la-x-liturgic.tex EC Liturgical Latin hyphenation patterns
(hyph-la-x-liturgic.ec.tex)) (loadhyph-mn-cyrl.tex
T2A (New) Mongolian hyphenation patterns (conv-utf8-t2a.tex) (hyph-mn-cyrl.tex)
) (loadhyph-ca.tex EC Catalan hyphenation patterns (conv-utf8-ec.tex)
(hyph-ca.tex)) (loadhyph-sa.tex
No Sanskrit hyphenation patterns - only for Unicode engines) (loadhyph-lv.tex
L7X Latvian hyphenation patterns (conv-utf8-l7x.tex) (hyph-lv.tex))
(loadhyph-la-x-classic.tex ASCII Classical Latin hyphenation patterns
(hyph-la-x-classic.tex)) (loadhyph-de-ch-1901.tex
EC Swiss-German hyphenation patterns (traditional orthography)
(conv-utf8-ec.tex) (hyph-de-ch-1901.tex
Swiss-German Hyphenation Patterns (Traditional Orthography) `dehyphts-x' 2019-0
4-04 (WL))) (loadhyph-bg.tex T2A Bulgarian hyphenation patterns
(conv-utf8-t2a.tex) (hyph-bg.tex
Bulgarian hyphenation patterns (options: --safe-morphology --standalone-tex, ve
rsion 21 October 2017))) (loadhyph-ta.tex
No Tamil hyphenation patterns - only for Unicode engines) (loadhyph-uk.tex
T2A Ukrainian hyphenation patterns (ukrhyph.tex
Ukrainian hyphenation patterns in t2a encoding (catlcy.tex) (lcy2t2a.tex)
(ukrhypmp.tex) (hypht2.tex))) (loadhyph-pms.tex
ASCII Piedmontese hyphenation patterns (hyph-pms.tex)) (loadhyph-en-us.tex
ASCII Hyphenation patterns for American English (hyph-en-us.tex))
(loadhyph-sr-latn.tex EC Serbian hyphenation patterns in Latin script
(conv-utf8-ec.tex) (hyph-sh-latn.tex)) (loadhyph-nn.tex
EC Norwegian Nynorsk hyphenation patterns (conv-utf8-ec.tex) (hyph-nn.tex
(hyph-no.tex
! TeX capacity exceeded, sorry [pattern memory=600000].
l.24681 uma8ge.
This is e-TeX, Version 3.14159265-2.6 (INITEX)
**Sorry, I can't find that format; will try PLAIN.
I can't find the PLAIN format file!

Building core.dump in the docker container usually failed with this error:
! TeX capacity exceeded, sorry [pattern memory=600000].
l.24681 uma8ge.

This is e-TeX, Version 3.14159265-2.6 (INITEX)
**Sorry, I can't find that format; will try PLAIN.
I can't find the PLAIN format file!

I looked into ways to increase the memory limit, but I couldn't find anything.  There's tex.ch in the web2js repo with some parameters like trie_size, but from what I can tell that's an output file not an input file.
So, I tried manually apt removeing and apt autoremoveing packages from the docker container until it matched my local machine.  At one point, I received this error:
This is e-TeX, Version 3.14159265-2.6 (INITEX)
**entering extended mode
LaTeX2e <2020-02-02> patch level 2

! LaTeX Error: File `standalone.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name: ! Undefined control sequence.
\filename@simple ... \edef \filename@base
                                          {#1}\else \filename@dots {#...
<*> ...ntclass[margin=0pt]{standalone}\def
                                          \pgfsysdriver{pgfsys-ximera...
? ! Undefined control sequence.
\filename@simple ... \edef \filename@base
                                          {#1}\else \filename@dots {#...
<*> ...ntclass[margin=0pt]{standalone}\def
                                          \pgfsysdriver{pgfsys-ximera...
?

Googling told me that standalone.cls comes from texlive-latex-extra, so I apt installed it.  Finally, I was successful producing core.dump in the docker container:
successful core.dump from docker

root@26e218c65c1d:/code/web2js# node initex.js
This is e-TeX, Version 3.14159265-2.6 (INITEX)
**entering extended mode
(latex.ltx (texsys.cfg)
./texsys.aux found
@currdir set to: ./.
Assuming \openin and \input
have the same search path.
Defining UNIX/DOS style filename parser.
catcodes, registers, parameters,
LaTeX2e <2020-02-02> patch level 2
hacks, control, par, spacing, files, font encodings, lengths,
Local config file fonttext.cfg used
====================================
("fonttext.cfg" ("fonttext.ltx"
=== Don't modify this file, use a .cfg file instead ===
("omlenc.def") ("omsenc.def") ("ot1enc.def") ("t1enc.def") ("ts1enc.def")
("ts1cmr.fd") ("t1cmr.fd") ("ot1cmr.fd") ("ot1cmss.fd") ("ot1cmtt.fd")))
Local config file fontmath.cfg used
====================================
("fontmath.cfg" ("fontmath.ltx"
=== Don't modify this file, use a .cfg file instead ===
("omlcmm.fd") ("omscmsy.fd") ("omxcmex.fd") ("ucmr.fd")))
Local config file preload.cfg used
=====================================
("preload.cfg" ("preload.ltx")) page nos., x-ref, environments, center,
verbatim, math definitions, boxes, title, sectioning, contents, floats,
footnotes, index, bibliography, output,
Local configuration file hyphen.cfg used
("hyphen.cfg" (switch.def) (hyphen.tex) (dumyhyph.tex) (zerohyph.tex))
("utf8.def" (utf8-2018.def ("omsenc.dfu") ("ot1enc.dfu") ("t1enc.dfu")
("ts1enc.dfu"))) ("ltexpl.ltx" Skipping expl3-dependent extensions)
)
Beginning to dump on file latex.fmt
(preloaded format=latex 2023.4.21)
6485 strings of total length 79730
62819 memory locations dumped; current usage is 148&62444
5287 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/10=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
3633 words of font info for 14 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6081 has 183 ops out of 10000
2 for language 1
181 for language 0
No pages of output.
Transcript written on latex.log.
This is e-TeX, Version 3.14159265-2.6 (INITEX)
**entering extended mode
LaTeX2e <2020-02-02> patch level 2
("standalone.cls"
Document Class: standalone 2018/03/26 v1.3a Class to compile TeX sub-files stan
dalone
("shellesc.sty"
Package shellesc Warning: Shell escape disabled on input line 73.
) ("ifluatex.sty" ("iftex.sty")) ("xkeyval.sty" (xkeyval.tex (xkvutils.tex
(keyval.tex)))) ("standalone.cfg") ("article.cls"
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
("size10.clo")))
*("xcolor.sty" ("color.cfg") ("dvips.def") ("svgnam.def"))
*("tikz.sty" ("pgf.sty" ("pgfrcs.sty" (pgfutil-common.tex
(pgfutil-common-lists.tex)) (pgfutil-latex.def ("everyshi.sty"))
("pgfrcs.code.tex" (pgf.revision.tex))) ("pgfcore.sty" ("graphicx.sty"
("graphics.sty" ("trig.sty") ("graphics.cfg"))) ("pgfsys.sty"
("pgfsys.code.tex" (pgfkeys.code.tex (pgfkeysfiltered.code.tex)) (pgf.cfg)
(pgfsys-ximera.def (pgfsys-common-svg.def))) ("pgfsyssoftpath.code.tex")
("pgfsysprotocol.code.tex")) ("pgfcore.code.tex" (pgfmath.code.tex
(pgfmathcalc.code.tex (pgfmathutil.code.tex) (pgfmathparser.code.tex)
(pgfmathfunctions.code.tex (pgfmathfunctions.basic.code.tex)
(pgfmathfunctions.trigonometric.code.tex) (pgfmathfunctions.random.code.tex)
(pgfmathfunctions.comparison.code.tex) (pgfmathfunctions.base.code.tex)
(pgfmathfunctions.round.code.tex) (pgfmathfunctions.misc.code.tex)
(pgfmathfunctions.integerarithmetics.code.tex))) (pgfmathfloat.code.tex))
(pgfint.code.tex) (pgfcorepoints.code.tex) (pgfcorepathconstruct.code.tex)
(pgfcorepathusage.code.tex) (pgfcorescopes.code.tex)
(pgfcoregraphicstate.code.tex) (pgfcoretransformations.code.tex)
(pgfcorequick.code.tex) (pgfcoreobjects.code.tex)
(pgfcorepathprocessing.code.tex) (pgfcorearrows.code.tex)
(pgfcoreshade.code.tex) (pgfcoreimage.code.tex (pgfcoreexternal.code.tex))
(pgfcorelayers.code.tex) (pgfcoretransparency.code.tex)
(pgfcorepatterns.code.tex) (pgfcorerdf.code.tex))) (pgfmoduleshapes.code.tex)
(pgfmoduleplot.code.tex) ("pgfcomp-version-0-65.sty")
("pgfcomp-version-1-18.sty")) ("pgffor.sty" ("pgfkeys.sty" ("pgfkeys.code.tex")
) ("pgfmath.sty" ("pgfmath.code.tex")) ("pgffor.code.tex" (pgfmath.code.tex)))
("tikz.code.tex" (pgflibraryplothandlers.code.tex) (pgfmodulematrix.code.tex)
(tikzlibrarytopaths.code.tex)))
(Please type a command or say `\end')
*

Afterwards, I made a few guesses as to what to include in the Dockerfile.

That's really helpful knowledge @benrbray, thanks! It will definitely be useful for me.

In terms of updating packages, does the script have to be rebundled anytime a package updates and that needs to be added?

In terms of updating packages, does the script have to be rebundled anytime a package updates and that needs to be added?

As the plugin data is pulled from a LaTeX installation when running the build script, I believe that’s necessary. At least unless another mechanism is implemented, maybe to also allow people to add packages themselves more easily.


text:
fix: Update the performance sign condition in auction result screen

This PR resolves []
Description

This PR updates the condition to show which sign (- OR +) for the performance in the auction result screen
Screenshot

-
iOS
Android

Before

After

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Update sign condition for the performance in the auction result screen - mrsltun

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

But it's not the sign that's wrong, it's the colour, isn't it?

@admbtlr Apparently the sign was being checked against the realized price instead of the performance, when I checked the exact auction result, the sign was - but the colour was red

source: gharchive/pull-request

authors: MrSltun admbtlr

repo: artsy/eigen

license: MIT

license_type: permissive

license_source: github-api


text:
refactor: images to webp + danger rule

This PR resolves []
Description

converts images to webp
uncomments webp danger rule

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

images to webp - gkartalis

Need help with something? Have a look at our docs, or get in touch with us.

closing due to opening this


text:
Upgrade to latest reaction 0.18.18

This includes UI fixes for the new onboarding flow.

merging this as it's pretty safe.

repo: artsy/force


text:
GRO-465: Empty WorksByArtistYouFollow Rail in Curatorial Rails when following no artists

This is to add in a zero state for the curatorial rails.
Current Behavior:

New Behavior:

Mobile View of New Behavior:

@damassi  I updated the unit tests to account for Zero State. But I honestly do not see the worth in creating a zero state component for these (as they contain only 5 lines of code), other than to cut down on a light duplication. But I am leaning towards duplication as opposed to a component bloat.
If we were adding in complex logic or designs I might feel differently 🤷♀

But I do not see the worth in creating a zero state component for these

See comment here.

authors: The-Beez-Kneez damassi


text:
@kanaabe margin below images instead of below caption

fixes https://github.com/artsy/force/issues/799
now all images will have the same space below them that previously was only given to images with a caption

😻  thank you @1aurabrown!


text:
QA on article-related events

Following up on https://github.com/artsy/force-private/issues/5375.
cc: @kanaabe @owendodd @anipetrov

Article share [related article] doesn't fire from related articles (under "What to read next").

Additional notes for superarticles:

Article impression [table of contents] doesn't fire for either top or bottom TOC.

also TODO: Follow button image set

@joelauerbach - I set up impressions for the related box, but didn't include the URL's because there are 10 and it is a very long list -- let me know if this seems practical or you'd like to get the slugs.

@kanaabe - looks like the follow button clicks are already being tracked. Tried to add impressions as well, but the current setup is dependent on scrolling (not possible inside an imageset). Do you think click-tracking is sufficient for this case?

@eessex Thanks! I think we'd like to at least get the Positron IDs of the related articles, if possible.

source: gharchive/issue

authors: eessex joelauerbach kanaabe

repo: artsy/microgravity

license: mit

license_source: bigquery


text:
Build is broken on master

After the recent merges the build is broken on master (on AppVeyor) with the following error:
> Task :detekt-api:detekt FAILED
[--input, C:\projects\detekt\detekt-api\src\main\kotlin, --filters, .*/resources/.*,.*/build/.*, --config, C:\projects\detekt\detekt-cli\src\main\resources\default-detekt-config.yml,C:\projects\detekt\reports\failfast.yml, --baseline, C:\projects\detekt\reports\baseline.xml, --report, xml:C:\projects\detekt\detekt-api\build\reports\detekt\detekt.xml, --report, html:C:\projects\detekt\detekt-api\build\reports\detekt\detekt.html, --debug]
C:\projects\detekt\detekt-cli\build\libs\detekt-cli-1.0.0.RC9.2.jar
C:\projects\detekt\detekt-core\build\libs\detekt-core-1.0.0.RC9.2.jar
C:\projects\detekt\detekt-api\build\libs\detekt-api-1.0.0.RC9.2.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-compiler-embeddable\1.2.71\a79f934bfbc1c7e16638da3474feab351735f1c0\kotlin-compiler-embeddable-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\1.2.71\7512db3b3182753bd2e48ce8d345abbadc40fe6b\kotlin-reflect-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.2.71\d9717625bb3c731561251f8dd2c67a1011d6764c\kotlin-stdlib-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\com.beust\jcommander\1.74\6b4c0f6e034ee6ce26a72e786cffe6a9c78815d1\jcommander-1.74.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.2.71\ba18ca1aa0e40eb6f1865b324af2f4cbb691c1ec\kotlin-stdlib-common-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-script-runtime\1.2.71\d5439926359caa899f41e1915b19d6d23e49750b\kotlin-script-runtime-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.yaml\snakeyaml\1.23\ec62d74fe50689c28c0ff5b35d3aebcaa8b5be68\snakeyaml-1.23.jar
Error: Could not find or load main class io.gitlab.arturbosch.detekt.cli.Main

As you can see from this log the detekt-cli.jar is on the classpath, however the detekt task cannot find or load the main class.

We're not seeing Travis fail because the first thing travis does is run ./gradlew assemble (even though we don't configure it this way) before invoking any of our custom commands. So apparently running an assemble before running any detekt task should fix this (see also #1207), however I feel like this is pointing to some issue in the way the repository is currently setup.

Reproducible locally with:

./gradlew clean
./gradlew detekt

Comparing the above with one of the recently green builds (which did also not assemble detekt-cli before running the detekt task):
> Task :detekt-api:detekt
[--input, C:\projects\detekt\detekt-api\src\main\kotlin, --filters, .*/resources/.*,.*/build/.*, --config, C:\projects\detekt\detekt-cli\src\main\resources\default-detekt-config.yml,C:\projects\detekt\reports\failfast.yml, --baseline, C:\projects\detekt\reports\baseline.xml, --report, xml:C:\projects\detekt\detekt-api\build\reports\detekt\detekt.xml, --report, html:C:\projects\detekt\detekt-api\build\reports\detekt\detekt.html, --debug]
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\io.gitlab.arturbosch.detekt\detekt-cli\1.0.0.RC9.2\ba89bcd2ac785cc829872bc8ec484680c1f79681\detekt-cli-1.0.0.RC9.2.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\io.gitlab.arturbosch.detekt\detekt-core\1.0.0.RC9.2\1f14367669bc9057f109e6de01686a414650771b\detekt-core-1.0.0.RC9.2.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\io.gitlab.arturbosch.detekt\detekt-rules\1.0.0.RC9.2\758c84a070fd9539f4f3e8f91020ccfa5116afba\detekt-rules-1.0.0.RC9.2.jar
C:\projects\detekt\detekt-api\build\libs\detekt-api-1.0.0.RC9.2.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\com.beust\jcommander\1.72\6375e521c1e11d6563d4f25a07ce124ccf8cd171\jcommander-1.72.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-compiler-embeddable\1.2.71\a79f934bfbc1c7e16638da3474feab351735f1c0\kotlin-compiler-embeddable-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\1.2.71\7512db3b3182753bd2e48ce8d345abbadc40fe6b\kotlin-reflect-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.2.71\d9717625bb3c731561251f8dd2c67a1011d6764c\kotlin-stdlib-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-script-runtime\1.2.71\d5439926359caa899f41e1915b19d6d23e49750b\kotlin-script-runtime-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.yaml\snakeyaml\1.23\ec62d74fe50689c28c0ff5b35d3aebcaa8b5be68\snakeyaml-1.23.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.2.71\ba18ca1aa0e40eb6f1865b324af2f4cbb691c1ec\kotlin-stdlib-common-1.2.71.jar
C:\Users\appveyor\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar

Keeping this open to track the issue described in https://github.com/gradle/gradle/issues/7075

@Mauin Is this still an issue or can this be closed?

This is still an issue until the Gradle issue I linked above is fixed. We worked around this issue in #1207 for now but it would be nice to leave this Issue to track when we can remove the workaround again.

authors: Mauin schalkms

repo: arturbosch/detekt


text:
Deprecate ignoreOverriddenFunction/s in favor of ignoreOverridden

Closes #2096
I'm creating this PR as a Draft to get feedback.
Right now I need to add the deprecated configurations in the default-detekt-config.yml because of ValidatableConfiguration.kt. I would rather prefer to remove the deprecated configurations from the default-detekt-config.yml. This way the new users can't discover it.
On the other hand, I would like to show a warning message to the user to notify him that he must change the configuration. I think that this should be done inside ValidatableConfiguration.kt. But I don't know how.
Any ideas please?

Codecov Report

Merging #2132 into master will decrease coverage by 0.04%.
The diff coverage is 73.33%.

@@             Coverage Diff              @@
##             master    #2132      +/-   ##
============================================
- Coverage      80.5%   80.45%   -0.05%
- Complexity     2017     2019       +2
============================================
  Files           336      336
  Lines          5801     5818      +17
  Branches       1063     1068       +5
============================================
+ Hits           4670     4681      +11
- Misses          564      569       +5
- Partials        567      568       +1

Impacted Files
Coverage Δ
Complexity Δ

...gitlab/arturbosch/detekt/generator/out/Markdown.kt
20.68% <0%> (-0.74%)
4 <0> (ø)

.../io/gitlab/arturbosch/detekt/generator/out/Yaml.kt
58.62% <0%> (-6.77%)
0 <0> (ø)

...rturbosch/detekt/rules/empty/EmptyFunctionBlock.kt
92.3% <100%> (ø)
12 <0> (ø)
:arrow_down:

...h/detekt/rules/naming/MemberNameEqualsClassName.kt
88.46% <100%> (ø)
14 <0> (ø)
:arrow_down:

...enerator/printer/rulesetpage/RuleSetPagePrinter.kt
86.84% <100%> (+1.54%)
17 <0> (+1)
:arrow_up:

...bosch/detekt/generator/collection/Configuration.kt
100% <100%> (ø)
5 <2> (+1)
:arrow_up:

...ekt/generator/printer/rulesetpage/ConfigPrinter.kt
76.74% <100%> (+1.74%)
8 <0> (ø)
:arrow_down:

...sch/detekt/rules/naming/FunctionParameterNaming.kt
88.88% <50%> (ø)
6 <0> (ø)
:arrow_down:

...arturbosch/detekt/generator/collection/KDocTags.kt
77.41% <66.66%> (-3.35%)
0 <0> (ø)

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 d6848af...6bd0981. Read the comment docs.

Cool, looks good to me.
I like the deprecation approach for 1.3. We can remove them in 1.4.
I also like the approach to print deprecation messages in validateConfig:
val DEPRECATED_PROPERTIES = CommaSeparatedPattern(setOf(
    ".*>.*>ignoreOverriddenFunction",
    ".*>.*>ignoreOverriddenFunctions"
).joinToString(",")).mapToRegex()

@Suppress("UNCHECKED_CAST", "ComplexMethod")
fun validateConfig(
    config: Config,
    baseline: Config,
    excludePatterns: Set<Regex> = CommaSeparatedPattern(DEFAULT_PROPERTY_EXCLUDES).mapToRegex()
): List<Notification> {
    ....
    fun testKeys(current: Map<String, Any>, base: Map<String, Any>, parentPath: String?) {
        for (prop in current.keys) {

            val propertyPath = "${if (parentPath == null) "" else "$parentPath>"}$prop"

            if (excludePatterns.any { it.matches(propertyPath) }) {
                continue
            }

            if (DEPRECATED_PROPERTIES.isNotEmpty() && DEPRECATED_PROPERTIES.any { it.matches(propertyPath) }) {
                notifications.add(propertyIsDeprecated(propertyPath))
            }

I did the change, but if I add something to notifications the build run fails. So they are not warnings, they are errors.
Do I add a level to the Notification class?
In the other hand the notification is not really useful:
Property 'empty-blocks>EmptyFunctionBlock>ignoreOverriddenFunctions' is deprecated.
Property 'naming>FunctionParameterNaming>ignoreOverriddenFunctions' is deprecated.
Property 'naming>MemberNameEqualsClassName>ignoreOverriddenFunction' is deprecated.

It say that they're deprecated but the messages don't point out how to fix them.

Ok, I did some little changes to this PR and I added a new property level to the Notification class.

I did the change, but if I add something to notifications the build run fails. So they are not warnings, they are errors.
Do I add a level to the Notification class?
In the other hand the notification is not really useful:
Property 'empty-blocks>EmptyFunctionBlock>ignoreOverriddenFunctions' is deprecated.
Property 'naming>FunctionParameterNaming>ignoreOverriddenFunctions' is deprecated.
Property 'naming>MemberNameEqualsClassName>ignoreOverriddenFunction' is deprecated.

It say that they're deprecated but the messages don't point out how to fix them.

Ah, I totally missed your message. Level sounds good to me. Lets introduce a third level info which is default and used by ModificationNotification and "Successfully generated ${report.name} at $filePath" and "detekt finished in $time ms.". Warning and Error are already perfect +1

Done

authors: BraisGabin arturbosch codecov-io


text:
求助！Xcode10.3 build报错！

求助！Xcode10.3 build报错！插件版本：4.0.3
Undefined symbols for architecture arm64:
  "std::__throw_length_error(char const*)", referenced from:
      std::vector<_baidu_vi::vi_map::CBGLProgram*, std::allocator<_baidu_vi::vi_map::CBGLProgram*> >::reserve(unsigned long) in BaiduMapAPI_Base(BGLProgramCache.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Showing All Messages
:-1: Undefined symbol: std::__throw_length_error(char const*)

缺少libstd的原因。把缺少的build时候加进去就行。

缺少libstd的原因。把缺少的build时候加进去就行。

请问怎么加？遇到了同样的问题

https://github.com/devdawei/libstdc-.git
将此库里的包，拷贝到xcode。如果xcode 最新beta版本，手动拷贝，beta版有个目录是没有的

@slyfalcon
按照上面的方式install.sh脚本执行成功，但是并没有什么用，还是报错，希望能尽快解决！

@azhengyongqin 想问一下你的4.0.3的版本是怎么安装成功的
然后撒宫面的问题解决啦吗？ 我也遇到同样的问题

@azhengyongqin @slyfalcon

遇到了同样的问题 但是不知道如何处理，能否提供一些帮助

@aruis
可以提供一些帮助吗？非常感谢

将缺少的stdlib拷贝到xcode10 对应目录，编译时候添加stdlib
或者你下载老版本 xcode

@azhengyongqin  可以方便指导一下吗？ 我遇到和你相同的问题，但是以上的说明我不是很理解。
wxingheng@outlook.com

@wxingheng 把这仓库 clone 到本地安装，别用在线安装

@wxingheng 把这仓库 clone 到本地安装，别用在线安

嗯嗯
我已经成功安装 4.0.3
现在是在打包阶段遇到了和你截图一样的问题

@wxingheng 把这仓库 clone 到本地安装，别用在线安装

可以加一下你的qq 或者微信吗   非常感谢。可以发我邮箱   wxingheng@outlook.com

@wxingheng 我叫你直接把  这个 github.com/aruis/cordova-plugin-baidumaplocation 仓库clone下载，然后安装 clone在本地的

@wxingheng 我叫你直接把 这个 github.com/aruis/cordova-plugin-baidumaplocation 仓库clone下载，然后安装 clone在本地的

是这样通过本地的方式安装吧？ 安卓一切正常，ios打包遇到上面的问题

@wxingheng
我是这个版本，通过本地安装，然后执行这个仓库 https://github.com/devdawei/libstdc-.git 的脚本就好了， 楼上说的手动拷贝之类的我也不清楚，我不是搞ios的。

@wxingheng
我是这个版本，通过本地安装，然后执行这个仓库 https://github.com/devdawei/libstdc-.git 的脚本就好了， 楼上说的手动拷贝之类的我也不清楚，我不是搞ios的。

好的 谢谢 ，我重新安装 xcode 11.0 试试看，当前我用的是bate版本。

关于这个问题已经修复 感谢伙伴们

Version 11.1 (11A1027) 依旧错误

authors: HZYou azhengyongqin qq690712575 slyfalcon wxingheng

repo: aruis/cordova-plugin-baidumaplocation


text:
adds population sampler

adds population (freq) sampler function for convenience (I use it a lot)

only one comment: could you clarify the hierarchy of frequency fields somewhere? What happens if there are household, person, and leg weights in a population?

authors: Theodore-Chatziioannou fredshone

repo: arup-group/pam


text:
Snapshotting not implemented for submodules

Description of the bug
git move fails when there are submodules involved: either because a commit involves a change to a submodule (changes the commit), or because there are pending changes in a submodule.
For example, a git move when a submodule (git-branchless, this repository) in the repo has new commits:
$ git status
HEAD detached at 316c3a8
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
    modified:   git-branchless (new commits)

no changes added to commit (use "git add" and/or "git commit -a")

$ git move -s 316c3a8 -d b303d04
Attempting rebase in-memory...
[1/1] Committed as: 50873ec modify a again
branchless: processing 1 rewritten commit
branchless: creating working copy snapshot
The application panicked (crashed).
Message:  A fatal error occurred:
   0: Git error GenericError: cannot create blob from '/tmp/git-branchless-test/git-branchless': it is a directory

Location:
   git-branchless-lib/src/git/repo.rs:48

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   0: branchless::git::repo::create_blob_from_path with self=<Git repository at: "/tmp/git-branchless-test/.git/"> path="git-branchless"
      at git-branchless-lib/src/git/repo.rs:840
   1: branchless::git::snapshot::create_commit_for_unstaged_changes with repo=<Git repository at: "/tmp/git-branchless-test/.git/"> head_commit=Some(Commit { inner: Commit { id: 316c3a8f1fcc27b73aa189a519af52fba1c0280c, summary: "modify a again" } }) status_entries=[StatusEntry { index_status: Unmodified, working_copy_status: Modified, working_copy_file_mode: Commit, path: "git-branchless", orig_path: None }]
      at git-branchless-lib/src/git/snapshot.rs:303
   2: branchless::git::snapshot::create with repo=<Git repository at: "/tmp/git-branchless-test/.git/"> index=<Index> head_info=ResolvedReferenceInfo { oid: Some(NonZeroOid(316c3a8f1fcc27b73aa189a519af52fba1c0280c)), reference_name: None } status_entries=[StatusEntry { index_status: Unmodified, working_copy_status: Modified, working_copy_file_mode: Commit, path: "git-branchless", orig_path: None }]
      at git-branchless-lib/src/git/snapshot.rs:105
   3: branchless::core::check_out::check_out_commit with effects=<Output fancy=true> git_run_info=<GitRunInfo path_to_git="git" working_directory="/tmp/git-branchless-test" env=not shown> repo=<Git repository at: "/tmp/git-branchless-test/.git/"> event_log_db=<EventLogDb> event_tx_id=EventTransactionId(17) target=Some("50873ec7957f9b8a0692745f0a0bccb9b6235bd5") options=CheckOutCommitOptions { additional_args: [], render_smartlog: true }
      at git-branchless-lib/src/core/check_out.rs:44
   4: git_branchless::commands::r#move::r#move with effects=<Output fancy=true> git_run_info=<GitRunInfo path_to_git="git" working_directory="/tmp/git-branchless-test" env=not shown> sources=[Revset("316c3a8")] dest=Some(Revset("b303d04")) bases=[] exacts=[] insert=false move_options=MoveOptions { force_rewrite_public_commits: false, force_in_memory: false, force_on_disk: false, detect_duplicate_commits_via_patch_id: true, resolve_merge_conflicts: false, dump_rebase_constraints: false, dump_rebase_plan: false }
      at git-branchless/src/commands/move.rs:59

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Location: git-branchless/src/commands/mod.rs:345

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

The steps to reproduce are simple:

Add a submodule with git submodule add <...>
Commit the submodule
Make a new commit in the submodule
Attempt to do a git move operation (while there are new commits in the submodule)

This also happens if the submodule has "modified content". However, a git move of a commit that changes a submodule appears to be okay (as long as there are no uncommited changes to the submodule)
Expected behavior
I expected the git move to move successfully.
Actual behavior
git-branchless panicked with Git error GenericError: cannot create blob from '/tmp/git-branchless-test/git-branchless': it is a directory
Version of rustc
No response
Automated bug report
Software version
git-branchless 0.4.0 (7be9b87)
Operating system
macOS 12.5.1 (Darwin 21.6.0)
Command-line
git-branchless bug-report

Environment variables
SHELL=/bin/zsh
EDITOR=vim

Git version
> git version
git version 2.30.2

Hooks

Show 6 hooks
Hook post-commit
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-commit "$@"

## END BRANCHLESS CONFIG

Hook post-merge
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-merge "$@"

## END BRANCHLESS CONFIG

Hook post-rewrite
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-rewrite "$@"

## END BRANCHLESS CONFIG

Hook post-checkout
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-checkout "$@"

## END BRANCHLESS CONFIG

Hook pre-auto-gc
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-pre-auto-gc "$@"

## END BRANCHLESS CONFIG

Hook reference-transaction
#!/bin/sh
## START BRANCHLESS CONFIG

# Avoid canceling the reference transaction in the case that `branchless` fails
# for whatever reason.
git branchless hook-reference-transaction "$@" || (
echo 'branchless: Failed to process reference transaction!'
echo 'branchless: Some events (e.g. branch updates) may have been lost.'
echo 'branchless: This is a bug. Please report it.'
)

## END BRANCHLESS CONFIG

Events

Show 5 events
Event ID: 27, transaction ID: 17 (message: move)

RewriteEvent { timestamp: 1661733440.096993, event_tx_id: EventTransactionId(17), old_commit_oid: 316c3a8f1fcc27b73aa189a519af52fba1c0280c, new_commit_oid: 50873ec7957f9b8a0692745f0a0bccb9b6235bd5 }

:
O 07fe2bd 6m xxxxxx x
|\
| o 6fdfd1b 5m xxxxxx x xxxxxxxxxxx
| |
| % 316c3a8 4m (rewritten as 50873ec7) xxxxxx x xxxxx
|
O b303d04 5m (main) xxxxxx x
|
o 50873ec 3m xxxxxx x xxxxx

Event ID: 23, transaction ID: 16 (message: move)

RewriteEvent { timestamp: 1661733411.274986, event_tx_id: EventTransactionId(16), old_commit_oid: 72de2e4b14dd84e7eaf4dc5ad2de90e35551dd14, new_commit_oid: 316c3a8f1fcc27b73aa189a519af52fba1c0280c }
WorkingCopySnapshot { timestamp: 1661733411.307894, event_tx_id: EventTransactionId(16), head_oid: 72de2e4b14dd84e7eaf4dc5ad2de90e35551dd14, commit_oid: NonZeroOid(149510f2a35bf520ca493b634cb332babf31aa51), ref_name: None }
RefUpdateEvent { timestamp: 1661733411.361116, event_tx_id: EventTransactionId(16), ref_name: "HEAD", old_oid: 0000000000000000000000000000000000000000, new_oid: 316c3a8f1fcc27b73aa189a519af52fba1c0280c, message: None }
RefUpdateEvent { timestamp: 1661733411.380807, event_tx_id: EventTransactionId(16), ref_name: "HEAD", old_oid: 72de2e4b14dd84e7eaf4dc5ad2de90e35551dd14, new_oid: 316c3a8f1fcc27b73aa189a519af52fba1c0280c, message: None }

:
O 07fe2bd 6m xxxxxx x
|\
| o 6fdfd1b 5m xxxxxx x xxxxxxxxxxx
| |
| % 316c3a8 4m xxxxxx x xxxxx
|
O b303d04 5m (main) xxxxxx x
|
o 50873ec 3m xxxxxx x xxxxx

Event ID: 19, transaction ID: 15 (message: move)

RewriteEvent { timestamp: 1661733403.043323, event_tx_id: EventTransactionId(15), old_commit_oid: a1665cc6c8a1f82ac0e87a65c3b6ccb662bb1997, new_commit_oid: 72de2e4b14dd84e7eaf4dc5ad2de90e35551dd14 }
WorkingCopySnapshot { timestamp: 1661733403.07351, event_tx_id: EventTransactionId(15), head_oid: a1665cc6c8a1f82ac0e87a65c3b6ccb662bb1997, commit_oid: NonZeroOid(67aed5d96ecc49a762dc475e97d07a83e7247f97), ref_name: None }
RefUpdateEvent { timestamp: 1661733403.125587, event_tx_id: EventTransactionId(15), ref_name: "HEAD", old_oid: 0000000000000000000000000000000000000000, new_oid: 72de2e4b14dd84e7eaf4dc5ad2de90e35551dd14, message: None }
RefUpdateEvent { timestamp: 1661733403.147123, event_tx_id: EventTransactionId(15), ref_name: "HEAD", old_oid: a1665cc6c8a1f82ac0e87a65c3b6ccb662bb1997, new_oid: 72de2e4b14dd84e7eaf4dc5ad2de90e35551dd14, message: None }

:
O 07fe2bd 6m xxxxxx x
|\
| o 6fdfd1b 5m xxxxxx x xxxxxxxxxxx
| |
| % 316c3a8 4m xxxxxx x xxxxx
|
O b303d04 5m (main) xxxxxx x
|
o 50873ec 3m xxxxxx x xxxxx

Event ID: 18, transaction ID: 14 (message: post-commit)

CommitEvent { timestamp: 1661733393.0, event_tx_id: EventTransactionId(14), commit_oid: NonZeroOid(a1665cc6c8a1f82ac0e87a65c3b6ccb662bb1997) }

:
O 07fe2bd 6m xxxxxx x
|\
| o 6fdfd1b 5m xxxxxx x xxxxxxxxxxx
| |
| % 316c3a8 4m xxxxxx x xxxxx
|
O b303d04 5m (main) xxxxxx x
|
o 50873ec 3m xxxxxx x xxxxx

Event ID: 17, transaction ID: 13 (message: reference-transaction)

RefUpdateEvent { timestamp: 1661733393.257336, event_tx_id: EventTransactionId(13), ref_name: "HEAD", old_oid: 6fdfd1bfd9ff51412191afbbd45a8f74fbe83b7c, new_oid: a1665cc6c8a1f82ac0e87a65c3b6ccb662bb1997, message: None }

:
O 07fe2bd 6m xxxxxx x
|\
| o 6fdfd1b 5m xxxxxx x xxxxxxxxxxx
| |
| % 316c3a8 4m xxxxxx x xxxxx
|
O b303d04 5m (main) xxxxxx x
|
o 50873ec 3m xxxxxx x xxxxx

Version of git-branchless
No response
Version of git
No response

Will respond later but in the meantime you can try disabling working copy snapshotting https://github.com/arxanas/git-branchless/wiki/Configuration#branchlessundocreatesnapshots

Ah yep, disabling that seems to fix the issue.

Hi @elipsitz, thanks for reporting. Yep, we definitely don't have submodule support at the moment. That being said, it sounds like there's only one reasonable interpretation of a snapshot of the repository containing submodules, which would contain the changes made inside the submodule.

To clarify why this is happening, git-branchless tries to take a snapshot of the working copy state before carrying out operations which modify the working copy, so that you can undo the operation later if you want. git move might run git checkout if the current commit was moved, which will take a snapshot as part of the operation.

One more thing to note -- it looks like git amend always captures a snapshot, even when that config option is set to false. Consequently, git amend when there are some changes to a submodule panics with a similar backtrace:
The application panicked (crashed).
Message:  A fatal error occurred:
   0: Git error GenericError: cannot create blob from '/tmp/git-branchless-test/git-branchless': it is a directory

Location:
   git-branchless-lib/src/git/repo.rs:48

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   0: branchless::git::repo::create_blob_from_path with self=<Git repository at: "/tmp/git-branchless-test/.git/"> path="git-branchless"
      at git-branchless-lib/src/git/repo.rs:840
   1: branchless::git::snapshot::create_commit_for_unstaged_changes with repo=<Git repository at: "/tmp/git-branchless-test/.git/"> head_commit=Some(Commit { inner: Commit { id: 061098d16d349d93b0241fdf6c2040c79efb003a, summary: "blah" } }) status_entries=[StatusEntry { index_status: Unmodified, working_copy_status: Modified, working_copy_file_mode: Blob, path: "a.txt", orig_path: None }, StatusEntry { index_status: Unmodified, working_copy_status: Modified, working_copy_file_mode: Commit, path: "git-branchless", orig_path: None }]
      at git-branchless-lib/src/git/snapshot.rs:303
   2: branchless::git::snapshot::create with repo=<Git repository at: "/tmp/git-branchless-test/.git/"> index=<Index> head_info=ResolvedReferenceInfo { oid: Some(NonZeroOid(061098d16d349d93b0241fdf6c2040c79efb003a)), reference_name: None } status_entries=[StatusEntry { index_status: Unmodified, working_copy_status: Modified, working_copy_file_mode: Blob, path: "a.txt", orig_path: None }, StatusEntry { index_status: Unmodified, working_copy_status: Modified, working_copy_file_mode: Commit, path: "git-branchless", orig_path: None }]
      at git-branchless-lib/src/git/snapshot.rs:105
   3: git_branchless::commands::amend::amend with effects=<Output fancy=true> git_run_info=<GitRunInfo path_to_git="git" working_directory="/tmp/git-branchless-test" env=not shown> move_options=MoveOptions { force_rewrite_public_commits: false, force_in_memory: false, force_on_disk: false, detect_duplicate_commits_via_patch_id: true, resolve_merge_conflicts: false, dump_rebase_constraints: false, dump_rebase_plan: false }
      at git-branchless/src/commands/amend.rs:26

Ah, I forgot about this. The idea from an implementation perspective is to always capture snapshots to represent the working copy, rather than using some other representation of the working copy (such as the output of git status). Then, we can operate on the working copy the same way as we operate on commits. In particular, we could implement a theoretical git split command in the same way as we implement a theoretical alternative to git add -p.
git amend in particular works by capturing a snapshot and then checking the snapshot for staged changes (so that it knows whether to amend using staged or unstaged changes). In principle, we could also create a git amend -i to select individual changes to use for amending using the same infrastructure as the above.

authors: arxanas elipsitz

repo: arxanas/git-branchless


text:
[Feature] Promo site for custom domain git-quick-stats.sh

Hi @arzzen,
Do you have a rough plan about the site ?
Mostly in terms of :

Design (like any sample/similar site)
Tech stack
Others

IMHO if the tasks are defined in modular level, it would be easier for contributors to work on it.

Hi @ProcrastinatorCp, thanks for your interest.
We need a proper website, with docs, examples, etc.
Design:
Use some opensource one-page theme.
Some examples (element layouts): https://storybook.js.org/, https://hyper.is/  etc.
Tech stack:
Basic static generation (e.g. with Gatsby, Jekyll...) from markdown would probably work just fine.
All work must be pushed to the gh-pages branch or to docs folder, where the current one lives.
Other plans:

create som promo stickers
migrate this repository to github organisation

Promo site was created at https://git-quick-stats.sh/.

authors: ProcrastinatorCp arzzen

repo: arzzen/git-quick-stats


text:
Application Crash While I am running it on Xcode 7

I had verify this code is not running now,
I put Try Catch and I receive this Log,
2016-05-24 16:31:02.710 PdfReportKit[9945:463309] Class : PRKGenerator :::  Method : -[PRKGenerator createPage:] -[__NSCFString replaceOccurrencesOfString:withString:options:range:]: nil argument
The code:
        [wellFormedHeader replaceOccurrencesOfString:[renderedTags objectForKey:@"pageContent"] withString:@"" options:NSLiteralSearch range:NSMakeRange(0, wellFormedHeader.length)];

in PRKGenerator never call datasource methods, and the object renderedTags is always zero key value pair.
Please fix this, or Guide me I will change it and send you updated code here

Hey @faizanrefai,
I am sorry but I don't maintain this library anymore. Please, feel free to fork it and I'll be happy to mention your fork in this repository's README.md if it is actively developed and new features/bug fixes get submitted to it.
Thanks! Closing this for now. 🙇

authors: as-cii faizanrefai

repo: as-cii/PdfReportKit


text:
Use clipboard.js instead?

Maybe we could use https://github.com/zenorocha/clipboard.js/ instead?

Hi @diego-vieira this is a great idea, I created a first version using clipboard.js.
I still need to update the README, cover all of the cases for backward compatibility and make sure we have a decent solution for Safari.
In the meantime, it would be very helpful if you could check it out and let me know if it works for you.
you can see my work here at clipboard-js branch

@asafdav awesome, didn't notice that branch - sorry.
It's working fine for me on Chrome 45.0.2454.101 @ OSX.
Keep it up :)

Hi, nothing to be sorry about, I created it thanks to you :)

;)

Hi @zenorocha, did you try using it ?

Nope, why?

authors: asafdav diego-vieira zenorocha

repo: asafdav/ng-clip


text:
[Search] Search functionality is more sensitive to input than on the Netflix page

Example: When searching with the string "Family" the Netflix website gives us plenty of suggestions ("Family Guy", "Modern Family", etc.) but searching with the same string in the plugin gives us only the results starting with "Family" (f.e. "Family Guy").
It seems that the algorithm mixing up search results & suggestions does swallow some results, as they´re part of the original response or maybe the modified RPC call for fetching search results is borked.

Closed in 0.12.6


text:
[Lists] Enable multiple fanart where available

Kodi seems to have the ability to display more than one fanart per show/movie/episode. At least for some shows & movies, Netflix has more than one "fanart" pic present. So we´d need to enhance the API call & the parser to realise that.

You can only set one fanart for each listitem. What we can do however is using a randomly selected fanart URL retrieved from Netflix each time we're populating a listitem.
I'll look into it.

authors: asciidisco caphm


text:
Adding libraries to FOP

Hi!
I want to add hyphenation pattern for Russian to my project.
So I downloaded fop-hyph.jar from http://offo.sourceforge.net
After that I tried to include it to classpath, but there is no effect.
In file 'asciidoctor-fopub/build/fopub/bin/fopub' classpath variable is overwriting by command:
CLASSPATH=$APP_HOME/lib/fopub-1.0.0-SNAPSHOT.jar:.. (line 63).
After changing it to: CLASSPATH=$CLASSPATH:$APP_HOME/lib/fopub-1.0.0-SNAPSHOT.jar:.. and including fop-hyph.jar into classpath in my makefile hyphenation starts working.
Please, fix it, or give me advise how to solve this issue in shorter way.
Best regards.

I added the library to build.gradle with instructions about how to enable it.
See https://github.com/asciidoctor/asciidoctor-fopub/blob/c49ad01c0169e1b73d4c3d6dfcec6f4f22ba3ad6/build.gradle#L24-L25
We may want to document how to add libraries to FOP, in general, in the README.

authors: Thoragan mojavelinux

repo: asciidoctor/asciidoctor-fopub


text:
When toc::[] is used, the TOC gets a footer

Not sure if this is intentional, but a footer with page numbers is used in the toc when custom placement is used.  I have not tocuhed   start_at key, so I guess it is body.  I would prefer for the page numbering to start after the TOC, even if the pages before can be defined as body.

When the toc is placed manually, it is treated as a normal content page. That's unlikely to change.
We are talking about being able to control the offset of the page numbering within the body in #560. That would allow you to start the page numbering after the toc. (And we might do the same for the running content as well, if it works out).

Maybe, but whenever the TOC start using an extra page, the number has to be updated.  Maybe a better approach would be to handle it the ame way as toc::[], i.e. let you insert the page numbering start in the text somewhere, for instance using pagenumbers::[] or even pagenumbers::[start], pagenumbers::[stop], pagenumbers[start,roman] ...

Here's what I propose. For a book that uses the toc macro, you can disable the running content (header and/or footer) on that page by setting the noheader and/or nofooter option on the toc macro.
[%noheader%nofooter]
toc::[]

This builds on the document-wide noheader and nofooter attributes, but only applies to the toc page.

authors: Hextremist mojavelinux

repo: asciidoctor/asciidoctor-pdf


text:
如何初始化编辑器布局？

确实很强大，但是文档太少了，看来看去都不知道怎么初始化布局，每次刷新页面都得手动重设一边，好烦躁 _(:3J∠)_
现在想达到的效果是默认打开左侧组件栏和默认 Iphone6/7/8 的视图

不支持外部控制，这些是内部状态，如果想深度定制就要 fork 代码改源码啦。

这么硬核的吗？:laughing:
那我还是先研究组件吧

authors: ascoders theprimone

repo: ascoders/gaea-editor


text:
matcher.Any(field string, values []interface{})

As per the title; I need a matcher that will match if the field which is a slice of strings is a superset of the values (a slice of strings).
Example:
type Job struct {
    Args      []string  `storm:"index"
}

var job *Job

job = &Job{Args: []string{"foo", "bar", "baz"})
db.Save(job)

// And later...

var jobs []*Job

db.Select(q.Any("Args", []string{"foo"})).Find(jobs)

I don't see a matcher for this in the docs right now so I assume this doesn't exist right now. Has anyone written a custom matcher like this? I also don't see a way to do this "efficiently" without scanning all records without some kind of indexing on each value of a slice?

https://godoc.org/github.com/asdine/storm/q#Or

I've got just the same question. It is possible to index slices, but how is this index used in later queries?

authors: meehow prologic satta

repo: asdine/storm


text:
NO PROVIDER ABLE TO GET BALANCE

Because the inability of the wallet to subtract from balances it sends, sometimes erroneous transactions are sent out.
Prerequisites
Use ASGARD 1.21.9 and perhaps reproducible on any chain with an EVM.
Expected Behavior
Expected behavior should show correct balance.
Current Behavior
Shows "no provider able to get balance"
Steps to Reproduce

Get some USDC on BSC.
Spend some small amount of it.
Now try to spend the rest.
Now you cannot see your balance no matter how often you restart.
Unable to transfer

Possible Solution
Allow the user to type in what he thinks the balance is, by checking out a block explorer.
Allow user to type in another provider URL for the chain.
Your Environment - Release Version (skip if not using a release version)

ASGARDEX desktop version:  1.21.9

Operating system and version: Linux 5.4.0-182-generic

Your Environment - Development Version (skip if not using a development version)

Node version:

Yarn version:

Branch:

Operating system and version:

thanks for the bug report. we will look into it

does the issue still exist?

For myself on the newest ASGARD downloaded three weeks ago, the Bitcoin
Cash balance reads as zero.  I had to use another wallet to access my
funds.  It would have been a completely different level of bad if it were a
CEx.  Actually, I could say when it was a CEx but the thread here is not
for me to complain about them.  The point here is there is a work around.
On Mon, Sep 2, 2024 at 2:17 AM Thorianite @.***> wrote:

does the issue still exist?
—
Reply to this email directly, view it on GitHub
https://github.com/asgardex/asgardex-desktop/issues/295#issuecomment-2323832870,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUVO5P2KXJHJR2TK5MOEBLZUPYGLAVCNFSM6AAAAABJ4I5IB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTHAZTEOBXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Okay need some more info,
Asg version?
obvious question, does the address hold a balance?
is it ledger or keystore?
We have not seen any issues in testing.

I have tested all sends and once the balance loads, the user's balance is displayed.
There are updated keys for UTXO and EVM so the issue should no longer exist.

The problem no longer is expressed.  Some bugs line up like eclipses and
they are just in software for years but we don't normally see them.
Fortunately this doesn't seem to be a serious one.  I wonder were  you ever
able to reproduce the issue?
El lun., 2 sep. 2024 23:11, Thorianite @.***> escribió:

Okay need some more info,
Asg version?
obvious question, does the address hold a balance?
is it ledger or keystore?
We have not seen any issues in testing.
—
Reply to this email directly, view it on GitHub
https://github.com/asgardex/asgardex-desktop/issues/295#issuecomment-2325474940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUVO5LTWLPX7XTUQ3RBOP3ZUULFHAVCNFSM6AAAAABJ4I5IB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVGQ3TIOJUGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: asgardex/asgardex-desktop


text:
The display for "Ranged Shot" and "Melee" are reversed.

When I'm in melee, it displays "Ranged Shot", and when I'm at ranged, it displays "Melee".

I second this issue - Just downloaded the addon today and it's still backwards.

authors: EdiJay TheEpicFailer

repo: asibilia/range-finder--classic


text:
fix(tar): append slash to top-level directory mtree entries

bsdtar's mtree format has a quirk wherein entries without "/" in their first word are treated as "relative" entries, and "relative" directories will cause tar to "change directory" into the declared directory entry. If such a directory is followed by a "relative" entry, then the file will be created within the directory, instead of at top-level as expected. To mitigate, we append a slash to top-level directory entries.
Fixes #851.

Changes are visible to end-users: no
Test plan
(Please advise on how I should test this change)

Covered by existing test cases
New test cases added
Manual testing; please provide instructions so we can reproduce:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks - you should be able to find somewhere in https://github.com/aspect-build/bazel-lib/blob/main/lib/tests/tar/BUILD.bazel that tickles this case, and assert that the new mtree matches some string

I tried to introduce a test, however the main problem is that any file I create with file_write is created inside lib/tests/tar/, and mtree doesn't hit the bug. That also made me realize that we need to add this logic to mtree_mutate (because of strip_prefix), but that doesn't solve the problem that we can't test mtree_spec by itself. What should I do here?

Could I get another look at this please? :)

Interesting, it seems like the output order of mtree_spec is either random or differs between my machine and the CI. Perhaps I could write a genrule that orders the output of mtree in such a way to trigger the bug.

Sorry for the delay, I was on vacation. I've made the tests run the sort command on the output, which should hopefully make the order consistent between systems now.
@alexeagle Could I get a re-run of the tests please?

Thanks!

authors: CLAassistant alexeagle sin-ack

repo: aspect-build/bazel-lib


text:
Add testonly and data parameters to py_pytest_main rule

Type of change

Bug fix (change which fixes an issue)
New feature or functionality (change which adds functionality)
Style (white-space, formatting, etc...)
Refactor (a code change that neither fixes a bug or adds a new feature)
Performance (a code change that improves performance)
Documentation (updates to documentation or READMEs)
Chore (any other change that doesn't affect source or test files, such as configuration)

For changes visible to end-users

Breaking change (this change will force users to change their own code or config)
Relevant documentation has been updated
Suggested release notes are provided below:

Test plan

Covered by existing test cases
New test cases added
Manual testing; please provide instructions so we can reproduce:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!

authors: CLAassistant alexeagle kpark-hrp


text:
feat: solc toolchain

This shows that we can fetch versions of solc and run them under Bazel. So far this just demonstrates it with a genrule, since no custom rules are implemented yet.

@alexeagle Do you want to land this still or change the approach to not use rules_js?

rules_js is still right answer for most users, that's the current distribution std for solidity.

authors: alexeagle gregmagolan


text:
Input Password generation

InputText shows open text. Is there an input component for password? Also, how to add placeholder to Input components

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: eef47457-c8cf-74a4-b884-c1fe5c2ef52d
Version Independent ID: 09a02d10-2834-467d-d8c2-3fd19ceb3863
Content: Blazor forms and validation
Content Source: aspnetcore/blazor/forms-validation.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Oops, I think #12660 answered this

Yes ... these should work with Pre6. 🤞 If the framework is missing a scenario after Pre6 comes out, open an engineering issue at https://github.com/aspnet/AspNetCore with the request.

authors: Alienroid guardrex


text:
Bad request data: "Malformed request: invalid headers."

Describe the bug
I have the following setup:

All requests are correctly forwarded. The logs of the asp net core app outputs:
Hosting environment: Production
Content root path: C:\Data\site1\blue\
Now listening on: http://127.0.0.1:29403
Application started. Press Ctrl+C to shut down.
dbug: Microsoft.AspNetCore.Hosting.Internal.WebHost[0]
      Loaded hosting startup assembly site1.Service
dbug: Microsoft.AspNetCore.Hosting.Internal.WebHost[0]
      Loaded hosting startup assembly Microsoft.AspNetCore.Server.IISIntegration
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLJSGRQPGA2E" started.
info: Microsoft.AspNetCore.Server.Kestrel[17]
      => ConnectionId:0HLJSGRQPGA2E
      Connection id "0HLJSGRQPGA2E" bad request data: "Malformed request: invalid headers."
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Malformed request: invalid headers.
   at Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException.Throw(RequestRejectionReason reason)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1Connection.TryParseRequest(ReadResult result, Boolean& endConnection)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application)
dbug: Microsoft.AspNetCore.Server.Kestrel[10]
      => ConnectionId:0HLJSGRQPGA2E
      Connection id "0HLJSGRQPGA2E" disconnecting.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HLJSGRQPGA2E" sending FIN because: "The Socket transport's send loop completed gracefully."
dbug: Microsoft.AspNetCore.Server.Kestrel[2]
      Connection id "0HLJSGRQPGA2E" stopped.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLJSGRQPGA2F" started.
info: Microsoft.AspNetCore.Server.Kestrel[17]
      => ConnectionId:0HLJSGRQPGA2F
      Connection id "0HLJSGRQPGA2F" bad request data: "Malformed request: invalid headers."
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Malformed request: invalid headers.
   at Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException.Throw(RequestRejectionReason reason)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1Connection.TryParseRequest(ReadResult result, Boolean& endConnection)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application)
dbug: Microsoft.AspNetCore.Server.Kestrel[10]
      => ConnectionId:0HLJSGRQPGA2F
      Connection id "0HLJSGRQPGA2F" disconnecting.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HLJSGRQPGA2F" sending FIN because: "The Socket transport's send loop completed gracefully."
dbug: Microsoft.AspNetCore.Server.Kestrel[2]
      Connection id "0HLJSGRQPGA2F" stopped.

Configuration

mainentrypoint.server.com site acting as a reverse proxy to the server-farm:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <clear />
                <rule name="ReverseProxyInboundRule1" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Rewrite" url="http://farm.site1.local/{R:1}" logRewrittenUrl="true" />
                </rule>
            </rules>
            <rewriteMaps>
                <rewriteMap name="farm.site1.local" />
            </rewriteMaps>
        </rewrite>
        <httpErrors errorMode="DetailedLocalOnly" />
    </system.webServer>
</configuration>

hosts file in C:\Windows\System32\drivers\etc:

127.0.0.1 farm.site1.local
127.0.0.1 blue.site1.local
127.0.0.1 green.site1.local

server-farm configuration:

- name: farm.site1.local
- disk-caching: disabled
- servers:
  - blue.site1.local:
    - http port: 8000
  - green.site1.local:
    - http port: 8001

blue.site1.local and green.site1.local:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".\Site1.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false">
            </aspNetCore>
    </system.webServer>
  </location>
</configuration>
<!--ProjectGuid: A6177D24-065B-421B-B6A4-0C89540FAEA2-->

- name: blue.site1.local:
  - binding: http, port: 8000, IP-Address: 127.0.0.1
- name: green.site1.local:
  - binding: http, port: 8001, IP-Address: 127.0.0.1

System Info

Windows Server 2016 (Version 1607 (Build 14393.2125))
Internet Information Services (Version 10.0.14393.0)
IIS-URL-Rewrite-Module 2 (Version 7.2.1980)
Microsoft Application Request Routing 2.5 (Version 2.5.1130)
Microsoft Web Farm Framework (Version 1.1.1292)
Microsoft Web Deploy 2.0 (Version 2.0.1070)
Microsoft Web Platform Installer 5.0 (Version 5.0.50430.0)
SSL Wildcard Certificate ("*.domain.de")

> dotnet --info

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

.NET Core SDKs installed:
  No SDKs were found.

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Updated:

Added Configuration
Added System Info

Any news on this 😅

It's a normal HTTPS GET to the main entrypoint with firefox:

This is the request the browser is sending right? Could you get the request that the ASP.NET Core app is receiving using something like Wireshark or Fiddler on the ASP.NET Core server?

Closing this as we haven't heard from you and generally close issues with no response after ~7 days. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue to investigate further!

Sorry for the late response. I've been trying to recreate this issue for a while now, but currently everything is working fine and as expected. I don't know why, since we haven't changed a thing. The only think I can imagine helped resolving this issue was a big poweroutage we had lately and thous a hard restart of this server.
So everything is working as expected now. Thank you very much.

authors: anurse msschl

repo: aspnet/AspNetCore


text:
Update survey link in the project template for Blazor 0.8.0

Blazor 0.8.0 survey link: ~~https://go.microsoft.com/fwlink/?linkid=2041371~~ https://go.microsoft.com/fwlink/?linkid=2069004

That URL is the same one you put in for 0.7.0 in this commit: https://github.com/aspnet/AspNetCore/commit/71cddc35632ac7cd36ef1cb19892a9f55d8333ec
Is there a different URL for 0.8.0?

Sorry about that: https://go.microsoft.com/fwlink/?linkid=2069004


text:
there is not a bug,but is a question

class ServiceProvider  constructure was defined by  internal, but   Microsoft.Extensions.DependencyInjection.Tests project  callsitetest.cs  can  new ServiceProvider (***) ,Why?
i think they r not  the same application assembly.

InternalsVisibleTo is set in the AssemblyInfo.cs

OK~~~ i got it ~~~,thank a  lot ~~~~~ @mstum

authors: davytitan mstum

repo: aspnet/DependencyInjection


text:
Need support Lazy

DI should support Lazy.
We don't want to instantiate immediately sometime.

It's possible to sprinkle a few extension methods over IServiceCollection to add Lazy support with very little effort, without requiring all IoC containers to support this feature. Thoughts?
public static IServiceCollection AddScopedLazy<TService, TImplementation>(this IServiceCollection services)
            where TService : class
            where TImplementation : class, TService
{
    return services
        .AddScoped<TService, TImplementation>()
        .AddScoped(x => new Lazy<TService>(() => x.GetRequiredService<TService>()));
}

@RehanSaeed these extensions do not work when trying to register multiple implementations of the same interface and use GetServices

authors: AceHack RehanSaeed nidilong


text:
Configuring API server on Ubuntu 14.04

is there a documentation where i can get any idea on how to host API on digital ocean droplet.

We don't have any docs specific to digital ocean droplets, but the installation steps should be pretty much the same: https://docs.asp.net/en/latest/getting-started/index.html

repo: aspnet/Docs


text:
mvc/views/layout.md "Layout"

[ ] UE review
[ ] DISQUS
[ ] Rosetta Stone “In Django we call it blocks, in ASP.NET Core we call it sections.”  (see below)

Ultimately what I was trying to do was have page specific JavaScript and CSS. Ideally the JavaScript goes at the end of the body and the CSS goes in the head, but I couldn’t figure out how to do that using the asp.net core templates.
Here’s what the solution looked like:
In my template:
@section styles
{

}
@section scripts
{


text:
Update routing.md (regex fix)

Fixed regular expressions to match the whole segment value instead of its sub-string.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@ardalis  please review

@arturek  Thanks!

authors: Rick-Anderson arturek dnfclas


text:
Fix typo in Understanding ASP.NET 5 Web Apps

This PR fixes a small typo in the "Configuring the Application" section of the "Understanding ASP.NET 5 Web Apps" doc. The screenshot provided shows that it should say "Your" instead of "You".

Merged. b78f22a651bdf234c9d650ad1c55941a5f0894a9

authors: rachelappel scottaddie


text:
RevEng: Remove our Razor dependency

After reviewing the outcome of trying to use Razor to generate C# code in our templates and we have come to the conclusion that it is probably not the right thing to do for the long term. There are several reasons for that, among others:

Razor is optimized for HTML generation and a template to generate generating C# code can't be very terse.
Razor templates (in particular ours) tend to contain a lot of logic which can be powerful, but we don't believe that having it inside the template necessarily provides the best experience.

We still want to provide extensibility through some templating language in the future but haven't been able to identify a technology that we can take a dependency on with that purpose in the short term.
We are then going to focus on having a great default experience, e.g. try to get out default generated code as good as possible for EF 7 RTM, while leaving our choice of a template language open.
That implies sacrificing the ability to customize the output code via templates for RTM and it requires either removing the current Razor-based implementation or turning it into an internal implementation detail.

Changing to "remove" rather than "internalize" being an option given https://github.com/aspnet/EntityFramework/issues/3340

Removed with PR #3393.

authors: divega lajones rowanmiller

repo: aspnet/EntityFramework


text:
We need an update of this page https://github.com/aspnet/EntityFramework/wiki/Configuring-a-DbContext

https://github.com/aspnet/EntityFramework/wiki/Configuring-a-DbContext
Signatures are not valid anymore.

That one is a design doc and we typically don't keep those up to date... we do probably need to replace it with some real docs on our doc site though - http://docs.efproject.net.

Moved to https://github.com/aspnet/EntityFramework.Docs/issues/90

authors: SychevIgor rowanmiller


text:
Unable to install the package EntityFrameworkCore.Tools.DotNet version 1.1.0-preview4-final

Environment info :
- Visual Studio 2017 RC
- ASP.NET Core Web Application, .NETCoreApp 1.1
When I try to install the package Microsoft.EntityFrameworkCore.Tools.DotNet version 1.1.0-preview4-final I have the error (translated from french) :
The pakage Microsoft.EntityFrameworkCore.Tools.DotNet 1.1.0-preview4-final' has a package type 'DotnetCliTool' that is not supported by project 'my web app project'
I have already check :
- .NET Core 1.1 SDK is installed on my computer
- My web app targets .NETCoreApp 1.1 framework
- All my NuGet packages are up to date

The few things I found about errors like this one included to update project.json, file I don't have in my solution.
I also try to add  to my csproj.
Someone have an idea about what happens here ? How can I manage ef db migrations with .NETCore 1.1 ?

For information, the original error message, in french, is this one : Le package 'Microsoft.EntityFrameworkCore.Tools.DotNet 1.1.0-preview4-final' a un type de package 'DotnetCliTool' non pris en charge par le projet ''

I had to add the line
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0-msbuild3-final" />
in the same ItemGroup than the packages and it's working now.


text:
Data Annotations Part 3

part of #107
Add support for navigation added conventions
NotMapped attribute for properties/navigations
Required attribute for navigations

:shipit:, Adding a separate configuration source for navigations can be done in a different commit

merged with 03fe8f97ee1ed3618ad5c0257c89d8e3aa307488

authors: AndriySvyryd smitpatel


text:
Match compatible PK as FK properly

resolves #4451
Conditions

One-to-One relationship (non-self-PK-referencing)
No matching properties on either side
Either of following two
Principal Key is set with source higher than convention, or
Principal End & Uniqueness set with source higher than convention

Issue 1: For one-to-one relationship configured conventionally, we don't match compatible PK since principal end is ambiguous. If on such relationship, HasPrincipalKey is used then principal end is specified by user and we should try matching PK. But if the HasPrincipalKey calls the same principal key as the current one then conventions are not run.
Issue 2: Using HasOne API sets principal end explicitly. So we may use half-configured relationship to determine side and assign FK properties even though when relationship is full-configured it can be ambiguous. Therefore check for principal end CS should happen with Unique CS since WithOne or WithMany sets uniqueness.

Will be making some changes to this. Once updated I'll put needs-review tag again.

Ready for review.

@AndriySvyryd - Updated.

:shipit: