Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed changes to meta.yml #24

Closed
Casteran opened this issue Jan 14, 2021 · 5 comments
Closed

Proposed changes to meta.yml #24

Casteran opened this issue Jan 14, 2021 · 5 comments

Comments

@Casteran
Copy link
Member

@palmskog

I wrote a new version (without 8.11 and with references to Russel's work) on the branch remove-8-11,
but the script generate.sh fails (I used the opam version of mustache)

---.opam: File name too long
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")
Generating resources/index.md...
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")
Generating .github/workflows/nix-action.yml...
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")
Generating .travis.yml...
Fatal error: exception Ezjsonm.Parse_error(870828711, "JSON.of_buffer illegal number (---)")

@palmskog
Copy link
Member

@Casteran unfortunately the opam version of mustache does not support the format we use (YAML). You can see that there is some work in the pipeline that might fix this, but it is not there yet: rgrinberg/ocaml-mustache#45

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 18, 2021

You can use ruby-mustache instead, which is available as a Debian / Ubuntu package.

@Casteran
Copy link
Member Author

@Zimmi48 @palmskog
I've just installed ruby-mustache on my Mac.
I ran (successfully) the script on the remove-8-11 branch, but I got the following message while trying to push.

! [remote rejected] remove-8-11 -> remove-8-11 (refusing to allow a Personal Access Token to create or update workflow .github/workflows/docker-action.yml without workflow scope)

Is this a problem of access rights ?

@Zimmi48
Copy link
Member

Zimmi48 commented Jan 18, 2021

Are you using a GitHub-specific tool like GitHub desktop? I don't think you can get this problem if you push using the git command-line directly authenticating with ssh or username/password.

@Casteran
Copy link
Member Author

Casteran commented Jan 18, 2021 via email

@Zimmi48 Zimmi48 closed this as completed Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants