Release Notes

Public

10.0.16.6241: Nov 09 2021

New

All platforms - client: Parallel download for big files now available!

Big files are stored in blocks, and now each block can be downloaded in parallel, achieving an incredible speed up.

We tested downloading a 560 MB file from Plastic Cloud using a 600mbps connection and now the speed is 2.5 times faster.

New

All platforms - Command line client: cm find branch allows formatting using the branch guid.

Previously running "cm find branch --format={guid}" returned an error since the guid was unsupported as a format field, it now prints the branch guid.

New

All platforms: Client: 27% less memory during the update operation

We worked on saving memory allocations on the client core, and finally, we were able to reduce up to 27% of the total allocations during an update operation.

Find some numbers here: We ran a 'cm update' to download 8GB of data and:

* Before: cm allocated 636MB

* After: cm allocated only 460MB (27% less)

New

All platforms - Cloud: Archiving revisions is now available in Cloud!

You can reduce the size (and the costs :)) of your cloud repositories by archiving revisions to an external storage.

Check the whole archive documentation here.

In summary, we can simply archive one revision as follows:

cm archive Assets/RoofTextures/Textures/Wooden_Roof_05.png --file=/Users/ruben/archive/battle
Total 2.131 Mb. Comp. 2.117 Mb
Command finished successfully

After executing the command, we can see the archived revision in the specified output path:

ls -al /Users/ruben/archive/battle*
-rw-r--r--  1 ruben  staff  2220039 Nov  9 10:52 /Users/ruben/archive/battle-100280-167

To unarchive the revision, firstly, we need to add the output archive folder to the externaldata.conf file:

vi /Users/ruben/.plastic4/externaldata.conf
/Users/ruben/archive

and run the command to unarchive the revision:

cm archive Assets/RoofTextures/Textures/Wooden_Roof_05.png --restore
Total 2.131 Mb. Comp. 2.117 Mb
Command finished successfully

And that's all :).

Now, let's answer some questions:

How can I archive all the revisions bigger than 10 MB?

Very easy! Just find for the revisions bigger than 10MB in the repo and pass them to the 'cm archive' command as follows:

cm archive $(cm find "revs where size > 10000000 on repository 'repo@org@cloud'" --format=rev:revid:{id}@repo@org@cloud  --nototal | paste -sd " " -) --file=/external/archive

Remark: the 'cm archive' command also supports pipe to receive arguments from the standard input as follows:

cm find "revs where size > 10000000 on repository 'repo@org@cloud'" --format=rev:revid:{id}@repo@org@cloud  --nototal | cm archive - --file=/external/archive

How can I archive all the revisions of the file '/arch.zip' file? Guess what?

Very easy too! Just find for all the revisions of that item and pass them to the 'cm archive' command as follows:

cm archive $(cm find "revs where itemid=$(cm ls /arch.zip --tree=br:/main@repo@org@cloud --format={itemid}) on repository 'repo@org@cloud'" --format=rev:revid:{id}@repo@org@cloud --nototal | paste -sd " " -) --file=/external/archive

How can I archive all the revisions except the last one loaded in br:/main?

It's exactly like the previous command but adding a condition to the find to skip the revision loaded in br:/main.

cm archive $(cm find "revs where itemid=$(cm ls /arch.zip --tree=br:/main@repo@org@cloud --format={itemid}) and id != $(cm ls /arch.zip --tree=br:/main@repo@org@cloud--format={revid}) on repository 'repo@org@cloud'" --nototal --format=rev:revid:{id}@repo@org@cloud | paste -sd " " -) --file=/external archive

The possibilities are infinite using find conditions with the ls command to resolve revision and item ids. The 'cm archive' command only needs a list of revisions that we can filter as we prefer.

New

All platforms - Web UI: Added alpha version to the logo

We added the "Alpha" label to the logo to show that WebUI is a pre-release early version.

Bug

All platforms - Plastic, Gluon: Fixed displayed user name on Active Directory servers

When working with a repository on a server configured with Active Directory, if the server was not your default one, we were displaying the user ID in the Active Directory instead of the user name. This issue was fixed, and now you will always see the user name

Before:

ScreenshotScreenshot

After:

ScreenshotScreenshot

Bug

All platforms - Plastic, Gluon: Fix help panel in repositories view

We had an issue with the help panel in the repositories view and cloud view: we were always showing it, even when the user checked the "Don't show again" checkbox. Now we only show it when it's needed

Bug

All platforms - Server: Fixed null error from the log

The server was logging a null error when a not-used connection was finished. This error didn't have any impact apart from being logged. Now it's fixed.