fix: override port with missing port inside test.

Hi there!
Running the CRS, I bumped into some SIGSEGV: segmentation violation because my config has a port override specification, but some rules do not populate the port: field. It leads to a nil pointer error, trying to override a not existing value.

Example of rule that led to a crash: 913120-2
Snippet of .ftw.yaml:

testoverride:
  input:
    port: '80'

Crash output example:

$ go run github.com/fzipi/go-ftw@448ecfb02d0128a04ccde3bb601797f7f19eda3f run -d crs-regression-test-v3.3.2/tests/ -i 913120 -t
9:07AM INF 🛠  Starting tests!

9:07AM INF Integer node found where ArrayNode is expected
🚀 Running go-ftw!
👉 executing tests in file 913120.yaml
	running 913120-1: ✔ passed in 30.864333ms (RTT 258ns)
	running 913120-2: panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x80401d]

goroutine 1 [running]:
github.com/fzipi/go-ftw/runner.applyInputOverride(0xc0001c72f8)
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/runner/run.go:366 +0x17d
github.com/fzipi/go-ftw/runner.RunStage(0xc0001c77d0, 0xc0001c74d8, {{0xc00036f280, 0x8}, {0xc0002df260, 0x50}, {0xc00037a540, _, _}}, {{0xc0003931d0, ...}, ...})
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/runner/run.go:94 +0xe5
github.com/fzipi/go-ftw/runner.RunTest(0xc0001c77d0, {{0xc0002b90e0, 0x4a}, {{0xc00036ecd0, 0xc}, 0x1, {0xc00036edb0, 0xb}, {0xc00036eca9, 0x4}}, ...})
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/runner/run.go:79 +0x48e
github.com/fzipi/go-ftw/runner.Run({0x7ffc9954747e, _}, {_, _}, _, _, {_, _, _})
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/runner/run.go:43 +0x365
github.com/fzipi/go-ftw/cmd.glob..func2(0xd7cee0?, {0x8a3b7b?, 0x5?, 0x5?})
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/cmd/run.go:46 +0x3a5
github.com/spf13/cobra.(*Command).execute(0xd7cee0, {0xc0000d2730, 0x5, 0x5})
	/home/matteopace/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0xd7cc60)
	/home/matteopace/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x39c
github.com/spf13/cobra.(*Command).Execute(...)
	/home/matteopace/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
github.com/fzipi/go-ftw/cmd.Execute({0x8a3675?, 0x383b81?})
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/cmd/root.go:30 +0x51
main.main()
	/home/matteopace/go/pkg/mod/github.com/fzipi/go-ftw@v0.4.0-rc3.0.20220530185153-448ecfb02d01/main.go:40 +0x255
exit status 2

This PR proposes a fix directly assigning the pointer to the overridden port regardless of whether the port field exists or not. A test related to it is also added.
cc: @jcchavezs

Hi @fzipi!
I tried to reproduce the failing tests locally but I'm not able to do it.
I took from the CI the test command go test -json -v -coverprofile=coverage.out ./... and runned on both MacOS (go1.18.3 darwin/arm64) and linux (go1.18.3 linux/amd64).
The outputs are the same:
{"Time":"2022-07-27T20:35:40.386461+02:00","Action":"output","Package":"github.com/fzipi/go-ftw/ftwhttp","Output":"PASS\n"}
{"Time":"2022-07-27T20:35:40.386468+02:00","Action":"output","Package":"github.com/fzipi/go-ftw/ftwhttp","Output":"coverage: 85.4% of statements\n"}
{"Time":"2022-07-27T20:35:40.387557+02:00","Action":"output","Package":"github.com/fzipi/go-ftw/ftwhttp","Output":"ok  \tgithub.com/fzipi/go-ftw/ftwhttp\t5.313s\tcoverage: 85.4% of statements\n"}
{"Time":"2022-07-27T20:35:40.387576+02:00","Action":"pass","Package":"github.com/fzipi/go-ftw/ftwhttp","Elapsed":5.313}

Am I missing something? Thanks!

Well, let's try them again then...

I merged this manually, while I figure what's wrong with tests.

@M4tteoP Thanks for your contribution!

Yay
On Thu, 28 Jul 2022, 21:12 Felipe Zipitría, @.***>
wrote:

I merged this manually, while I figure what's wrong with tests.
—
Reply to this email directly, view it on GitHub
https://github.com/fzipi/go-ftw/pull/57#issuecomment-1198534114, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAQAHNERNW3FALFVIZDVWLLQ7ANCNFSM53HDWQCQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks to you!


Coverage [N] exceeds number of lines in X

OS=CentOS-6.5 x86_64
SimpleCov=0.8.2
Cucumber=1.3.15
Aruba=0.5.4
Bundler=1.6.3
ruby 2.1.2p95
After making several iterative changes to a source file I am now seeing this message:
Warning: coverage data provided by Coverage [202] exceeds number of lines in
I run SimpleCov with Cucumber/Aruba through Bundler.   This error appeared literally out of nowhere since the only changes made to anything were to the source file and the features file and the error began to appear only after the first changes were made and several runs of bundle exec cucumber had executed without the error.
Noteworthy is the fact that the error only occurred after repeated runs of a single scenario.  If I run the entire feature suite there is no error. And if following a complete run I then return to that specific scenario and rerun it by itself then the error is also gone.

Just for reference, doing as @josephks said fixed the problem.

You might have been changing files while tests were running. I think that was my issue.

I am also seeing this sometimes, but not all the times
Warning: coverage data provided by Coverage exceeds number of lines .
I am using simplecov 0.12.0 and simplecov-html 0.10.0 in my project.
Any idea why this is happening when i run my test cases.

@gerep you are right about that, and @knagode might be right about why it's happeneing. Changing files while tests are running looks to be the cause of this. Thanks.


Fix failing caas test

CaaS test failing due to change in ctaAction default value
Test URLs:

Before: https://main--milo--adobecom.hlx.page/?martech=off
After: https://fixcaastests--milo--adobecom.hlx.page/?martech=off

FWIW, @sheridansunier had this in another PR, https://github.com/adobecom/milo/pull/1266/files#diff-ed925e6cdc044e721d9954bfa09aecd17f51b9eeeb1db5d86330f223718325d7R620, but I agree this was getting annoying and it's trivial enough to address right now rather than wait.


Add react-native-xaml to list of supported modules

Description
Adds react-native-xaml to the list of supported CMs.
Microsoft Reviewers: Open in CodeFlow

In the context of this comment above the list, react-native-xaml is a bit of an odd one out:
In addition to the ejected modules above, Microsoft has also added implementations for a set of popular and highly requested community modules
Really, it's a Windows-specific module. Should we have a separate list of those? It could create room for the Glyphs and Flyouts of the world.
Also, that list in the docs is not necessarily comprehensive. We really want to keep reactnative.directory up to date and direct people there, and probably deprecate this list. Or at least we've talked about it that way. What do you think?

I agree that there should be some effort to push people toward the (up-to-date) directory, and maybe only list "highlights" here? Like, here are some top modules that we are engaged with - some were ejected from core, some were always community, and some are windows-only.
React-native-xaml definitely needs to be on that highlights list, if not also pointed to from elsewhere in the docs. Like, "looking for more xaml flexibility, why not try react-native-xaml?"
Having a table that shows a list of modules that we supported <= 0.63 feels like it's just going to cause confusion if those modules don't even work anymore.

React-native-xaml definitely needs to be on that highlights list, if not also pointed to from elsewhere in the docs. Like, "looking for more xaml flexibility, why not try react-native-xaml?"

Agreed that react-native-xaml should make the highlights list. Over time perhaps that's what this list becomes - the modules that we can vouch for some minimum bar of support (@stmoy  FYI).


Fixed typos, improved language.

I'm not sure we ever spent much time on the top-level readme so thanks.  Aside from one minor nit-pick this looks fine to me.

I suggest to just merge this and then continue to improve the text with your own commits.
I'm not a native speaker, so for sure there are more things to find. I just stumbled over the most obvious, while reading through it. Hence the PR.

Yes, thanks, having a new person looking at the project is always a good opportunity to update the docs. Fresh eyes and all that :)


Add secDecimalDigits to readme and CLI help

Also, fix the compact part of the CLI help

I think this option needs a better name if it were to be included.

Thanks :)


Can't Autocraft Thermal's expansion blends

Issue description:
I can't auto craft blends like signalum, resonant... I used to be able, don't know what happened
What happens:
See, I have the entire recipe set, magma crucible, and everything. I am able to request crafting of the bucket used for the craft but I can't ask for the signalum blend because it says it's missing the redstone bucket
What you expected to happen:
I'm in FTB academy and this procedure used to work, I updated the pack version, not sure this is it
Steps to reproduce:

Do the whole step by step on crafters, magma crucible, pulverizer, fluid tranposer
Request the bucket to be made (Destabilized Redstone in case). The system got this part, ok
Request the blend and it tells you the bucket is missing, I think it is not able to do a recipe that doesn't consume the bucket
...

Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge: <IP_ADDRESS>6
Refined Storage: 1.6.15, Addons 0.4.4

Does this issue occur on a server? [yes/no]
No
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

Thanks anyway

Try disabling Oredict on the recipe that uses the bucket.


Failing elixirs on Apple Silicon

As I mentioned in #1830, many elixirs are still not working on Apple Silicon on multiple threads. To determine a definite list of elixirs, I started running all tests on 2 threads (ignoring allocation tests, which will fail on multiple threads due to extra allocations).
Here is the summary for TreeMesh in 1D and 2D. I'll keep running more tests in the background. The failing tests are due to slight differences in the L2/Linf errors. The errors are all due to LoadError: cfunction: closures are not supported on this platform (see #1462 for a solution that has to be applied to the remaining indicators).
Test Summary:                                                                          | Pass  Fail  Error  Total     Time
TreeMesh1D                                                                             |  973     2      4    979  4m50.9s
  Examples 1D                                                                          |  900     2      4    906  4m37.0s
    Linear scalar advection                                                            |   21                  21     0.9s
    Inviscid Burgers                                                                   |   20                  20     8.1s
    Hyperbolic diffusion                                                               |   14                  14     1.8s
    Compressible Euler                                                                 |  186            1    187    25.1s
      elixir_euler_source_terms.jl                                                     |    9                   9     0.1s
      elixir_euler_convergence_pure_fv.jl                                              |    9                   9     0.1s
      elixir_euler_density_wave.jl                                                     |    9                   9     0.1s
      elixir_euler_density_wave.jl with initial_condition_constant                     |    9                   9     0.1s
      elixir_euler_source_terms_nonperiodic.jl                                         |    9                   9     0.1s
      elixir_euler_ec.jl                                                               |    9                   9     0.1s
      elixir_euler_ec.jl with flux_kennedy_gruber                                      |    9                   9     0.0s
      elixir_euler_ec.jl with flux_shima_etal                                          |    9                   9     0.0s
      elixir_euler_ec.jl with flux_chandrashekar                                       |    9                   9     0.1s
      elixir_euler_ec.jl with flux_hll                                                 |    9                   9     0.1s
      elixir_euler_shockcapturing.jl                                                   |    9                   9     0.1s
      elixir_euler_sedov_blast_wave.jl                                                 |    9                   9     2.8s
      elixir_euler_sedov_blast_wave.jl (HLLE)                                          |    9                   9     3.1s
      elixir_euler_sedov_blast_wave_pure_fv.jl                                         |    9                   9     2.6s
      elixir_euler_sedov_blast_wave.jl with pressure                                   |    9                   9     2.7s
      elixir_euler_sedov_blast_wave.jl with density                                    |    9                   9     2.6s
      elixir_euler_positivity.jl                                                       |                 1      1     2.5s
      elixir_euler_blast_wave.jl                                                       |    9                   9     1.8s
      elixir_euler_quasi_1d_source_terms.jl                                            |   11                  11     0.1s
      elixir_euler_quasi_1d_discontinuous.jl                                           |   11                  11     2.2s
      elixir_euler_quasi_1d_ec.jl                                                      |   11                  11     1.7s
    Compressible Euler Multicomponent                                                  |   80                  80     9.9s
    MHD                                                                                |  209                 209    53.6s
    MHD Multicomponent                                                                 |  113                 113    20.2s
    Compressible Euler with self-gravity                                               |    9                   9     6.4s
    Shallow Water                                                                      |  148     2      3    153  1m19.3s
      elixir_shallowwater_ec.jl                                                        |    9                   9     4.1s
      elixir_shallowwater_ec.jl with initial_condition_weak_blast_wave                 |    9                   9     2.3s
      elixir_shallowwater_well_balanced.jl                                             |    9                   9     2.4s
      elixir_shallowwater_well_balanced.jl with FluxHydrostaticReconstruction          |    9                   9     4.2s
      elixir_shallowwater_well_balanced.jl with flux_nonconservative_ersing_etal       |    9                   9     3.7s
      elixir_shallowwater_well_balanced_wet_dry.jl with FluxHydrostaticReconstruction  |                 1      1     6.1s
      elixir_shallowwater_source_terms.jl                                              |    9                   9     4.7s
      elixir_shallowwater_source_terms.jl with flux_hll                                |    9                   9     4.2s
      elixir_shallowwater_source_terms.jl with flux_nonconservative_ersing_etal        |    9                   9     4.0s
      elixir_shallowwater_source_terms_dirichlet.jl                                    |    9                   9     2.0s
      elixir_shallowwater_source_terms_dirichlet.jl with FluxHydrostaticReconstruction |    9                   9     4.3s
      elixir_shallowwater_well_balanced_nonperiodic.jl with Dirichlet boundary         |    9                   9     3.8s
      elixir_shallowwater_well_balanced_nonperiodic.jl with wall boundary              |    9                   9     2.5s
      elixir_shallowwater_shock_capturing.jl                                           |    9                   9     5.9s
      elixir_shallowwater_beach.jl                                                     |                 1      1     3.4s
      elixir_shallowwater_parabolic_bowl.jl                                            |                 1      1     5.8s
      elixir_shallow_water_quasi_1d_source_terms.jl                                    |   11                  11     4.4s
      elixir_shallowwater_quasi_1d_well_balanced.jl                                    |    9     2            11     4.8s
      elixir_shallowwater_quasi_1d_discontinuous.jl                                    |   11                  11     4.0s
    Shallow Water Two layer                                                            |   39                  39    13.1s
    Linear scalar advection                                                            |   10                  10    15.8s
    Inviscid Burgers                                                                   |   15                  15    17.2s
    Compressible Euler                                                                 |   36                  36    24.9s
  Tests for initial conditions                                                         |   20                  20     7.1s
  Displaying components 1D                                                             |   45                  45     3.1s
  Additional tests in 1D                                                               |    6                   6     0.0s
  Nonconservative terms in 1D (linear advection)                                       |    1                   1     3.6s
ERROR: LoadError: Some tests did not pass: 973 passed, 2 failed, 4 errored, 0 broken.
in expression starting at /Users/erik/git/Trixi.jl/test/test_tree_1d.jl:1

test_tree_2d_part1.jl passed.
Test Summary:                                                             | Pass  Fail  Error  Total     Time
TreeMesh2D Part 2                                                         |  592    14      3    609  7m32.4s
  Examples 2D                                                             |  591    14      3    608  7m32.3s
    Acoustic Perturbation                                                 |   85                  85    39.3s
    Linearized Euler Equations 2D                                         |   22                  22    19.8s
    Compressible Euler                                                    |  366     8      2    376  4m44.5s
      elixir_euler_source_terms.jl                                        |   11                  11     7.9s
      elixir_euler_convergence_pure_fv.jl                                 |   11                  11     9.1s
      elixir_euler_density_wave.jl                                        |   11                  11     7.4s
      elixir_euler_source_terms_nonperiodic.jl                            |   11                  11     3.9s
      elixir_euler_ec.jl                                                  |   11                  11     7.7s
      elixir_euler_ec.jl with flux_kennedy_gruber                         |   11                  11     7.9s
      elixir_euler_ec.jl with flux_chandrashekar                          |   11                  11     8.3s
      elixir_euler_shockcapturing.jl                                      |   11                  11    12.6s
      elixir_euler_shockcapturing_subcell.jl                              |   11                  11    16.6s
      elixir_euler_blast_wave.jl                                          |   11                  11    10.7s
      elixir_euler_blast_wave_pure_fv.jl                                  |   11                  11     5.2s
      elixir_euler_blast_wave_amr.jl                                      |   11                  11     7.0s
      elixir_euler_blast_wave_sc_subcell_nonperiodic.jl                   |   11                  11     3.4s
      elixir_euler_sedov_blast_wave.jl                                    |   11                  11    12.7s
      elixir_euler_sedov_blast_wave_sc_subcell.jl                         |    3     8            11    14.2s
      elixir_euler_sedov_blast_wave.jl (HLLE)                             |   11                  11    13.5s
      elixir_euler_positivity.jl                                          |                 1      1     6.0s
      elixir_euler_blob_mortar.jl                                         |   11                  11    10.6s
      elixir_euler_blob_amr.jl                                            |   11                  11    15.0s
      elixir_euler_kelvin_helmholtz_instability_fjordholm_etal.jl         |   11                  11    15.9s
      elixir_euler_kelvin_helmholtz_instability.jl                        |   11                  11     3.4s
      elixir_euler_kelvin_helmholtz_instability_amr.jl                    |   11                  11     5.2s
      elixir_euler_kelvin_helmholtz_instability_sc_subcell.jl             |   11                  11    18.2s
      elixir_euler_colliding_flow.jl                                      |   11                  11     4.8s
      elixir_euler_colliding_flow_amr.jl                                  |   11                  11     4.1s
      elixir_euler_astro_jet_amr.jl                                       |   11                  11     6.0s
      elixir_euler_vortex.jl                                              |   11                  11     4.2s
      elixir_euler_vortex_mortar.jl                                       |   11                  11     4.4s
      elixir_euler_vortex_mortar_split.jl                                 |   11                  11     7.8s
      elixir_euler_vortex_shockcapturing.jl                               |   11                  11     5.4s
      elixir_euler_vortex_mortar_shockcapturing.jl                        |   11                  11     3.1s
      elixir_euler_vortex_amr.jl                                          |   11                  11     6.9s
      elixir_euler_ec.jl with boundary_condition_slip_wall                |   11                  11     3.6s
      elixir_euler_warm_bubble.jl                                         |                 1      1     0.4s
      Compressible Euler: Tests for initial conditions                    |   22                  22     7.0s
    Compressible Euler Multicomponent                                     |  104     6           110  1m26.7s
      Testing entropy2cons and cons2entropy                               |    2                   2     0.5s
      elixir_eulermulti_shock_bubble.jl                                   |   13                  13    14.8s
      elixir_eulermulti_shock_bubble_shockcapturing_subcell_positivity.jl |   15                  15    15.5s
      elixir_eulermulti_shock_bubble_shockcapturing_subcell_minmax.jl     |    7     6            13     3.9s
      elixir_eulermulti_ec.jl                                             |   11                  11     9.0s
      elixir_eulermulti_es.jl                                             |   17                  17    11.6s
      elixir_eulermulti_convergence_ec.jl                                 |   13                  13    10.4s
      elixir_eulermulti_convergence_es.jl                                 |   13                  13     9.2s
      elixir_eulermulti_convergence_es.jl with flux_chandrashekar         |   13                  13    10.7s
    Polytropic Euler                                                      |    9                   9     9.2s
    Acoustic perturbation coupled with compressible Euler                 |                 1      1     1.0s
      elixir_euleracoustics_co-rotating_vortex_pair.jl                    |                 1      1     0.7s
    KPP                                                                   |    5                   5    11.4s
ERROR: LoadError: Some tests did not pass: 592 passed, 14 failed, 3 errored, 0 broken.
in expression starting at /Users/erik/git/Trixi.jl/test/test_tree_2d_part2.jl:1

