buildstream-migration / bst-staging

GNU Lesser General Public License v2.1
0 stars 0 forks source link

Allow project relative workspace paths #191

Open Cynical-Optimist opened 4 years ago

Cynical-Optimist commented 4 years ago

See original issue on GitLab In GitLab by [Gitlab user @tristanvb] on Jan 15, 2018, 07:04

While I find this to be a very odd practice that I would not recommend, it seems that people like to open workspace directories as subdirectories of the BuildStream project itself.

The one benefit I can see to this is that if the workspace is a project relative subdirectory; then one could move the project to a new directory and carry the workspace along with it as a subdirectory.

But for this to work without breaking the workspace/project relationship, BuildStream would have to support serializing and interpreting the workspace directory as a project relative path.

To make this work:

Update by [Gitlab user @toscalix] : a proposal that covers this case has been sent to the mailing list.

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Jan 22, 2018, 18:04

mentioned in merge request !251

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @cs-shadow] on Feb 1, 2018, 18:29

mentioned in merge request !154

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jun 1, 2018, 14:55

marked this issue as related to #222

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jun 1, 2018, 14:55

marked this issue as related to #229

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jun 1, 2018, 14:56

marked this issue as related to #222

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jun 1, 2018, 14:56

removed the relation with #222

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jun 1, 2018, 14:56

marked this issue as related to #229

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jun 1, 2018, 14:56

removed the relation with #229

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Jun 18, 2018, 14:58

mentioned in merge request !504

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 13, 2018, 09:51

assigned to [Gitlab user @knownexus]

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 6, 2018, 16:18

mentioned in commit d5646acf453968959fceb98e79f465a193d64cc3

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @phildawson] on Aug 7, 2018, 11:48

mentioned in commit c06745e877e87992fdc197b759a8e3382b202188

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @phildawson] on Aug 8, 2018, 09:55

mentioned in commit 5a7a6404c3139441a48242ed01d05d882920dcd7

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 9, 2018, 19:15

mentioned in commit 70a82dcf17289a47acd26d9c8da320c29e6b2b58

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 10, 2018, 10:33

mentioned in commit 78bce629143fc7a013de7f7c72078d6805db95cb

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 10, 2018, 11:18

mentioned in commit db0478abc83afb96dc1c146668ad1e8eb7fa671f

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 10, 2018, 12:12

closed via merge request !504

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 10, 2018, 12:12

mentioned in commit 04cee9a96df64c5e74d62db2bfbf28d7f248ae60

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Aug 10, 2018, 16:53

Re-opening as I'd like use to use the 'Verify' label here and close this ticket once someone has verified the behaviour in master.

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Aug 10, 2018, 16:53

reopened

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @tristanvb] on Aug 13, 2018, 10:53

[Gitlab user @LaurenceUrhegyi] thanks for pinging on this one.

I may be mistaken, but by a brief reading, it seems that the patch in !504:

Unless I'm mistaken, I think this misses the mark.

I've added https://gitlab.com/BuildStream/buildstream/merge_requests/504/diffs#note_94123621 and https://gitlab.com/BuildStream/buildstream/merge_requests/504/diffs#note_94121771 to the closed merge request for additional context.

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @tristanvb] on Aug 13, 2018, 10:58

Additional comment after re-reading the issue description.

I think this issue itself outlines the behavior of !504 accurately, but is inopportunely titled.

This issue only calls for support for opening workspaces as subdirectories of the project. The patch achieves this correctly, but I don't think it's really good enough.

I would never recommend that anyone ever open a workspace inside the project directory. The project directory is the BuildStream input data; the workspace does not belong inside of it.

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Aug 14, 2018, 16:34

[Gitlab user @tristanvb] as i mentioned in https://gitlab.com/BuildStream/buildstream/merge_requests/504#note_94454909 I disagree that we shouldn't have workspaces inside the project directory, i think that should be the only place they should exist.

However that is a different topic. I suggest that a new issue should be created for having external relative paths so that discussion can happen there, instead of holding this ticket open or changing it. (My opinion is that relative external workspaces is a bad idea/won't work well)

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @LaurenceUrhegyi] on Aug 14, 2018, 16:59

[Gitlab user @knownexus] this conversation should be parked until a design change is proposed for workspaces:

https://mail.gnome.org/archives/buildstream-list/2018-August/msg00023.html

https://mail.gnome.org/archives/buildstream-list/2018-August/msg00033.html

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @toscalix] on Aug 28, 2018, 11:50

The proposal has been sent to the mailing list for discussion.

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @toscalix] on Aug 28, 2018, 11:51

changed the description

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @knownexus] on Oct 2, 2018, 17:01

unassigned [Gitlab user @knownexus]

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @tristanvb] on Aug 4, 2019, 18:27

mentioned in commit f011ed315aefd4da1da5f4ba9862f7d59fa77927

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @tristanvb] on Aug 4, 2019, 18:28

mentioned in commit eefcd7a2c8158d907db634f9963120d9b533b2a7

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @tristanvb] on Aug 4, 2019, 18:29

mentioned in commit 2b571c6a4fb420c487d5302d47065311355d0991

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @tristanvb] on Aug 4, 2019, 19:11

mentioned in commit 0a457a720999ad6f3621020ef31f7fff9389fd5d