Open rryi opened 3 years ago
I got an answer from cirruslabs concerning the install problem, they wrote:
Sorry for the delayed response. It looks like an issue with the underlying freebsd-12-0 image you are using. It does seem like 12.0 is not supported now. Could you please try 12.2?
Changing line 2 in .cirrus.yml to
image: freebsd-12-2-release-amd64
fixes the install error.
Hi there,
I use PkgTemplates to generate a skeleton package, that works fine, and was a great help in the past.
Now my packages get into a state where CI reports should show successes, but except from appveyor and codecov, integration with the PkgTemplates generated code does not work "out of the box". To document it, I created a fresh package, set up a github repository, coded a trivial function and a test, and looked at the results, which are disappointing. Details below.
My local environment is a Windows 10 machine running julia 1.6.2 64-bit and VScode 1.60.0 with julia plugin.
Several of my problems maybe due to missing further configuration, but I found no documentation in the user manual on what to do after package generation. And some of the errors look like template errors to me. Any help is highly appreciated!
My test case is a new (not registered) julia package, publicly available at github:
https://github.com/rryi/TestPkgTemplates.jl
I used this script to generate the package:
Log of its execution with current PkgTemplates:
So far, everything is as expected.
As next step, I coded a trivial function, a test for it and tested locally in VScode REPL:
Next step: creation of an empty github repository, create default branch "master" locally and push the repo via VScode. All fine.
I activated github pages: and activated the project in appvoyer.
After waiting a while, readme.md shows in github:
Clicking on the badges from left to right, gives:
docs stable returns a 404 error for page https://rryi.github.io/TestPkgTemplates.jl/stable The page https://rryi.github.io/TestPkgTemplates.jl/ exists and shows the readme.md of the repository.
docs dev returns a 404 error for page https://rryi.github.io/TestPkgTemplates.jl/dev
I found nothing concerning "stable" or "dev" in the generated docs folder or any .yml file. Missing code in docs/make.jl which advises Documenter to create "stable" and "dev" directories? Any tags or releases needed in git for "stable" and "dev"?
If I do signin to travis, I see my github projects in travis CI, among them testPkgTemplates. Klick on it opens https://app.travis-ci.com/github/rryi/TestPkgTemplates.jl
Template error? Does PkgTemplates need a correction, replacing "www" in the travis URL in the badge code by "app"?!
The page https://app.travis-ci.com/github/rryi/TestPkgTemplates.jl reports an error, log excerpt:
Something wrong in the CI configuration generated by PkgTemplates?!
appvoyer build: Seems to work, mostly. Build log shows a warning:
A configuration error in generated .appvoyer.yml? It has a cache directive.
cirrus CI build Click on badge opens https://cirrus-ci.com/github/rryi/TestPkgTemplates.jl
Looking at the build details, shows an installation error, log excerpt:
I asked google about "pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2", no helpful results. An error in generated .cirrus.yml? maybe wrong/outdated freebsd instance?
I had a look at my package Tojkens.jl, which also has a PkgTemplates generated cirrus CI, not changed until 09/07/2021. In the past, until 04/04/2020, install step executed successfully. Since 07/04/2020, install step always fails. Looks like there was a change at cirrus during these 4 days, causing failure of the install step.