Test Summary:                                                                         | Pass  Error  Total      Time
TreeMesh2D Part 3                                                                     |  648      3    651  10m34.6s
  Examples 2D                                                                         |  647      3    650  10m34.6s
    MHD                                                                               |  210           210   3m09.1s
    MHD Multicomponent                                                                |  117           117   1m40.1s
    Lattice-Boltzmann                                                                 |  105           105     49.9s
    Shallow Water                                                                     |  110      3    113   2m22.7s
      elixir_shallowwater_ec.jl                                                       |   11            11     13.2s
      elixir_shallowwater_well_balanced.jl                                            |   11            11      4.7s
      elixir_shallowwater_well_balanced_wall.jl                                       |   11            11      4.8s
      elixir_shallowwater_well_balanced.jl with FluxHydrostaticReconstruction         |   11            11     15.6s
      elixir_shallowwater_well_balanced.jl with flux_nonconservative_ersing_etal      |   11            11     11.7s
      elixir_shallowwater_well_balanced_wet_dry.jl with FluxHydrostaticReconstruction |           1      1     16.3s
      elixir_shallowwater_source_terms.jl                                             |   11            11     11.2s
      elixir_shallowwater_source_terms_dirichlet.jl                                   |   11            11      4.1s
      elixir_shallowwater_source_terms.jl with flux_hll                               |   11            11     11.6s
      elixir_shallowwater_source_terms.jl with flux_nonconservative_ersing_etal       |   11            11     10.6s
      elixir_shallowwater_conical_island.jl                                           |           1      1     19.8s
      elixir_shallowwater_parabolic_bowl.jl                                           |           1      1      4.2s
      elixir_shallowwater_wall.jl                                                     |   11            11     12.2s
    Two-Layer Shallow Water                                                           |   51            51     47.9s
    Linear scalar advection                                                           |   10            10     27.0s
    Compressible Euler                                                                |   44            44   1m16.9s
ERROR: LoadError: Some tests did not pass: 648 passed, 0 failed, 3 errored, 0 broken.
in expression starting at /Users/erik/git/Trixi.jl/test/test_tree_2d_part3.jl:1

Thanks a lot for investigating this. It seems all be related to using some form of positivity limiting

Most, if not all closure errors on Apple Silicon are caused by similar constructs as in #1462 in different indicators used for AMR and limiting.

The current problems in 1D and 2D are caused by:

IndicatorHennemannGassner in 1D.
IndicatorHennemannGassnerShallowWater in 1D.
IndicatorHennemannGassner in 2D.
IndicatorHennemannGassnerShallowWater in 2D.
The errors in elixir_euler_warm_bubble.jl and elixir_euleracoustics_co-rotating_vortex_pair.jl seem to be caused by the @threded loop in compute_coefficients!. No idea why this is not causing problems elsewhere.

Note that I mentioned the 1D and 2D indicators separately because these are different codes that need to be refactored like I did in #1462.


New Installation: An unknown error occurred

Using the example "docker-compose.yml" in this repo, only changing the app URL to APP_URL=http://localhost:8080.
The Containers starts without an error.
But when trying to access the website is split in half, with the message  An Error Occurred An unknown error occurred Return to home
Clicking on "return to home" only reloads the page.

Host is fedora workstation.
Docker version 20.10.23
Bookstack 23.6.2

Let me know if you need more info.
Thanks!

