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

Lexing error in an opam file prevents further updates #1125

Closed
let-def opened this issue Jan 22, 2014 · 0 comments
Closed

Lexing error in an opam file prevents further updates #1125

let-def opened this issue Jan 22, 2014 · 0 comments
Milestone

Comments

@let-def
Copy link

let-def commented Jan 22, 2014

  1. Make a lexing error in a ".opam" file in a custom repository, e.g. depends: ["a","b"] instead of depends:["a" "b"].
  2. Update the repository with opam update <local>. Opam will first copy all data, then complain about the lexing error when processing the local copy.
  3. It's no longer possible to fix the issue in the user repository: when invoked, opam will first check its local cache and terminate with the same complain.
AltGr added a commit to OCamlPro/opam that referenced this issue Mar 4, 2014
eg print the error but don't block. This will let people fix the
error and update again. Closes ocaml#1125
AltGr added a commit to OCamlPro/opam that referenced this issue Mar 5, 2014
eg print the error but don't block. This will let people fix the
error and update again. Closes ocaml#1125
@AltGr AltGr closed this as completed in 57792e4 Mar 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant