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

coinbrew yaml bcp --latest-release fails #89

Open
mkoeppe opened this issue Oct 7, 2023 · 4 comments
Open

coinbrew yaml bcp --latest-release fails #89

mkoeppe opened this issue Oct 7, 2023 · 4 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Oct 7, 2023

$ coinbrew yaml bcp --latest-release
Welcome to the COIN-OR fetch and build utility, version 2

To use the legacy version of coinbrew, '$ wget https://raw.githubusercontent.com/coin-or/coinbrew/v1.0/coinbrew'
For help, run script with --help or see https://coin-or.github.io/coinbrew
Please report issues at https://github.com/coin-or/coinbrew
Detailed build documentation at https://coin-or.github.io


Fetching latest release 1.4.4

It appears that project has not been fetched yet.
Fetching will be done automatically...

##################################################
### Fetching bcp releases/1.4.4 
##################################################

Cloning into 'bcp'...
remote: Enumerating objects: 5424, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 5424 (delta 0), reused 5 (delta 0), pack-reused 5418
Receiving objects: 100% (5424/5424), 4.37 MiB | 10.20 MiB/s, done.
Resolving deltas: 100% (3974/3974), done.
Note: switching to 'cbd92b147af5f7fc44a3e05a89b731f2eb25f715'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

awk: can't open file bcp/.coin-or/projDesc.xml
 source line number 1
@tkralphs
Copy link
Member

Yes, this is not going to work. What were you trying to do exactly? The yaml option is an undocumented hack and is basically there temporarily for my own use in converting projects from the old XML-based format to the new YAML format. It shouldn't really be used unless you are trying to help with the conversion effort. If so, I can explain more about how to do this properly.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 29, 2023

Just trying to get access to metadata of the packages (including deps), for the purpose of semiautomatically creating packages in the Sage distribution.

@tkralphs
Copy link
Member

Ah, I see. That makes sense. If it's still useful, I can use that as motivation to get to producing the config.yml for some of the projects where it's not done yet. I guess that it shouldn't be too difficult. But if you want to try yourself, it should work running on master. The stable (and hence the latest release) of Bcp doesn't even have a projDesc.xml file and that is what is parsed to get parts of the YAML file that is produced. Just be warned that it doesn't produce anything like valid YAML, it's just a strating point for me to hand-edit.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 30, 2023

If it's still useful, I can use that as motivation to get to producing the config.yml for some of the projects where it's not done yet.

Yes, that would be great!

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

2 participants