-
Notifications
You must be signed in to change notification settings - Fork 121
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
Default file for aliases #258
Comments
@jgbarah thank you for opening the issue. Mordred has already something similar. As you can see at: https://github.com/chaoss/grimoirelab-sirmordred/blob/master/sirmordred/config.py#L157, the Does it answer your issue? |
Ohh. Yes, I think so, if that means that if set no parameter, that would be applied. But I'm afraid that's not the case... Yesterday I saw it failed if |
The behaviour is as Valerio says. By default, Mordred will fail if the aliases file is not found in the same place where Mordred is running. |
OK, let me reframe what I intended, because maybe it was not understood. What I was commenting is that if the SirMordred package is shipped with a default That way, the naive user can have the default aliases built without needing to specify anything at all. Currently, if there is What do you think about this approach? (I could write a pull request to implement it, if you find it reasonable in principle). |
Sorry for my late reply. Yes, let's do that. Include both files in the package. Can you provide a PR, @jgbarah ? |
I'll do asap. Thanks! |
I'd like to keep this here so I don't forget to write the pull request ,-) |
Is this done @jgbarah , do u need help with this? |
Recently, SirMordred needs a new configuration file, the alias file. Since in most deployments it would be always the same, would it be possible to have it as a default file, so that if none is specified in the
.cfg
file, it is used? If you want, I can produce a pull request with this...The text was updated successfully, but these errors were encountered: