Skip to content

"Linear Lab Linker" is a browser extension that enhances the integration between Linear.app and GitLab. It automatically adds a direct link to the corresponding GitLab branch on Linear issue pages, improving workflow efficiency for developers.

Notifications You must be signed in to change notification settings

yashwanth2804/Linear-gitlab-extention

Repository files navigation

Linear Lab Linker: GitHub/GitLab Branch Connector

Description

"Linear Lab Linker" is a browser extension that enhances the integration between Linear.app and GitHub/GitLab. It automatically adds a direct link to the corresponding GitHub/GitLab branch on Linear issue pages, improving workflow efficiency for developers.

Features

  • Adds a direct link to the GitHub/GitLab branch on Linear issue pages
  • Eliminates the need to wait for a Merge Request to see the branch link
  • Streamlines the development workflow between Linear and GitHub/GitLab

Installation

Step 1: Download or Clone the Repository

  1. Download the Extension:

    • Click on the green "Code" button at the top right of this page.
    • Select "Download ZIP" to download the repository to your local machine.
    • Unzip the downloaded file.

    OR

    Clone the Repository:

    • Open your terminal.
    • Run the following command to clone the repository:
      git clone https://github.com/yashwanth2804/Linear-gitlab-extention.git
    • Navigate to the project directory:
      cd gitlab-branch-linker-linear

Step 2: Load the Extension in Your Browser

  1. Open Chrome/Edge:

    • Go to chrome://extensions/ or edge://extensions/ in your browser's address bar.
  2. Enable Developer Mode:

    • In the top right corner, toggle the "Developer mode" switch to "On."
  3. Load Unpacked Extension:

    • Click the "Load unpacked" button.
    • Browse to the directory where you unzipped or cloned the repository, and select the root folder.
  4. The Extension is Now Installed:

    • The extension will now appear in your list of installed extensions. You should see its icon in the browser toolbar.

Step 3: Setting up the Extension

  1. Adding GitHub/GitLab Branch Link:
    • Click on the Extention icon in the browser toolbar. This will open the extension popup.
    • "Select Git Service" , choose the "GitHub" or "GitLab" service.
    • Click on the "Add GitHub/GitLab Branch Link" input and enter the URL of the GitHub/GitLab project.
    • Enter your username in the "Your Linear username" input.
    • Select the branch format in the "Branch Format" dropdown.
    • Finally click on "Save Settings",and reload the page.

hint: Goto Linear gitlab settings to get your branch format for GitLab and Linear gitlab settings to get your branch format for GitHub.

2. Create a Linear Issue:

  • When you create a new issue in Linear, the extension will automatically generate the corresponding GitHub/GitLab branch link.
  • The link will be displayed directly on the Linear issue page.

Updating the Extension

  1. To Update:
    • Pull the latest changes from the GitHub repository or re-download the ZIP file.
    • Go to the extensions page in your browser (chrome://extensions/ or edge://extensions/).
    • Click the "Reload" button on the extension to update it.

Contributing

How to contribute?

Fork it [https://github.com/yashwanth2804/Linear-gitlab-extention]

Clone it

[https://github.com/<your_github_name>/Linear-gitlab-extention.git or [email protected]:your_github_name/Linear-gitlab-extention.git]

git clone https://github.com/your_github_name/Linear-gitlab-extention.git

Create a branch

cd first-contributions

git checkout -b

Add features

git add you_worked_files

git commit -m "what your features"

push it

git push origin your_branch

Submit a pull request

Then from your account make a pull request

GitHub Account

https://github.com/yashwanth2804

License

MIT

Acknowledgements

Thanks to all the developers who use Linear and GitHub/GitLab in their daily workflow. Your needs inspired this project.

Credits

https://www.svgrepo.com/svg/363652/gitlab-logo-simple-duotone

About

"Linear Lab Linker" is a browser extension that enhances the integration between Linear.app and GitLab. It automatically adds a direct link to the corresponding GitLab branch on Linear issue pages, improving workflow efficiency for developers.

Topics

Resources

Stars

Watchers

Forks