Creating volume "docker-bookstack_mysql-data" with default driver
Creating volume "docker-bookstack_uploads" with default driver
Creating volume "docker-bookstack_storage-uploads" with default driver
Creating docker-bookstack_mysql_1 ... done
Creating docker-bookstack_bookstack_1 ... done
Attaching to docker-bookstack_mysql_1, docker-bookstack_bookstack_1
bookstack_1  | wait-for-db: waiting for mysql:3306
mysql_1      | 2023-07-19 15:29:56+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started.
mysql_1      | 2023-07-19 15:29:56+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1      | 2023-07-19 15:29:56+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started.
mysql_1      | 2023-07-19 15:29:56+00:00 [Note] [Entrypoint]: Initializing database files
mysql_1      | 2023-07-19T15:29:56.571908Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161)
mysql_1      | 2023-07-19T15:29:56.571916Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000)
mysql_1      | 2023-07-19T15:29:56.573686Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
mysql_1      | 2023-07-19T15:29:56.573771Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.33) initializing of server in progress as process 80
mysql_1      | 2023-07-19T15:29:56.587199Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql_1      | 2023-07-19T15:29:57.247590Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1      | 2023-07-19T15:29:59.057843Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
mysql_1      | 2023-07-19 15:30:03+00:00 [Note] [Entrypoint]: Database files initialized
mysql_1      | 2023-07-19 15:30:03+00:00 [Note] [Entrypoint]: Starting temporary server
mysql_1      | 2023-07-19T15:30:03.765372Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161)
mysql_1      | 2023-07-19T15:30:03.765382Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000)
mysql_1      | 2023-07-19T15:30:03.984714Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
mysql_1      | 2023-07-19T15:30:03.986129Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.33) starting as process 124
mysql_1      | 2023-07-19T15:30:04.006604Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql_1      | 2023-07-19T15:30:04.148495Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1      | 2023-07-19T15:30:04.475876Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1      | 2023-07-19T15:30:04.475904Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql_1      | 2023-07-19T15:30:04.479169Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1      | 2023-07-19T15:30:04.499949Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.33'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server - GPL.
mysql_1      | 2023-07-19T15:30:04.499980Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
mysql_1      | 2023-07-19 15:30:04+00:00 [Note] [Entrypoint]: Temporary server started.
mysql_1      | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql_1      | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql_1      | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql_1      | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
mysql_1      | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
mysql_1      | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql_1      | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql_1      | 2023-07-19 15:30:05+00:00 [Note] [Entrypoint]: Creating database bookstack
mysql_1      | 2023-07-19 15:30:05+00:00 [Note] [Entrypoint]: Creating user bookstack
mysql_1      | 2023-07-19 15:30:05+00:00 [Note] [Entrypoint]: Giving user bookstack access to schema bookstack
mysql_1      |
mysql_1      | 2023-07-19 15:30:05+00:00 [Note] [Entrypoint]: Stopping temporary server
mysql_1      | 2023-07-19T15:30:05.952441Z 13 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.33).
mysql_1      | 2023-07-19T15:30:07.550620Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.33)  MySQL Community Server - GPL.
mysql_1      | 2023-07-19 15:30:07+00:00 [Note] [Entrypoint]: Temporary server stopped
mysql_1      |
mysql_1      | 2023-07-19 15:30:07+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
mysql_1      |
mysql_1      | 2023-07-19T15:30:07.974458Z 0 [Warning] [MY-010139] [Server] Changed limits: max_open_files: 1024 (requested 8161)
mysql_1      | 2023-07-19T15:30:07.974465Z 0 [Warning] [MY-010142] [Server] Changed limits: table_open_cache: 431 (requested 4000)
mysql_1      | 2023-07-19T15:30:08.189649Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
mysql_1      | 2023-07-19T15:30:08.191093Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.33) starting as process 1
mysql_1      | 2023-07-19T15:30:08.204197Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql_1      | 2023-07-19T15:30:08.345725Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1      | 2023-07-19T15:30:08.598058Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1      | 2023-07-19T15:30:08.598107Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql_1      | 2023-07-19T15:30:08.602098Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1      | 2023-07-19T15:30:08.625945Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
mysql_1      | 2023-07-19T15:30:08.625957Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.33'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
bookstack_1  | wait-for-db: done
bookstack_1  | Generating Key...
bookstack_1  | base64:9gJmY3GA+7aKcFukgJbYbL3RNDpUVexOxdR+xrYPQ5I=
bookstack_1  | Starting Migration...
bookstack_1  |
bookstack_1  |    INFO  Preparing database.
bookstack_1  |
bookstack_1  |   Creating migration table ......................................... 47ms DONE
bookstack_1  |
bookstack_1  |    INFO  Running migrations.
bookstack_1  |
bookstack_1  |   2014_10_12_000000_create_users_table ............................ 165ms DONE
bookstack_1  |   2014_10_12_100000_create_password_resets_table .................. 106ms DONE
bookstack_1  |   2015_07_12_114933_create_books_table ............................. 39ms DONE
bookstack_1  |   2015_07_12_190027_create_pages_table ............................. 41ms DONE
bookstack_1  |   2015_07_13_172121_create_images_table ............................ 41ms DONE
bookstack_1  |   2015_07_27_172342_create_chapters_table .......................... 39ms DONE
bookstack_1  |   2015_08_08_200447_add_users_to_entities ......................... 126ms DONE
bookstack_1  |   2015_08_09_093534_create_page_revisions_table .................... 37ms DONE
bookstack_1  |   2015_08_16_142133_create_activities_table ........................ 41ms DONE
bookstack_1  |   2015_08_29_105422_add_roles_and_permissions ................... 1,087ms DONE
bookstack_1  |   2015_08_30_125859_create_settings_table ......................... 116ms DONE
bookstack_1  |   2015_08_31_175240_add_search_indexes .............................. 0ms DONE
bookstack_1  |   2015_09_04_165821_create_social_accounts_table .................. 113ms DONE
bookstack_1  |   2015_09_05_164707_add_email_confirmation_table .................. 138ms DONE
bookstack_1  |   2015_11_21_145609_create_views_table ............................. 42ms DONE
bookstack_1  |   2015_11_26_221857_add_entity_indexes ............................ 725ms DONE
bookstack_1  |   2015_12_05_145049_fulltext_weighting .............................. 0ms DONE
bookstack_1  |   2015_12_07_195238_add_image_upload_types ......................... 89ms DONE
bookstack_1  |   2015_12_09_195748_add_user_avatars ............................... 33ms DONE
bookstack_1  |   2016_01_11_210908_add_external_auth_to_users ..................... 86ms DONE
bookstack_1  |   2016_02_25_184030_add_slug_to_revisions ......................... 102ms DONE
bookstack_1  |   2016_02_27_120329_update_permissions_and_roles .................. 559ms DONE
bookstack_1  |   2016_02_28_084200_add_entity_access_controls .................... 442ms DONE
bookstack_1  |   2016_03_09_203143_add_page_revision_types ........................ 84ms DONE
bookstack_1  |   2016_03_13_082138_add_page_drafts ................................ 69ms DONE
bookstack_1  |   2016_03_25_123157_add_markdown_support ........................... 78ms DONE
bookstack_1  |   2016_04_09_100730_add_view_permissions_to_roles ................. 168ms DONE
bookstack_1  |   2016_04_20_192649_create_joint_permissions_table ................ 510ms DONE
bookstack_1  |   2016_05_06_185215_create_tags_table ............................. 188ms DONE
bookstack_1  |   2016_07_07_181521_add_summary_to_page_revisions .................. 45ms DONE
bookstack_1  |   2016_09_29_101449_remove_hidden_roles ........................... 252ms DONE
bookstack_1  |   2016_10_09_142037_create_attachments_table ...................... 173ms DONE
bookstack_1  |   2017_01_21_163556_create_cache_table ............................ 128ms DONE
bookstack_1  |   2017_01_21_163602_create_sessions_table ......................... 131ms DONE
bookstack_1  |   2017_03_19_091553_create_search_index_table ..................... 290ms DONE
bookstack_1  |   2017_04_20_185112_add_revision_counts ........................... 121ms DONE
bookstack_1  |   2017_07_02_152834_update_db_encoding_to_ut8mb4 .................... 0ms DONE
bookstack_1  |   2017_08_01_130541_create_comments_table ......................... 195ms DONE
bookstack_1  |   2017_08_29_102650_add_cover_image_display ........................ 45ms DONE
bookstack_1  |   2018_07_15_173514_add_role_external_auth_id ...................... 89ms DONE
bookstack_1  |   2018_08_04_115700_create_bookshelves_table .................... 1,108ms DONE
bookstack_1  |   2019_07_07_112515_add_template_support .......................... 101ms DONE
bookstack_1  |   2019_08_17_140214_add_user_invites_table ........................ 127ms DONE
bookstack_1  |   2019_12_29_120917_add_api_auth .................................. 165ms DONE
bookstack_1  |   2020_08_04_111754_drop_joint_permissions_id ..................... 273ms DONE
bookstack_1  |   2020_08_04_131052_remove_role_name_field ........................ 118ms DONE
bookstack_1  |   2020_09_19_094251_add_activity_indexes ........................... 77ms DONE
bookstack_1  |   2020_09_27_210059_add_entity_soft_deletes ....................... 162ms DONE
bookstack_1  |   2020_09_27_210528_create_deletions_table ........................ 149ms DONE
bookstack_1  |   2020_11_07_232321_simplify_activities_table ..................... 352ms DONE
bookstack_1  |   2020_12_30_173528_add_owned_by_field_to_entities ................ 347ms DONE
bookstack_1  |   2021_01_30_225441_add_settings_type_column ....................... 39ms DONE
bookstack_1  |   2021_03_08_215138_add_user_slug ................................. 106ms DONE
bookstack_1  |   2021_05_15_173110_create_favourites_table ....................... 110ms DONE
bookstack_1  |   2021_06_30_173111_create_mfa_values_table ....................... 116ms DONE
bookstack_1  |   2021_07_03_085038_add_mfa_enforced_to_roles_table ................ 43ms DONE
bookstack_1  |   2021_08_28_161743_add_export_role_permission ..................... 15ms DONE
bookstack_1  |   2021_09_26_044614_add_activities_ip_column ....................... 34ms DONE
bookstack_1  |   2021_11_26_070438_add_index_for_user_ip .......................... 46ms DONE
bookstack_1  |   2021_12_07_111343_create_webhooks_table ......................... 223ms DONE
bookstack_1  |   2021_12_13_152024_create_jobs_table .............................. 80ms DONE
bookstack_1  |   2021_12_13_152120_create_failed_jobs_table ....................... 80ms DONE
bookstack_1  |   2022_01_03_154041_add_webhooks_timeout_error_columns ............. 36ms DONE
bookstack_1  |   2022_04_17_101741_add_editor_change_field_and_permission ......... 71ms DONE
bookstack_1  |   2022_04_25_140741_update_polymorphic_types ....................... 11ms DONE
bookstack_1  |   2022_07_16_170051_drop_joint_permission_type .................... 393ms DONE
bookstack_1  |   2022_08_17_092941_create_references_table ....................... 183ms DONE
bookstack_1  |   2022_09_02_082910_fix_shelf_cover_image_types ..................... 1ms DONE
bookstack_1  |   2022_10_07_091406_flatten_entity_permissions_table .............. 163ms DONE
bookstack_1  |   2022_10_08_104202_drop_entity_restricted_field .................. 506ms DONE
bookstack_1  |   2023_01_24_104625_refactor_joint_permissions_storage ............ 391ms DONE
bookstack_1  |   2023_01_28_141230_copy_color_settings_for_dark_mode ............... 1ms DONE
bookstack_1  |   2023_02_20_093655_increase_attachments_path_length ............... 98ms DONE
bookstack_1  |   2023_02_23_200227_add_updated_at_index_to_pages .................. 43ms DONE
bookstack_1  |   2023_06_10_071823_remove_guest_user_secondary_roles ............... 2ms DONE
bookstack_1  |   2023_06_25_181952_remove_bookshelf_create_entity_permissions ...... 0ms DONE
bookstack_1  |
bookstack_1  | Clearing caches...
bookstack_1  |
bookstack_1  |    INFO  Application cache cleared successfully.
bookstack_1  |
bookstack_1  |
bookstack_1  |    INFO  Compiled views cleared successfully.
bookstack_1  |
bookstack_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
bookstack_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
bookstack_1  | [Wed Jul 19 15:30:23.550657 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Debian) PHP/8.2.8 configured -- resuming normal operations
bookstack_1  | [Wed Jul 19 15:30:23.550686 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
bookstack_1  | bookstack:80 <IP_ADDRESS> - - [19/Jul/2023:15:32:04 +0000] "GET / HTTP/1.1" 500 15312 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0"
bookstack_1  | bookstack:80 <IP_ADDRESS> - - [19/Jul/2023:15:32:04 +0000] "GET /dist/styles.css?version=v23.06.2 HTTP/1.1" 200 22989 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0"
bookstack_1  | bookstack:80 <IP_ADDRESS> - - [19/Jul/2023:15:32:04 +0000] "GET /logo.png HTTP/1.1" 200 5701 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0"
bookstack_1  | bookstack:80 <IP_ADDRESS> - - [19/Jul/2023:15:32:04 +0000] "GET /dist/app.js?version=v23.06.2 HTTP/1.1" 200 92694 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0"
bookstack_1  | bookstack:80 <IP_ADDRESS> - - [19/Jul/2023:15:32:04 +0000] "GET /dist/print-styles.css?version=v23.06.2 HTTP/1.1" 200 1238 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0"
bookstack_1  | bookstack:80 <IP_ADDRESS> - - [19/Jul/2023:15:32:04 +0000] "GET /dist/app.js?version=v23.06.2 HTTP/1.1" 200 92693 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0"

Have you worked through the Bookstack Troubleshooting steps? This sounds more like an issue from Bookstack itself, rather than with the container that wraps it.


Support using an external video buffer on PB12

compile time option
active low
when enabled, SPI data out is always driven

Hi, this is merged into keirf:pins. It is only build tested! Can you take a look, see what you think, and try it out?
Note I moved DISPEN to PA15. The reason is fairly weak: It seems good to keep the wider expanse of 5v-tolerant pins on GPIOB available for hot-key usage. If we can keep all hot-key control on the one pin bank, it is potentially less confusing for future user configuration. Like I say, it's not a mega strong reason -- if you had a particular reason for PB12 perhaps it will move back.

By the way, if you get startup hangs or issues on keirf:pins, let's dig into it. You may well have a different and more "production" setup than me, eg my Gotek and FF-OSD are always started in strict sequence from Bootloader Mode, so the power on timing is nothing at all like a real user's experience.

I had forgotten to push the patch to Github. Now done so you should be able to see it.

All good with PA15
tested today and it looks good so far

This is merged to master.


Add README.md

Add documentation on how to contribute to the website.
Metadata

Fixes #26

Thanks @chick. I'll merge this once I fix an unrelated problem with the build (unconditionally generating documentation with sbt ++2.12.6 is brittle and breaks for newer snapshots).


UserSecrets

Hi
How to resolve below error?
Error	CS0234	The type or namespace name 'UserSecrets' does not exist in the namespace 'Microsoft.Extensions.Configuration' (are you missing an assembly reference?)	BookFast.Web	C:\BWork\book-fast-service-fabric-CMS\BookFast.Web\obj\Debug\netcoreapp2.1\win7-x64\BookFast.Web.AssemblyInfo.cs	14	Active
location:-
C:\BWork\book-fast-service-fabric-CMS\BookFast.Web\obj\Debug\netcoreapp2.1\win7-x64\BookFast.Web.AssemblyInfo.cs
[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("a00339d6-a38f-4e12-9071-21d71a12ec62")]
I disable above which then built ok?
Next Error:Update-database from Package Manager Console
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'C:\BWork\book-fast-service-fabric-CMS\BookFast\BookFast.sfproj\bin\Debug' because it does not exist.
Kind regards
Peter

Next Error:Update-database from Package Manager Console
This error caused by not setting up correct startup project

Setup startup project to BookFast.Facility.Data
How do I setup target environment for local ?
Error:-
PM> update-database
System.ArgumentException: No target environment has been specified. Please make sure to define TargetEnv environment variable.
at BookFast.Facility.Data.DesignTimeFacilityContextFactory.CreateDbContext(String[] args) in C:\BWork\book-fast-service-fabric-CMS\BookFast.Facility.Data\DesignTimeFacilityContextFactory.cs:line 17
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory)
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.UpdateDatabase(String targetMigration, String contextType)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
No target environment has been specified. Please make sure to define TargetEnv environment variable.

Failed to run "C:\BWork\book-fast-service-fabric-CMS\BookFast.Web\Gulpfile.js"...
cmd.exe /c gulp --tasks-simple
gulp[14720]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
1: 00007FF748F482F5
2: 00007FF748F24156
3: 00007FF748F24221
4: 00007FF748EFA69A
5: 00007FF749545EB2
6: 00007FF749547008
7: 00007FF74954636D
8: 00007FF74954628B
9: 000001B50A9841C1

solved Error	CS0234	The type or namespace name 'UserSecrets' I am simple blind as a bat HaHa
being confused with Secrets!!

C:\WINDOWS\system32>gulp -v
CLI version: 2.2.0
C:\WINDOWS\system32>npm -v
6.4.1
Is this the reason? which version do I need to install?

SOLVED
Setup startup project to BookFast.Facility.Data
How do I setup target environment for local ?
Error:-
PM> update-database
Peter


Powerplatform integration on Tier1 machines

I tried following the options for setting up Powerplatform integration.  The environment was deployed but there was no new dataverse environment created.  Also when I go to environment details, I do not see the option to set it up.
The machine I deployed was a tier 1, Customer Managed.  If I check our tier 2, self-service environment, I do have the option to set up Powrplatform integration in lcs.
Can you clarify if the option is supposed to work for both tiers?

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

ID: 39b247a8-1e40-07d0-f44b-46f3f362a02d
Version Independent ID: 09725d7e-90ea-f6a9-3edb-28ff4bcc7510
Content: Microsoft Power Platform integration with Finance and Operations apps - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/power-platform/overview.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @Sunil-Garg
Microsoft Alias: sunilg

@@.***> can you have a look pls?

From: Norbert Spiteri @.>
Sent: Thursday, June 10, 2021 1:58:08 AM
To: MicrosoftDocs/dynamics-365-unified-operations-public @.>
Cc: Sunil Garg @.>; Mention @.>
Subject: [MicrosoftDocs/dynamics-365-unified-operations-public] Powerplatform integration on Tier1 machines (#3395)
I tried following the options for setting up Powerplatform integration. The environment was deployed but there was no new dataverse environment created. Also when I go to environment details, I do not see the option to set it up.
The machine I deployed was a tier 1, Customer Managed. If I check our tier 2, self-service environment, I do have the option to set up Powrplatform integration in lcs.
Can you clarify if the option is supposed to work for both tiers?

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

ID: 39b247a8-1e40-07d0-f44b-46f3f362a02d
Version Independent ID: 09725d7e-90ea-f6a9-3edb-28ff4bcc7510
Content: Microsoft Power Platform integration with Finance and Operations apps - Finance & Operations | Dynamics 365https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdynamics365%2Ffin-ops-core%2Fdev-itpro%2Fpower-platform%2Foverview%23enabling-the-microsoft-power-platform-integration&data=04|01|sunilg%40microsoft.com|bc3f8548eac34d546ccf08d92bedde64|72f988bf86f141af91ab2d7cd011db47|1|0|637589122908619055|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iylk0yxeZ3P2UcQsYcq3xLcJo%2BNGmakS3ntXc1ImTPg%3D&reserved=0
Content Source: articles/fin-ops-core/dev-itpro/power-platform/overview.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FDynamics-365-Unified-Operations-Public%2Fblob%2Fmain%2Farticles%2Ffin-ops-core%2Fdev-itpro%2Fpower-platform%2Foverview.md&data=04|01|sunilg%40microsoft.com|bc3f8548eac34d546ccf08d92bedde64|72f988bf86f141af91ab2d7cd011db47|1|0|637589122908629042|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YiB3vYbAYfuD48h%2B7VBbuGia0j63z6makBINiOHHRIc%3D&reserved=0
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @Sunil-Garghttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSunil-Garg&data=04|01|sunilg%40microsoft.com|bc3f8548eac34d546ccf08d92bedde64|72f988bf86f141af91ab2d7cd011db47|1|0|637589122908629042|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=HbkdQ20XWzKV04KWH5DDpFjdbaMfNNiUDuH8QzqLUN4%3D&reserved=0
Microsoft Alias: sunilg

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-unified-operations-public%2Fissues%2F3395&data=04|01|sunilg%40microsoft.com|bc3f8548eac34d546ccf08d92bedde64|72f988bf86f141af91ab2d7cd011db47|1|0|637589122908639035|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=kpuir5ANDYcYZbSA4MXgHVSISNjzBT0t%2BqFMFVqaZKo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHNKDW6WVH24L5KCEXOBCGTTSB5CBANCNFSM46NXKDZA&data=04|01|sunilg%40microsoft.com|bc3f8548eac34d546ccf08d92bedde64|72f988bf86f141af91ab2d7cd011db47|1|0|637589122908639035|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=V80i8JrTwFoaVSCPakU4vmZmUV1YsDI5qBbis%2BhdVCM%3D&reserved=0.

Created bug 594528 to track this issue.


For first timers there is a missing step

If you are a first timer like myself and thing you can do "file->new" and follow this doco it will not.
You get a nice null reference exception.
There is a missing step around the use of the DependencyService.  Simple to fix just visit the https://docs.microsoft.com/en-au/xamarin/xamarin-forms/app-fundamentals/dependency-service/introduction. Took me a little while to chase this one down and I hope this saves others some time.

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

ID: 3ab6098a-39c7-151f-124b-f88aa62c4659
Version Independent ID: dc27c1e4-ff12-c1af-646a-c2617def0bcd
Content: Local Databases - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/databases.md
Service: unspecified
GitHub Login: @davidbritch
Microsoft Alias: dabritch

@Chris-Marassovich which part of the Dependency Injection doc did you find most helpful, and believe should be covered in the Xamarin.Forms Database doc?

@conceptdev I can see why you need to confirm with me ... I made quite a few typo's in that first comment.
My point I was trying to get across was this:  While the Database doc appeared to be straight forward that you could just do a file->new and take the code at it works! there is a sneaky step that is hard to spot.  It is the use of dependency service.  At compile you get a null ref error and it is not obvious that you have missed setting up the dependency service.
I am not sure copying the doco is the right solution but at least make a mention of it along with a link to it so the requirement is obvious.
It is frustrating when learning something and you have taken what appears to be basic code examples and it does not work.  If I am learning Xamarin forms and local database for the first time I will also not be aware of the dependency service.  After struggling with this the dependency service is obvious but now I know after a lot of effort.
I am trying to save others the time I lost.  Maybe this is not the right place in the doco for that??

I have been looking at this ToDo code for a day or so now and am not impressed with it as an introduction to using a local database with Xamarin Forms. I am attempting to learn the basics of Xamarin Forms with a sqlite database. I am considering changing a WPF project I wrote to run on an Android. I am also trying to determine if Xamarin Forms or Xamarin is the platform I should use. I was under the impression that this sample was supposed to be a simple introduction about how to do this. There does not appear to be any other examples available. As an introduction, this code is to complex. The sample program has way more code than what is needed to grasp the required concepts. There are many modifications and commented out sections in the sample code that make it more difficult to follow than it has to be. For example, what's with the whole text to speech thing and how does that fit into the basic concepts of trying to use a local database? If this code is is supposed to be for learning how to use a local database with Xamarin Forms, dumb it down. Don't make it more complex than it has to be. There is plenty to try and figure out without additional and seemingly needless complexity.

Thank you both for your feedback - it's very helpful to hear different points of view. If there was a quick/sample change, I'd make it now (still considering a quick update to link to dependency service, to at least address Chris' feedback), but I've added a task to our backlog to look at the entire doc & sample. I trust we come up with something better for everyone. Thanks again!

I'm new to Xamarin and I am struggling with this. I've tried creating a new app and replicating the code but have reached a blocking point and I can't see on your code what it is that I'm missing. I have  a database with an ID and name, I removed the text to speech code. Whenever my code gets to the createTableAsync line to create the table it crashes and doesn't create the table. I just can't see what I'm missing, I've copied everything almost identically, do I need to add anything to the iOS project?


[SPARK-20653][core] Add cleaning of old elements from the status store.

This change restores the functionality that keeps a limited number of
different types (jobs, stages, etc) depending on configuration, to avoid
the store growing indefinitely over time.
The feature is implemented by creating a new type (ElementTrackingStore)
that wraps a KVStore and allows triggers to be set up for when elements
of a certain type meet a certain threshold. Triggers don't need to
necessarily only delete elements, but the current API is set up in a way
that makes that use case easier.
The new store also has a trigger for the "close" call, which makes it
easier for listeners to register code for cleaning things up and flushing
partial state to the store.
The old configurations for cleaning up the stored elements from the core
and SQL UIs are now active again, and the old unit tests are re-enabled.

For context:

Project link: https://issues.apache.org/jira/browse/SPARK-18085
Upcoming PRs that build on this code: https://github.com/vanzin/spark/pulls

Test build #83867 has started for PR 19751 at commit 8c346a1.

Test build #83867 has finished for PR 19751 at commit 8c346a1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83867/
Test PASSed.

Merged build finished. Test PASSed.

@vanzin looks like this PR has conflicts now.

Test build #83927 has started for PR 19751 at commit 8b150e0.

Test build #83927 has finished for PR 19751 at commit 8b150e0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83927/
Test PASSed.

Test build #83957 has started for PR 19751 at commit e09a376.

Test build #83957 has finished for PR 19751 at commit e09a376.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83957/
Test FAILed.

retest this please

Test build #83975 has started for PR 19751 at commit e09a376.

Test build #83975 has finished for PR 19751 at commit e09a376.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83975/
Test FAILed.

Not retesting since there will probably be feedback and the failure seems unrelated, so better just wait.

Test build #84318 has started for PR 19751 at commit 3f7c25d.

Test build #84318 has finished for PR 19751 at commit 3f7c25d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84318/
Test PASSed.

Test build #84665 has started for PR 19751 at commit 2606fcd.

Test build #84665 has finished for PR 19751 at commit 2606fcd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84665/
Test PASSed.

Test build #84885 has started for PR 19751 at commit b02ea2c.

Test build #84885 has finished for PR 19751 at commit b02ea2c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84885/
Test PASSed.

Test build #84909 has started for PR 19751 at commit b02ea2c.

Test build #84909 has finished for PR 19751 at commit b02ea2c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84909/
Test PASSed.

Test build #84931 has started for PR 19751 at commit d384ff4.

Test build #84931 has finished for PR 19751 at commit d384ff4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84931/
Test PASSed.

LGTM


[storage.md] Fix the ThirdPartyResource syntax

This makes manually creating the o-auth2-client.oidc.coreos.com actually work.
Fixes #818

Thanks for the fix.


upgrading soy dependency to 1.1.1

What does this PR do?
Upgrades com.kinja.soy dependency to 1.1.1.
How should this be tested?
Should just compile.
Related Trello card

LGTM


chore: bdd-spring-1580985820 to 0.0.1

chore: Promote bdd-spring-1580985820 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Spark Ignition DM5 Heated Catalyst Incorrectly WARNs

Table A-6-2 indicates warn if 1 for heated catalyst monitoring support. Tool is warning when heated catalyst is not supported.


Optional inclusion of default files

The initialisation parameter add_default_files allows the user to avoid including the default unimod.xml and usermod.xml files in initialisation.

I have made this pull request, but can't assign anyone to look at the request.  Please can you have a look.


Responsive Issue: Toolbar resizing on second level not spaced evenly on smaller screens

Global issue on toolbar.
Looks good sized properly...

Until resized smaller if you have enough buttons...

CC: @serenamarie125, @epwinchell

@miq-bot assign @epwinchell


Sequential document noUpdate protect is not working

It seems that sequential noUpdate protect is still not working
The second protect will thrown the error
    db.documents.protect({
      uri: docuri,
      temporalCollection: 'temporalCollection',
      level: 'noUpdate',
      duration: 'P1DT10H3M5S'
    })

db.documents.protect({
      uri: docuri,
      temporalCollection: 'temporalCollection',
      level: 'noUpdate',
      duration: 'P1D',
      archivePath: '/tmp/archiveDoc.json'
    })

This appears to be due to the durations chosen in the test. The following work for me:
First protect: 'P1D'
Second protect: 'P1DT10H3M5S'

First protect: 'P1D'
Second protect: 'P1D'

The following (same as above test) throws an error:
First protect: 'P1DT10H3M5S'
Second protect: 'P1D'

Here is the error:
'TEMPORAL-PROTECTED: temporal:document-protect("temporalCollection", "tempDoc4.json", <options xmlns="temporal:document-protect"><level>noUpdate</level>...</options>) -- The document tempDoc4.json is protected noUpdate' } } }

I will check with Jane about constraints on durations based on previous protects to see whether this is a bug or not.

Jane said:

The idea is that you can only extend a protection but cannot shorten it.

So if we're going to test sequential protects on a document, we should use something like the following for the durations:
First protect: 'P1D'
Second protect: 'P1DT10H3M5S'

Working fine with longer duration, added test on nodejs-temporal-protect-update.js


Do a documentation on readme and github wiki on how to get started

Closing this will create new issue on demand to update the wiki. Readme is already added.


Blog: nav bar header

I'm splitting this issue out from #26 as I think this would be good to implement for the new blog display. On desktop: can we append blog title to the section title in-line with what's happening in the Journal?
Journal nav bar menu behaviour:

Added in 92e64217dfe5088fc671778f2095d13e9c12f40e. Only triggered when viewing multiple blog posts on a single page.


Dart Analyzer Error

Analyzer Feedback from IntelliJ
Version information

IDEA AI-173.4670197
2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0
AI-173.4670197, JRE 1.8.0_152-release-1024-b02x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1366x768

Exception
Please append the contents of:
file://C:\Users\markk\AppData\Local\Temp\report.txt
Dart analysis server, SDK version 2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0, server version 1.18.6, error: Analysis failed: C:\Users\markk\OneDrive\Nyaraka\OneDrive\Nyaraka\AndroidProjects\my_friendlychat\lib\main.dart context: exception_20180331_092807_103
NoSuchMethodError: The getter 'uri' was called on null.
Receiver: null
Tried calling: uri
#0      Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46)
#1      new _LibraryResynthesizer (package:analyzer/src/summary/resynthesize.dart:873)
#2      SummaryResynthesizer.getLibraryElement.<anonymous closure> (package:analyzer/src/summary/resynthesize.dart:254)
#3      _HashVMBase

Tentatively setting to Dart 2-Beta 3 milestone.

@scheglov

I don't understand what happens here. It looks that we got null for librarySource, i.e. SourceFactory returned null for the URI that was given to SummaryResynthesizer.getLibraryElement. And I don't understand how this could happen.
Maybe the file exception_20180331_092807_103 that it is .analysis_driver folder somewhere in the home directory would give some inside.

@chiefmarko Would it be possible for you to send us the file mentioned above?

It was just the default main.dart for android. Tried opening a new project and the exception disappeared


HWY-164: Pass the round success meter between eras

https://casperlabs.atlassian.net/browse/HWY-164

bors merge

bors merge


[request] Provide benchmarks (possibly via TechEmpower's FrameworkBenchmarks)

As for the title,
it would be nice to have some benchmark as reference
possibly via FrameworkBenchmarks [site]

That is a great idea. Cannot promise to do it real soon, but it would definitely be a nice to have!

tomorrow will be round 21 so you have exactly one year :)

@vlidholt
given this comment from FrameworkBenchmarks about Round 22

[...] We'd like to have a quicker turnaround for Round 22. We're hoping between Oct - Nov.

do you think will be possible to participate?
I'd be happy to help if required


remove count attribute and total_ordering from core.Var

Originally we used the Var.count attribute to ensure Var instances were printed consistently regardless of context, even though only their object id was load-bearing. That is, Var.count was only used for pretty printing. (#1949 added a total_ordering on Var for reasons out of scope of JAX's core code. I'm going to figure out if that's still needed... Haiku tests all seem to pass without it.)
But #8019 revised our pretty-printing so as not to use Var.count. Instead it chose how to pretty-print Var instances based on their order of appearance in a jaxpr. That meant Var.count really wasn't useful anymore.
So this PR removes Var.count. Since we no longer have Var.count, we also don't need core.gensym to take an optional sequence of jaxprs, since that was just used to set the starting count index for new Vars.
In fact, Var.__repr__ and JaxprEqn.__repr__ were made confusing after #8019, since they could print variable names totally different from the names that would appear when the same JaxprEqn or Var objects were printed as part of a jaxpr. That is, before this PR we might have a jaxpr which printed like:
import jax

def f(x):
  for _ in range(3):
    x = jax.numpy.sin(x)
  return x

jaxpr = jax.make_jaxpr(f)(3.)
print(jaxpr)
# { lambda ; a:f32[]. let
#     b:f32[] = sin a
#     c:f32[] = sin b
#     d:f32[] = sin c
#   in (d,) }

_, eqn, _ = jaxpr.jaxpr.eqns
print(eqn)
# a:f32[] = sin b

Notice the variable names in the equation pretty-print don't correspond to any in the jaxpr pretty-print!
So this PR changes JaxprEqn.__repr__ and Var.__repr__ to show Var object ids, and in general just do less formatting (which seems consistent with the spirit of __repr__):
JaxprEqn(invars=[Var(id=140202705341552):float32[]], outvars=[Var(id=140202705339584):float32[]], primitive=sin, params={}, effects=set(), source_info=SourceInfo(traceback=<jaxlib.xla_extension.Traceback object at 0x7f837c73d770>, name_stack=NameStack(stack=())))

Let's submit this after the NeurIPS deadline, on May 19th I believe.

This needs to get rolled back, in #10638. I'll try to land it again after the NeurIPS deadline.


Advanced Android support

It is necessary to improve the plugin API for convenient work with Android applications:

support for Android build types
support Android flavors
consider creating merge reports for each Build Type

Cannot use this until then. It's not realistic for us currently.
<===========--> 86% EXECUTING [25m 16s]

@pvegh, please, can you clarify how long it takes to build a project without applying a Kover, how many tests and classes are in the project.
Perhaps you have suggestions on what settings can be added to the plugin to reduce code instrumentation and speed up your build.

Those details are not important, the problem is that ./gradlew koverHtmlReport is not flavour specific.
Currently this one Gradle task builds the project in every possible variant, which means debug + release build types for all of paid, free, foo flavours.
Meaning it builds 6 times instead of just one (whatever is needed e.g. freeDebug for local or freeRelease for CI)

@pvegh I've solved this issue by simply adding this configuration to android.testOptions.unitTests.all section in build.gradle.
            kover {
                disabled = (name == "testReleaseUnitTest")
            }

May be it will help you?

Sorry I didn't have time to test this. I'll try it next week. Thanks!

I see now that we removed kover from the project, because it wasn't feasible until variants are correctly supported. I don't think disabling variants one by one is a good practice.
If I execute ./gradlew koverHtmlReportLocalDebug then no release, no integration etc should be executed.

we have the same problem can we at least have the possibility to avoid certain flavors ?

@shanshin Is there a way to see the contribution guidelines for this project?, I really wanted to learn how to write a gradle plugin to be able to improve this tool, I would really appreciate a guideline over that.

We need report tasks support to specific buildVariant.
Do you have any plans or schedules to support?

@NeoMindStd, yes, right now we are developing a new version of the plugin API, after switching to which filtering by buildVariant and/or flavours will be added.

@gerardoepitacio, at the moment there are no strict documents, you can create PR with your suggestions and bug fixes.
Because the project code is not stabilized at the moment, I would not recommend creating large PR.  However, if you have ideas, you can create an issue with their description.

I think this should be added before 1.0.0 because this way it's not feasible to use/test it on big projects, where only 1 variant takes 5-10 minutes. Building unnecessary variants takes up to an hour. We'd like to test this and provide feedback, currently we can't.

@samuelneff, work is in progress now.
since this is not just a bug, but new features that were not originally laid in the plugin API, it took a redesign of the API for more convenient use in Android.

@samuelneff, however, it would help us a lot to know how you build reports when there are several build types and flavors in the project.
Do you generate only one report by build type and all flavors, multiple reports at a time for different build types, or only individual reports for each build variant (build type + flavor)?

@samuelneff We have an Android project with a lot of variants (multiple flavors in different dimensions + multiple build types). We are currently using Jacoco without any issues. But even after disabling all tests tasks expect for one variant we got attempted duplicate class definition exceptions in our build. So I guess there are more underlying issues which have to be fixed instead of only limiting the task execution.

@G00fY2

We are currently using Jacoco without any issues

We actually have been running with Kover for about a year without realizing we had this issue. We always just wondered why our builds were so slow without making it a priority to look into it. It's pretty common in my experience for builds to be slower on CI than locally.
We only discovered the problem when we made a change to our build to surface errors as a giant annotation instead of being buried in the CI console output. Once we did that we immediately saw that all errors were showing up 12 times each.

@G00fY2 Thanks for the recommendation. I appreciate it, but am not sure it applies to our (unusual?) use case.
While we only build one variant at a time, we would want to run the unit tests regardless of what variant was run. If we always ran the same variant, like testDevDebugUnitTest then that would require compiling that variant regardless of which one we actually wanted to build. So we would often end up compiling twice, which is not necessary in our specific case and what I'm looking to avoid.

My team is in a similar space as @samuelneff. We have a few build types that are mutually exclusive and running kover on all build types takes valuable of cpu time.

+1 Support for this

+1 for this advanced Android support. Thanks for your work!

@G00fY2 Thank you for this snippet, it solves our exact needs, for both Kover and just configuring unit tests correctly overall! I'd been trying to figure this out for quite some time 🎉

Hi,
i followed the discussion what can be done to avoid running all the buildType/variants when executing koverReport and tried a variant of a mentioned configuration option

kover {
disabled = (name == "testReleaseUnitTest")
enabled = name == "testDebugUnitTest"
}

to only run it on the testDebugUnitTest task.
That worked only partly, as something like testReleaseUnitTest was indeed not executed (log said it was SKIPPED), but related tasks like bundleReleaseClassesToCompileJar or compileReleaseUnitTestKotlin where executed.
And that should not happen, as the job just builds a debug-build.
Any ideas for a workaround until kover supports buildTypes/variants?
regards,
Jerg

Resolved in 0.7.0-Alpha

I am having the same issue as @hamada147, also getting the duplicate class errors using the Jacoco engine. I am running the freshly released Kover 0.8.0.


Fix CommonMark test

I was wondering what CommonMark examples are still violated by Parsedown, but the current test is broken (its regex matching the CommonMark examples doesn't work correctly). That is why I've developed a working one.
Parsedown currently passes 287 of 616 examples (i.e. 329 failures). Here's a complete phpunit run: http://pastebin.com/uLaJpBWf
FFF.FFFFF........FF.....F.F..F...F....FF....FF..F....FFF.F..FFF  63 / 616 ( 10%)
....FFFF....F..FFF.FFFFFFFFFFF.FFF.FFFFFFFFFFFFFF.F.FFFFFFFFF.. 126 / 616 ( 20%)
FF.FFFF...FF...F.FFFFFF.F.F.FF.FFFF.F.F.F.FF..FFF.FF......FF... 189 / 616 ( 30%)
.F..FFFFF...F...F..F..FFFF.F.....FFFFFF.FFFFF.F.FFFFFFF.FFFFF.. 252 / 616 ( 40%)
.FFFF.FFFF.F.FF.FFFFFFFFFFF.FF.F.FFF.F.FFFFFFFFFFF.FFFFF.F...FF 315 / 616 ( 51%)
..FFF..FF..FFF...FFF.F...FFFF.F.F..F..FF..FFFFFFF.FF....FF.FFF. 378 / 616 ( 61%)
...FFF.....FF.....FFF...............F..FF.......F..FF......F... 441 / 616 ( 71%)
FFFFFFFFFFFF..FF..FFF.FFFF.FFFFF.FF....F..FFFF..FFF..F..FFF.FFF 504 / 616 ( 81%)
.FFFFF.FFF.......F...F...F.....FFFFF.FF....F.F.FF.......FF.F.F. 567 / 616 ( 92%)
.FF.FF....FF.F..FF.....FFF..F.F..F.F.....F.......

FAILURES!
Tests: 616, Assertions: 616, Failures: 329.

One of the main reasons for that many failures is that Parsedown omits whitespaces where whitespaces shouldn't be omitted according to the CommonMark specs. However, many of these whitespaces don't matter when the page is viewed by a browser. That's the reason why I've created the test/CommonMarkTestWeak.php: This test cleans up the HTML markup before comparison, so examples which would normally fail due to actually invisible differences (e.g. superfluous whitespaces), don't fail. However, cleanup relies on block element detection. The detection doesn't work correctly when a element's display CSS property is manipulated. According to that this test should be only a interim solution on Parsedown's way to full CommonMark compatibility.
Parsedown currently passes 338 of 616 examples (i.e. 278 failures) when less aggressively compared. Here's a complete phpunit run: http://pastebin.com/CRNbXSdq
FFF.F.F...........F.....F.F..F...F.....F....FF..F.....FF....FFF  63 / 616 ( 10%)
....F.FF........FF..........FF.FF..FFF...F.F...FF...FFFFFFFFF.. 126 / 616 ( 20%)
FF.FFFF...FF...F.FFFF.F.F.F..F.FFFF.F.F.F.FF..F.F.FF........... 189 / 616 ( 30%)
....FFFFF...F...F..F..F..F.F......FFFFF.FF.FF.F.FFF...F.FFF.F.. 252 / 616 ( 40%)
.FFFF.FFFF.F.FF.FFFFFFF.F.F....F.FFF.F...FFFFFFFFF.FFFFF......F 315 / 616 ( 51%)
..FFF..FF..FFF...FFF.F...FFFF.F.F..F..FF..FFFFFFF.FF....FF.FFF. 378 / 616 ( 61%)
...FFF.....FF.....FFF...............F..FF.......F..FF......F... 441 / 616 ( 71%)
FFFFFFFFFFFF..FF..FFF.FFFF.FFFFF.FF....F..FFFF..FFF..F..FFF.FFF 504 / 616 ( 81%)
.FFFFF.FFF.......F...F...F.....FFFFF.FF....F.F.FF.......FF.F.F. 567 / 616 ( 92%)
.FF.FF....FF.F..FF.....FFF..F.F..F.F.............

FAILURES!
Tests: 616, Assertions: 616, Failures: 278.

Please note that fulfilling all CommonMark spec examples doesn't make Parsedown fully compatible to CommonMark. There are many more things to consider. However, making the examples work is a good starting point.
Please also note that Parsedown not only fails examples which represent "cases that are quite uncommon" (according to the README.md) - some of the failed tests are quite important (e.g. hard line breaks, #334).

hard line breaks

Do you mean back slash line breaks?

Yes, exactly.
276) CommonMarkTestWeak::testExample with data set #597 ('Hard line breaks', 'foo\\
baz', '
foo

baz
')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
foo

+'
foo\
 baz
'

However, I have to be honest: I didn't read all failing examples, just a bunch of them. I was focusing on making the tests work :smile:

Thanks, I've been very busy preparing the next major release of @careteditor, but as soon as I have some time, I'll look into it.

Great, thanks @erusev :smiley:
I've now pushed commit 33a23fb to this PR what refactors Parsedown's PHPUnit bootstrap. The goal of this change is to make PHPUnit of erusev/parsedown-extra work again (see erusev/parsedown-extra#96 for details). I wasn't sure whether to open a new PR for this or to add it to this PR, especially because this change is necessary to make the original changes of this PR work with 33a23fb (kind of a dependency hell). If you want me to open another PR for 33a23fb just tell me. :smiley:

Thanks, hopefully, I'll have a chance to review it soon enough.

btw: It would seem useful to add the CommonMarkTest.php (or CommonMarkTestWeak.php) in a non-breaking way (i.e. || true) to Travis, e.g. with
script:
  - phpunit test/CommonMarkTest.php || true

This way it gets very easy to check whether a PR improves CommonMark compliance or not. Should I add this to the PR @erusev?

Sure, it'd take me some time to review the whole thing, though.

Sure, fixing the failing tests definitely is a quite big thing, however, IMHO it is useful to merge this before actually starting to improve CommonMark compliance.

Sure, hopefully, I'll have some time to look into it later this month.

Since there was some progress related to Parsedown's build process and Travis lately (#539), I've solved the merge conflicts and would like to express my hope to merge this @erusev.
The changes look bigger than they are, it's basically just a bugfix, but is nevertheless a huge improvement towards Parsedown's build and test process. Parsedown's CommonMarkTest is broken at the moment due to a regex not taking some special cases in the CommonMark spec file into account.

@PhrozenByte I think this would make more sense for Parsedown 2.0 which should be more CommonMark aware. Hopefully, I can release a 2.0 branch in a couple of months. For the current version, I'd like to focus the limited time I can dedicate to it on priority issues. I appreciate the work that you've put here and I hope that you won't be disappointed with my response.


FormikDatePicker throws Warning: Received true for a non-boolean attribute clearable. in Console

<FormikDatepicker name="start" fullWidth></FormikDatepicker>
throws the following error:

I am using the
"@dccs/react-formik-mui": "^0.9.0",
"@material-ui/pickers": "^3.2.7",
"@material-ui/core": "^4.5.1",
"@material-ui/icons": "^4.5.1",
"@material-ui/lab": "^4.0.0-alpha.29",

Fixed in Version 0.9.3


Make ClassMetadataFactory more configurable

It looks reasonable to make the ClassMetadataFactory more configurable to avoid such tricks as I've implemented at Atlantic18/DoctrineExtensions#1512 for example.
In the past there was no reason for this changes as well as this tricks. But 8bdb7130738df5b7a9c5d8f73e3cbfb72149c909 changed things.
Also there are improvements to be made before this code can be merged.

\Exception is to general and non-informative.
I think $metadataClass must be configurable through doctrine.orm.entity_managers like doctrine.orm.entity_managers.default.class_metadata_factory_name

Suggestions and reviews are welcome!

At first this PR is missing a testcase.
I'm unsure whether or not the maintainers will accept that due to a simple reason: it makes the public API more complicated and allows users to do more awkward things (which is something that causes tons of issues here means a lot of extra-work).
You might want to have a look at the discussion in #6211 where the maintainers talk about the problem of Doctrine and all the edge cases.

As part of 3.0 efforts, I made every single piece of Metadata support customized options.
This is the official entry point for any customization and I don't think we should allow people to rewrite ClassMetadata itself.
Closing as won't fix.

@guilhermeblanco looks you've implemented something similar to the thing I mentioned.

I think $metadataClass must be configurable through doctrine.orm.entity_managers like doctrine.orm.entity_managers.default.class_metadata_factory_name

It's great if it solves the problem I encounter.
@Ma27 Thanks for the review! Unfortunately I can't make a proper PR currently. So this code maybe regarded as a reference to the problem of a class design I've encountered.


unrelated tags containting tier show up under Tier search refinement category

Affected module
UI
Describe the bug
Tags that contain the string "Tier" (e.g. Business Tier) show up under "Tier" search refinement category, even thought they are part of different tag category.
To Reproduce

Expected behavior
Only Tier1-5 show up under "Tier" tag category.
Version:

OS: Chrome
OpenMetadata version: 0.13.1

@harshach we need to fix it from the Elasticsearch end, We are getting it from the API response


Placeholder text support for mixing dynamic and static text content

implements #201
We're using this feature in our fork of pdfme because it's critical to our functionality (see video on the issue for how it works)
I'm opening this here for feedback and discussion.

Please check this https://github.com/pdfme/pdfme/issues/201#issuecomment-1658310654

Closing this for now, as per the discussion and look towards a future plugins mechanism

@peteward thank you. we will make better solution 👍


Supported drones 2016

I was wondering which drones are supported besides the Parrot AR drone 2.0?
Please list here if you know a drone with support.
And if the parrot bebop 2 for example is not supported. Then how can be checked if it is possible to program support for it?

AR Drone 2 and 1 are supported

Quick Question - Is any edition of the AR Drone 2 supported? I can get access to an AR Drone Power Edition tomorrow (http://www.bestbuy.ca/en-CA/product/parrot-parrot-ar-drone-2-0-power-edition-quadcopter-drone-with-camera-ready-to-fly-red-pf721005bi/10273736.aspx?lang=en-CA&pcname=&sku=10273736&path=3153be675a3f25aecb458530d5f0d034en02), but not an Elite Edition. Would that work? Just wanted to make sure before going ahead and buying it...
Thanks!

There is no technical difference between the editions. The only thing different is color and included batteries.

Alright - Thank you very much!


GHCR download count didn't get updated for 3 days

Hello, maybe you are aware of this, I found our project download number is not updated for 3 days
https://ipitio.github.io/backage/timeplus-io/proton/proton.json still shows Sep 17 data.
I built a daily pulling via airbyte cloud and push the total download count to our database

A recent change bombarded the GitHub API, preventing anything from being updated. I resolved the issue, and an update is currently underway. As more packages get scooped up by the service, I'll have to find ways to speed up the process.

Thank you!


Add the io library to the CI build

It seems like the IO library is not being built in CI?
https://github.com/RTimothyEdwards/open_pdks/blob/5f6daa1abdc7acd274c5484682496ba16fe182e3/.github/workflows/ci.yml#L15-L21

Just trying to add sky130_fd_io to the library list above gets you the following error;
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git submodule update --init libraries/sky130_fd_io/latest && \
	make -j2 sky130_fd_io
Submodule 'libraries/sky130_fd_io/latest' (https://github.com/google/skywater-pdk-libs-sky130_fd_io.git) registered for path 'libraries/sky130_fd_io/latest'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/libraries/sky130_fd_io/latest'...
From https://github.com/google/skywater-pdk-libs-sky130_fd_io
 * branch            01b18699b4102d8e54ad1406b3991ecb652e5aee -> FETCH_HEAD
Submodule 'third_party/make-env' (https://github.com/SymbiFlow/make-env.git) registered for path 'third_party/make-env'
Submodule path 'libraries/sky130_fd_io/latest': checked out '01b18699b4102d8e54ad1406b3991ecb652e5aee'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/third_party/make-env'...
make[1]: Entering directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk; git submodule update --init third_party/make-env
Submodule path 'third_party/make-env': checked out '9b07ad2bb62fbf8af789c9e4669715c974b4912d'
make[1]: *** No rule to make target 'sky130_fd_io'.  Stop.
make[1]: Leaving directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
make: *** [Makefile:40: skywater-library] Error 2
git clone https://github.com/google/skywater-pdk.git /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'...
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git checkout -qf b5ff6174d9aa921f670f12a2893969fe4a516f6c
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git submodule update --init libraries/sky130_fd_io/latest && \
	make -j2 sky130_fd_io
Submodule 'libraries/sky130_fd_io/latest' (https://github.com/google/skywater-pdk-libs-sky130_fd_io.git) registered for path 'libraries/sky130_fd_io/latest'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/libraries/sky130_fd_io/latest'...
From https://github.com/google/skywater-pdk-libs-sky130_fd_io
 * branch            01b18699b4102d8e54ad1406b3991ecb652e5aee -> FETCH_HEAD
Submodule path 'libraries/sky130_fd_io/latest': checked out '01b18699b4102d8e54ad1406b3991ecb652e5aee'
make[1]: Entering directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk; git submodule update --init third_party/make-env
Submodule 'third_party/make-env' (https://github.com/SymbiFlow/make-env.git) registered for path 'third_party/make-env'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/third_party/make-env'...
Submodule path 'third_party/make-env': checked out '9b07ad2bb62fbf8af789c9e4669715c974b4912d'
make[1]: *** No rule to make target 'sky130_fd_io'.  Stop.
make[1]: Leaving directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
make: *** [Makefile:40: skywater-library] Error 2
git clone https://github.com/google/skywater-pdk.git /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'...
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git checkout -qf b5ff6174d9aa921f670f12a2893969fe4a516f6c
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git submodule update --init libraries/sky130_fd_io/latest && \
	make -j2 sky130_fd_io
Submodule 'libraries/sky130_fd_io/latest' (https://github.com/google/skywater-pdk-libs-sky130_fd_io.git) registered for path 'libraries/sky130_fd_io/latest'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/libraries/sky130_fd_io/latest'...
From https://github.com/google/skywater-pdk-libs-sky130_fd_io
 * branch            01b18699b4102d8e54ad1406b3991ecb652e5aee -> FETCH_HEAD
Submodule path 'libraries/sky130_fd_io/latest': checked out '01b18699b4102d8e54ad1406b3991ecb652e5aee'
make[1]: Entering directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk; git submodule update --init third_party/make-env
Submodule 'third_party/make-env' (https://github.com/SymbiFlow/make-env.git) registered for path 'third_party/make-env'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/third_party/make-env'...
Submodule path 'third_party/make-env': checked out '9b07ad2bb62fbf8af789c9e4669715c974b4912d'
make[1]: *** No rule to make target 'sky130_fd_io'.  Stop.
make[1]: Leaving directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
make: *** [Makefile:40: skywater-library] Error 2
git clone https://github.com/google/skywater-pdk.git /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'...
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git checkout -qf b5ff6174d9aa921f670f12a2893969fe4a516f6c
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git submodule update --init libraries/sky130_fd_io/latest && \
	make -j2 sky130_fd_io
Submodule 'libraries/sky130_fd_io/latest' (https://github.com/google/skywater-pdk-libs-sky130_fd_io.git) registered for path 'libraries/sky130_fd_io/latest'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/libraries/sky130_fd_io/latest'...
From https://github.com/google/skywater-pdk-libs-sky130_fd_io
 * branch            01b18699b4102d8e54ad1406b3991ecb652e5aee -> FETCH_HEAD
Submodule path 'libraries/sky130_fd_io/latest': checked out '01b18699b4102d8e54ad1406b3991ecb652e5aee'
make[1]: Entering directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk; git submodule update --init third_party/make-env
Submodule 'third_party/make-env' (https://github.com/SymbiFlow/make-env.git) registered for path 'third_party/make-env'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/third_party/make-env'...
Submodule path 'third_party/make-env': checked out '9b07ad2bb62fbf8af789c9e4669715c974b4912d'
make[1]: *** No rule to make target 'sky130_fd_io'.  Stop.
make[1]: Leaving directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
make: *** [Makefile:40: skywater-library] Error 2
git clone https://github.com/google/skywater-pdk.git /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'...
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git checkout -qf b5ff6174d9aa921f670f12a2893969fe4a516f6c
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk && \
	git submodule update --init libraries/sky130_fd_io/latest && \
	make -j2 sky130_fd_io
Submodule 'libraries/sky130_fd_io/latest' (https://github.com/google/skywater-pdk-libs-sky130_fd_io.git) registered for path 'libraries/sky130_fd_io/latest'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/libraries/sky130_fd_io/latest'...
From https://github.com/google/skywater-pdk-libs-sky130_fd_io
 * branch            01b18699b4102d8e54ad1406b3991ecb652e5aee -> FETCH_HEAD
Submodule path 'libraries/sky130_fd_io/latest': checked out '01b18699b4102d8e54ad1406b3991ecb652e5aee'
make[1]: Entering directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
cd /home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk; git submodule update --init third_party/make-env
Submodule 'third_party/make-env' (https://github.com/SymbiFlow/make-env.git) registered for path 'third_party/make-env'
Cloning into '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk/third_party/make-env'...
Submodule path 'third_party/make-env': checked out '9b07ad2bb62fbf8af789c9e4669715c974b4912d'
make[1]: *** No rule to make target 'sky130_fd_io'.  Stop.
make[1]: Leaving directory '/home/runner/work/open_pdks/open_pdks/pdks/skywater-pdk'
make: *** [Makefile:40: skywater-library] Error 2
Error: Process completed with exit code 2.

I have not had issues adding the sky130_fd_io library in my experiments. Is this still an issue?

It shouldn't have been an issue in the first place.  I've been using the sky130_fd_io library from skywater-pdk.  But I think this has more to do with the fact that the CI is running make on the sky130_fd_io directory.  I'm not sure what the CI is doing.  Apparently it is running its own installation of skywater-pdk instead of letting open_pdks take care of it.  Open_pdks only does a git submodule init, git submodule update, and then (from the repository top level) make timing.


BaseURI wrongly calculated

I fetch a document via HTTP request Jsoup.connect("https://tug.org/FontCatalogue/about.html").get(). This works fine.
When I try to retrieve the baseURI with Jsoup.connect("https://tug.org/FontCatalogue/about.html").get().baseUri() it returns the full path (https://tug.org/FontCatalogue/about.html) instead of just https://tug.org/FontCatalogue (with or without trailing slash).
Tested with JSoup 1.12.2.

That's right. The base URI is the URI that relative URLs in a document are resolved against. Unless it's set differently in the page with a <base href> tag, it should the URL that the page was fetched from.
If you want something different (I think you're looking for a parent directory?), you will need to create a URI object and remove the filename, or similar.