Categories

Versions

Collaborate via Projects

A Project is a shared repository with version control provided by Git.

Projects enable your team to collaborate easily and safely, because you can roll back your changes at any point in time. Under the hood, the Projects of RapidMiner AI Hub utilize a Git Server, enabling the connection to third-party tools, but no knowledge of Git is required when working with Projects.

The following sections outline how to use and manage Projects. For additional details, see the RapidMiner Studio documentation.

Read more: Configure projects

Create a Project

Create a Project within the RapidMiner AI Hub Web UI:

  1. On the left, click on Projects:

    img/create/open-projects.png

  2. The Projects page is displayed. On the top right, click Create Project.

    img/create/create-project.png

  3. The Create Project dialog opens.

    img/create/create-project-modal-small.png

    Migrating an external Git repository to RapidMiner AI Hub

    If you are creating a completely new Project, you should leave Initialize Project and Enable Git LFS checked. Enabling Git LFS reduces the impact of large files in your Project. By default, .ioo, .rmhdf5table, .collection and .conninfo file types are tracked with LFS.

    If, on the other hand, you want to share an externally-created Git repository as a Project via RapidMiner AI Hub, you should:

    • leave Initialize Project unchecked, and Create the Project
    • insert the Project URL as the remote URL in the external .git/config, and execute git push

        [remote "origin"]
                url = http://localhost:8080/git/my-project.git
      
    • if Git LFS is enabled, the use of LFS in the client is highly recommended. Install LFS with git lfs install and configure the LFS URL by running

        git config lfs.url <your_server_address:port>/lfs/my-project.git
      

      Make sure that the .gitattributes file is tracked. By default, a .lfsconfig is created during Project creation to ease this process for non RapidMiner clients.

  4. Congratulations! You have created your first Project and it will be visible on the Projects page:

    img/create/first-project.png

Connect to a Project

After you have created your first Project you can connect to it via RapidMiner Studio by using the associated Project URL.

img/connect/clone-url.png

In the same way, any external Git client can connect to the Project. For example, using the Git command-line interface, you can connect to the Project as follows:

git clone <Project URL>

If you need Bearer authentication to work with your CLI git clone, then you need to retrieve a valid JWT (idToken) before invoking the clone command from the REST API. Once you retrieved it, you can change the initial clone command to:

git -c http.extraHeader="Authorization: Bearer $idToken" clone <Project URL>

If you need to debug CLI git calls, add any of the common git debug environment variables before your git command. Available are GIT_CURL_VERBOSE=1, GIT_TRACE=1 and GIT_VERBOSE=1.

View a Project

From the Projects page, you can browse individual Projects by clicking the drop-down icon.

img/browse/view.png+

Overview

The Overview page displays the meta information of the Project. Depending on your privileges, you can edit the permissions or delete the entire Project.

img/browse/overview.png

Contents

The Contents page allows you to browse the Project content on RapidMiner AI Hub.

  • A click on a folder will display its content.
  • A click on a file will open the details view for the specific file type.

img/browse/content.png

Snapshot History

The Snapshot History page displays the history of the Project. Each row in the table corresponds to a Snapshot.

img/browse/snapshot-history-1.png

To inspect a Snapshot, click on the Description message for that row. The details page lists the files and folders that have been changed in this Snapshot. You can download the whole Snapshot as a ZIP file by clicking Download source.

img/browse/snapshot-history-2.png

Edit a Project (permissions)

The permissions system distinguishes between content permissions and Project permissions.

  • Permitted Users & Groups have access to the contents of the Project. To add a user or group, select them from All Users & Groups, and press the right arrow.

    • They can browse the Contents tab.
    • They can modify the content via RapidMiner Studio or an external Git client.
    • They cannot alter Project-related settings in the Overview tab.
  • Owners can change the Project-related settings in the Overview tab. To add an owner, use the search box below the list of existing owners.

    • They can modify the lists of Permitted Users & Groups and Owners.
    • They can delete the Project.

img/permissions/permissions.png

Delete a Project

CAUTION: The delete operation is a destructive operation and CANNOT be undone. Deleted Projects are NOT recoverable!

Only the owners of a Project can delete a Project. To delete a Project, click Delete from within the Projects page or the Overview page.

img/delete/delete-1.png

To protect the Project, a confirmation dialog is displayed. To confirm that you really want to delete the Project, you must first enter the Project name, and then click Delete.

img/delete/delete-2.png