-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'taalexander/taa-add-contribution-guidel…
…ines' into taa-add-contribution-guidelines
- Loading branch information
Showing
12 changed files
with
47 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# (C) Copyright IBM 2023. | ||
# (C) Copyright IBM 2023, 2024. | ||
# | ||
# This code is part of Qiskit. | ||
# | ||
|
@@ -10,7 +10,6 @@ | |
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
from conans import ConanFile | ||
import os | ||
import platform | ||
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout | ||
import subprocess | ||
|
@@ -29,17 +28,13 @@ class QasmConan(ConanFile): | |
"mpc:shared": True, | ||
"mpfr:shared": True, | ||
} | ||
license = "Proprietary" | ||
author = "IBM Quantum development team" | ||
license = "Apache-2.0" | ||
author = "OpenQASM Organization" | ||
topics = ("Compiler", "Parser", "OpenQASM3") | ||
description = "Compiler for OpenQASM3 language." | ||
description = "A flex/bison parser for OpenQASM v3. A part of the Quantum Engine project." | ||
|
||
def source(self): | ||
token = os.environ.get("GITHUB_PAT") | ||
if token is not None: | ||
self.run(f"git clone https://{token}@github.com/openqasm/qe-qasm.git .") | ||
else: | ||
self.run("git clone [email protected]:openqasm/qe-qasm.git .") | ||
self.run("git clone https://github.com/openqasm/qe-qasm.git .") | ||
|
||
commit_hash = self.conan_data["sources"]["hash"] | ||
self.run(f"git checkout {commit_hash}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/add-contribution-guidelines-76301ef50bcf53ae.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
features: | ||
- | | ||
Contribution guidelines for the project have been added to `CONTRIBUTING.md <https://github.com/openqasm/qe-compiler/blob/main/CONTRIBUTING.md>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
features: | ||
- | | ||
Support for `pre-commit <https://pre-commit.com/>`_ has been added to the | ||
project. To install: | ||
pip install pre-commit | ||
pre-commit install | ||
To run on all files: | ||
pre-commit run --all-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
features: | ||
- | | ||
Support for `reno release notes <https://docs.openstack.org/reno/latest/>`_ has been added to the project. | ||
See the `contribution guidelines <https://github.com/openqasm/qe-compiler/blob/main/CONTRIBUTING.md>`_ | ||
for instructions on how to add a release note. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters