Manage your organization's mailmap | Fluid Attacks Help

Manage your organization's mailmap

Info on required role
A Fluid Attacks Admin, Customer Manager or Resourcer role is required.
Note on client roleNote: Currently, User Managers can access the Mailmap section in read-only mode.
The mailmap is a file that helps organize and unify different email addresses and names used by contributors. It's useful when contributors have used multiple email addresses or names over time, allowing you to show a consistent view of their contributions.

You can now manage the mailmap authors of your organization directly within Fluid Attacks' platform.

Understand the Mailmap section

The Mailmap section presents a table where each row corresponds to an author (a contributor within your organization's repositories). Each author is identified by the following:
  • Author name: Also known as canonical name, the primary or preferred name of the contributor
  • Author email: Also known as canonical email, the primary or preferred email address associated with the contributor

  • Enter Mailmap section on the Fluid Attacks platform

    To accommodate variations in contributor information, each author can have multiple aliases linked to them. An alias represents an alternative name or email address used by the same contributor. Expand an author's row to view their associated aliases.

    Create alias on the Fluid Attacks platform

    Take a mailmap file with the following entries:

    Alice Garcia <alice.garcia@demo.com> Alice Garcia <alice@subentry.com>
    Alice Garcia <alice.garcia@demo.com> Alice J Garcia <alicej@subentry.com>

    These entries look like this in Fluid Attacks' Mailmap section:

    See mailmap entries on the Fluid Attacks platform

    Mailmap rules

    These are the rules that must be followed at the time of documenting the mailmap:
    1. Use the email address of the provider over the one of the client.
    2. Do not map by default a non-corporate email such as userdeveloper <user123@gmail.com>.
    3. In order to map a non-corporate email to a corporate one, written request from the client is required.

    Mailmap section functionalities

    Create author

    To create an author, click the Create author button and enter the author's name and email. After creating an author, an alias with the same details is automatically created. You can update this alias later if needed.

    Create a mailmap entry on the Fluid Attacks platform


    Note on author information
    Notes:
  • Each author within an organization must have a unique email address.
  • To add additional names or email addresses associated with an existing author, create aliases instead of new authors.
  • The unique email constraint simplifies searching for authors using the search bar or filters.
  • Update author

    To update an author, follow these steps:
    1. Select the author whose information you want to update by clicking their corresponding checkbox.

    2. Click on Author configuration.

    3. Select the Update author option.
      Update author on the Fluid Attacks platform

    4. Modify the author's name and email in the pop-up window.
      Change author information on the Fluid Attacks platform

    5. Click on Update author when you are done to apply the changes.

    Delete author

    Follow the steps below to delete an author. You can only delete one author at a time.
    1. Click the checkbox next to the author you want to delete.

    2. Click on Author configuration.

    3. Select the Delete author option.
      Delete author from the Fluid Attacks platform

    4. Confirm deletion in the pop-up window by clicking Delete author.
      Confirm author deletion on the Fluid Attacks platform

    5. Click on Update author when you are done to apply the changes.
    Warning on removing an author
    Deleting an author also deletes all associated aliases.

    Set author as alias

    This feature allows you to merge two authors into one, consolidating their contribution history under a single author. To set an author entry as alias, do the following:

    1. Select the author you want to merge by checking their corresponding checkbox.

    2. Click on Author configuration and then on Set author as alias.
      Set alias on the Fluid Attacks platform

    3. In the form, enter the target author's email (the author with which you want to merge the selected author).
      Merge authors on the Fluid Attacks platform

    4. Confirm the merge by clicking Set author as alias. The selected author and all their aliases are then all added as aliases under the target author.
      View merged aliases on the Fluid Attacks platform

    5. Note on caution icon
      Note: A caution icon next to the author email, as shown in the screenshot above, signifies that one or more domains in alias email do not match that of the author email.

    Create alias

    Follow these steps to create an alias under an author:
    1. Locate the author you want to add an alias to and expand their row.

    2. Click the Create alias button found in the expanded row.
      Create an alias on the Fluid Attacks platform

    3. In the pop-up window, enter the alias name and email address.
      Add alias information on the Fluid Attacks platform

    4. Click on Create alias to confirm.

    Update alias

    To update an alias follow these steps:
    1. Select the alias you want to update by clicking its corresponding checkbox.

    2. Click the Alias configuration button and select the Update alias option.
      Update alias on the Fluid Attacks platform

    3. Update the alias details.
      Change alias details on the Fluid Attacks platform

    4. Click on Update alias to confirm.
    Note on search constraint
    Note: Currently, search functionality is limited to authors. To locate a specific alias, you need to know the details of its associated author and use the search bar or filters to find that author.

    Delete alias

    Below are the steps to delete an alias. You can only delete one alias at a time.
    1. Select the alias you want to delete by clicking its corresponding checkbox.

    2. Click on Alias configuration and then on the Delete alias option.
      Delete alias on the Fluid Attacks platform

    3. Confirm alias deletion in the pop-up window by clicking on Delete alias.
      Confirm alias deletion on the Fluid Attacks platform

    Set alias as author

    This functionality allows you to swap places between alias information and author information, making the former alias information the primary identifier for that contributor. 
    1. Select the alias entry that you would like to swap places with the author entry.

    2. Click on Alias configuration and select Set alias as author.
      Set alias as author on the Fluid Attacks platform


    3. Click Set alias as author to confirm the change.
    4. Confirm alias to author conversion on the Fluid Attacks platform

    Create author from alias

    You can choose an alias and convert it to an author. These are the steps to achieve it:
    1.  Select the alias entry that you want to transform into an author entry.

    2. Click on Alias configuration and select Convert alias to new author.
      Find option to convert alias to author on the Fluid Attacks platform

    3. In the confirmation window, indicate, if you wish, which related aliases to migrate to the new author.
      Migrate aliases to author on the Fluid Attacks platform

    4. Click on Convert aliases to new author when you are done.