Jump to content

[Announcement] PlasticSCM Dynamic Workspace Alpha.


Neha Khalwadekar

Recommended Posts

On behalf of the Plastic SCM team, We are extremely delighted to announce the launch of Dynamic Workspace Alpha!

Checkout our announcement blog post.

Here are a few short videos to get you started:

Why does it matter?

Your local cache will now get populated based on the tools your team members used. This helps during the very first update when your cache is empty. Instead of downloading everything, or downloading files one by one, it can boost downloads based on “which files are typically accessed together with this one”.  

Feel free to provide feedback in the comments! We are actively working on adding more features and improvements and we really value your feedback. :) 

Thank you.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Very glad to see this go Alpha!

I understand that this is a rather niche question, and understand if you aren't yet in a position to give a relevant answer, but:

Do you intend to make the Dynamic Workspace feature (including plasticfs driver) operate within Windows Containers? What about Linux containers?

Link to comment
Share on other sites

How do I change plastic FS' backing storage location from %LOCALAPPDATA%\plastic4 to somewhere else?

We are typically setting up our workstations like this: C for applications, D for development. When we begin to use plasticfs, any files that are fetched or created locally (think "build output") will now take up space on the C drive instead of D. We will run out of space on C quickly, due to the intermediate files that get produced when building stuff.

  • Like 1
Link to comment
Share on other sites

  • calbzam changed the title to [Announcement] PlasticSCM Dynamic Workspace Alpha.

Thank you, that works.

 

Bug report: Plasticfs does not cooperate well with Total Commander ( https://www.ghisler.com/ ).

If I have a *.bat file within the plasticfs file system, and I attempt to launch it via Total Commander, I get the following error message:

image.png.2f7ed29efb0a84f59784944f7e0ce662.png

Similarly, if I try to launch an exe file:

image.png.729159b4eecde122de6aab88ab6b6497.png

Also, when deleting a file, Total Commander first attempts to move it to the recycle bin - which fails, which prompts Total Commander to display a dialog, and ask if I want to delete it permanently. The permanent delete succeeds.

 

I can launch batch files & executables via Windows Explorer. A "move to recycle bin" delete operation via Windows Explorer triggers a permanent delete directly (with a popup). I presume this means that plasticfs simply doesn't support the concept of the recycle bin.

Link to comment
Share on other sites

Hi,

- You are right, PlasticFs doesn't currently support the recycle bin.

- Regarding the Total Commander report, the paths from the screenshots doesn't refer to mounting points. They are already resolved by Windows. Not sure if it would be easy to get some reproduction steps so we can try to debug it.

Regrads,

Carlos.

 

Link to comment
Share on other sites

  • 2 weeks later...

Sorry for the delay. Here are reproduction steps:

1) Ensure you have a dynamic workspace, in this example at C:\MyDynamicWorkspace.

2) Create a batch file at C:\MyDynamicWorkspace\Hello.bat, with the following content: "echo hello".

3) Download and Install Total Commander from https://www.ghisler.com/ .

4) Open a command prompt; run C:\MyDynamicWorkspace\Hello.bat; observe that the command window runs the batch file successfully.

5) Open Total commander; navigate to C:\MyDynamicWorkspace; double click on Hello.bat; observe that you get the following error message: image.png.5f6f30b6a4aeee16d6eac973f9c3de5b.png

(The above screenshot says D-drive -- when I tested this, I used an existing dynamic workspace on my D drive. I have also moved my Plasticfs cache folder to the D drive.)

Link to comment
Share on other sites

Hi Mikael,

Unfortunately this is a limitation of how we are mounting the workspace. Since 10.0.16.5882,  you are now able to workaround this by creating the workspace with a network path e.g. \\workspaces\MyWorkspace. Using this method uses the Windows Mount Manager and therefore works seamlessly with software like Total Commander.

image.png

Hope this helps!

Link to comment
Share on other sites

  • 2 weeks later...

@Khaled, Dynamic workspaces with TeamCity is a fantastic idea. As this is still a very young feature, it is not available in the TeamCity integration yet. But I will be sure to raise this with the team.

@phvalve, there is already a status column in the Workspace Explorer in the Plastic SCM client that shows whether a file is controlled, ignored, contains changes, etc. The only caveat there is it does not show whether a file is locked by another user. (Only Gluon does this currently) I agree that as this feature progresses showing the "dynamic" status of files to the user. This again is great feedback and I will raise it with the team.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Today, I deleted a dynamic workspace via the Plastic SCM client. I noticed that the disk space was not reclaimed immediatedly. I thought "huh, that is odd". Then I closed the Plastic SCM client. This triggered a BSOD - PAGE_FAULT_IN_NONPAGED_AREA. This is the first BSOD that I have with this workstation in a long time - I think, the first in 12+ months.

 

After restarting my machine, I notice that the the Dynamic Workspaces feature doesn't seem to remove plasticfs workspace storage content for me.

When I delete a dynamic workspace, the folder remains with all its contents within the "plasticfs-workspace-storage" folder. An entry is added to the "dynamic-wk-to-delete.conf" file, with folder name + a date. I have verified this once by creating & removing a dynamic workspace since after the bluescreen. I have now deleted the unused storage folders + the config file manually, so to get the diskspace back.

I notice no other weird results. Normal interactions with a preexisting Dynamic Workspace seems to be have as expected. I can't say for sure if deleting Dynamic Workspaces always behaved like this, or if this is a new phenomenon... but I think it has always behaved like this for me.

Link to comment
Share on other sites

  • 4 weeks later...

A philosophical question if I may ask: Will this feature be intended to support the concept of monorepos? It seems like a lot of big companies are using a single huge repo instead of many smaller ones because it makes dependency tracking and code sharing easier, so our company is considering this as well for the future. So far, however, it seems if you're not Google, you can't afford the infrastructure to support such large repositories, especially if they also need to work with remote working nowadays.

So, would you say this will make a monorepo feasible for e.g. indie game studios that are using Unity and maybe share a dozen or so projects and a team size of 20 people?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...