Skip to content

Feature request: Renaming of files #56

@fippu82

Description

@fippu82

@engswee, hi!
I realized that SAP has a strange way to create the .iflw files in downloaded Iflow artifacts (regardless of via Web UI or API). The filename of the .iflw file is wrong if the Iflow was previously copied from another one. In this case, the filename is equal the original Iflow that this flow is copied from.
The result is a confusing repository with filenames that don't correspond the actual Iflow name. The correct Iflow name however is used for the root folder of each Iflow in the package (and is visible of course in the .project and MANIFEST files).

I tried to overcome this by adding some renaming logic as a shell script that is called in my pipeline and then commits/pushes the renamed files after flashpipe snapshot ran. That works well, however, next time flashpipe runs, it updates everything in the repo again due to the changed filename. So it's back and forth from wrong to correct filename each time the pipeline runs. This clutters up the commits...

Would it be possible to ignore filename changes of the .iflw file in the diff command that flashpipe executes? This name usually can't be changed by the user, so it should be safe to ignore the change.

Ideally, I suggest to build in the correction of the filenames directly in flashpipe too.

Kind regards,
Philippe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions