Skip to content

Using fpm to upgrade fpm itself #344

@milancurcic

Description

@milancurcic

Say I have fpm-0.1.3 and want to upgrade to current master or some future tag like v0.1.4. After the step 2 of #253 is implemented (so that the fpm.toml is in root dir), I think this should be possible by going through the following steps:

  1. fpm new a dummy project.
  2. Add fpm as a dependency to the manifest and specify the v0.1.4 tag.
  3. Run fpm install. This will build the fpm library and binary as a dependency and put it to ~/.local/bin.

This will be somewhat awkward and not easy to do. Having the fpm upgrade command do this for you would be useful and nice UX I think.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions