ros-infrastructure / superflore

An extended platform release manager for Robot Operating System
Apache License 2.0
52 stars 33 forks source link

superflore-gen-oe-recipes: Delete all generated files when regenerating all recipes #265

Closed shr-project closed 4 years ago

shr-project commented 4 years ago

Signed-off-by: Martin Jansa martin.jansa@lge.com

shr-project commented 4 years ago

Drop this and what follows. I don't see how showing how different the recipes are helps further explain the need for the change.

I disagree, It shows why it's important to implement this change.

herb-kuta-lge commented 4 years ago

I disagree, It shows why it's important to implement this change.

Wouldn't still be important to implement it even if the recipes were identical?

shr-project commented 4 years ago

Wouldn't still be important to implement it even if the recipes were identical?

No it wouldn't be important, because bitbake doesn't care from which directory the recipe was used, but when the built output is very different, then it's important to use the new recipe.

herb-kuta-lge commented 4 years ago

even if the recipes were identical

Actually, if a recipe moves to a different subdirectory, it's ROS_CN setting will be different, so the recipes will never be identical.

herb-kuta-lge commented 4 years ago

I don't see how showing how different the recipes

I disagree, It shows why it's important to implement this change.

The details of the differences are unimportant, so perhaps show how different they are by piping the diff output into diffstat? (Use diff -C 1 so that the filename appears in the diffstat output.)

shr-project commented 4 years ago

Comments explaining what would cause unexpected output from git status --porcelain and glob.

Can you please provide these comments?

I don't know what unexpected might have happen especially in combination with --only which isn't implemented yet AFAIK.

herb-kuta-lge commented 4 years ago

I don't know what unexpected might have happen especially in combination with --only which isn't implemented yet AFAIK.

If it's unexpected, shouldn't it be considered an ASSERT that stops execution?

shr-project commented 4 years ago

The output is verbose, but err() output is quite rare in it and contains even more important messages than this unexpected output, see the errors in last meta-ros regeneration: http://paste.ubuntu.com/p/b6JbJyTp8d/

herb-kuta-lge commented 4 years ago

OK, then let's leave it as is.

herb-kuta-lge commented 4 years ago

@allenh1 < Now that this last open PR was been merged, could you release a v0.3.2 ?

allenh1 commented 4 years ago

@herb-kuta-lge That sounds like a good idea to me!

@tfoote FYI