diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 00000000000000..1247fb050c0610 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck diff --git a/New release pipeline.json b/New release pipeline.json new file mode 100644 index 00000000000000..4a1788c3d68b41 --- /dev/null +++ b/New release pipeline.json @@ -0,0 +1 @@ +{"source":2,"revision":1,"description":"stage release ","createdBy":{"displayName":"Noômen Ben hassin","url":"https://spsprodweu2.vssps.visualstudio.com/A2fc0f199-a606-4842-8900-98d01ad9e55f/_apis/Identities/bb3f1c83-7057-6b26-a388-0a29b799a8dd","_links":{"avatar":{"href":"https://dev.azure.com/bnhassin/_apis/GraphProfile/MemberAvatars/msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk"}},"id":"bb3f1c83-7057-6b26-a388-0a29b799a8dd","uniqueName":"bnhassin@outlook.com","imageUrl":"https://dev.azure.com/bnhassin/_apis/GraphProfile/MemberAvatars/msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk","descriptor":"msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk"},"createdOn":"2019-07-06T13:59:33.280Z","modifiedBy":{"displayName":"Noômen Ben hassin","url":"https://spsprodweu2.vssps.visualstudio.com/A2fc0f199-a606-4842-8900-98d01ad9e55f/_apis/Identities/bb3f1c83-7057-6b26-a388-0a29b799a8dd","_links":{"avatar":{"href":"https://dev.azure.com/bnhassin/_apis/GraphProfile/MemberAvatars/msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk"}},"id":"bb3f1c83-7057-6b26-a388-0a29b799a8dd","uniqueName":"bnhassin@outlook.com","imageUrl":"https://dev.azure.com/bnhassin/_apis/GraphProfile/MemberAvatars/msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk","descriptor":"msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk"},"modifiedOn":"2019-07-06T13:59:33.280Z","isDeleted":false,"variables":{},"variableGroups":[],"environments":[{"id":1,"name":"Stage 1","rank":1,"owner":{"displayName":"Noômen Ben hassin","url":"https://spsprodweu2.vssps.visualstudio.com/A2fc0f199-a606-4842-8900-98d01ad9e55f/_apis/Identities/bb3f1c83-7057-6b26-a388-0a29b799a8dd","_links":{"avatar":{"href":"https://dev.azure.com/bnhassin/_apis/GraphProfile/MemberAvatars/msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk"}},"id":"bb3f1c83-7057-6b26-a388-0a29b799a8dd","uniqueName":"bnhassin@outlook.com","imageUrl":"https://dev.azure.com/bnhassin/_apis/GraphProfile/MemberAvatars/msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk","descriptor":"msa.YmIzZjFjODMtNzA1Ny03YjI2LWEzODgtMGEyOWI3OTlhOGRk"},"variables":{},"variableGroups":[],"preDeployApprovals":{"approvals":[{"rank":1,"isAutomated":true,"isNotificationOn":false,"id":1}],"approvalOptions":{"requiredApproverCount":null,"releaseCreatorCanBeApprover":false,"autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped":false,"enforceIdentityRevalidation":false,"timeoutInMinutes":0,"executionOrder":1}},"deployStep":{"id":2},"postDeployApprovals":{"approvals":[{"rank":1,"isAutomated":true,"isNotificationOn":false,"id":3}],"approvalOptions":{"requiredApproverCount":null,"releaseCreatorCanBeApprover":false,"autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped":false,"enforceIdentityRevalidation":false,"timeoutInMinutes":0,"executionOrder":2}},"deployPhases":[{"deploymentInput":{"parallelExecution":{"parallelExecutionType":0},"agentSpecification":null,"skipArtifactsDownload":false,"artifactsDownloadInput":{"downloadInputs":[]},"queueId":11,"demands":[],"enableAccessToken":false,"timeoutInMinutes":0,"jobCancelTimeoutInMinutes":1,"condition":"succeeded()","overrideInputs":{}},"rank":1,"phaseType":1,"name":"Agent job","refName":null,"workflowTasks":[]}],"environmentOptions":{"emailNotificationType":"OnlyOnFailure","emailRecipients":"release.environment.owner;release.creator","skipArtifactsDownload":false,"timeoutInMinutes":0,"enableAccessToken":false,"publishDeploymentStatus":true,"badgeEnabled":true,"autoLinkWorkItems":true,"pullRequestDeploymentEnabled":false},"demands":[],"conditions":[{"name":"ReleaseStarted","conditionType":1,"value":""}],"executionPolicy":{"concurrencyCount":1,"queueDepthCount":0},"schedules":[],"currentRelease":{"id":0,"url":"https://vsrm.dev.azure.com/bnhassin/50368f6b-0431-46f8-8358-405865c846a1/_apis/Release/releases/0","_links":{}},"retentionPolicy":{"daysToKeep":30,"releasesToKeep":3,"retainBuild":true},"processParameters":{},"properties":{},"preDeploymentGates":{"id":0,"gatesOptions":null,"gates":[]},"postDeploymentGates":{"id":0,"gatesOptions":null,"gates":[]},"environmentTriggers":[],"badgeUrl":"https://vsrm.dev.azure.com/bnhassin/_apis/public/Release/badge/50368f6b-0431-46f8-8358-405865c846a1/1/1"}],"artifacts":[],"triggers":[],"releaseNameFormat":"Release-$(rev:r)","tags":[],"properties":{"DefinitionCreationSource":{"$type":"System.String","$value":"ReleaseNew"},"IntegrateJiraWorkItems":{"$type":"System.String","$value":"false"}},"id":1,"name":"New release pipeline","path":"\\","projectReference":null,"url":"https://vsrm.dev.azure.com/bnhassin/50368f6b-0431-46f8-8358-405865c846a1/_apis/Release/definitions/1","_links":{"self":{"href":"https://vsrm.dev.azure.com/bnhassin/50368f6b-0431-46f8-8358-405865c846a1/_apis/Release/definitions/1"},"web":{"href":"https://dev.azure.com/bnhassin/50368f6b-0431-46f8-8358-405865c846a1/_release?definitionId=1"}}} \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000000000..034e848032092e --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/SSH b/SSH new file mode 100644 index 00000000000000..bc58f863596b11 --- /dev/null +++ b/SSH @@ -0,0 +1,2 @@ +start-ssh-agent.cmd +eval `ssh-agent` diff --git a/azure artifacts b/azure artifacts new file mode 100644 index 00000000000000..3d9025bc92d916 --- /dev/null +++ b/azure artifacts @@ -0,0 +1,4 @@ +az artifacts universal download --organization "https://dev.azure.com/bnhassin/" --feed "myFeed" --name "myPackageName" --version 1.0.0 --path . --file-filter "**/*.exe;**/*.pdll" +az devops security permission namespace show --id:b08e1ca5-0e37-4ef2-a10d-01ef2011b8da + [--dettect {false, true}] + [--org] diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000000000..4eee003243584e --- /dev/null +++ b/build.gradle @@ -0,0 +1,5 @@ +dependencies { + def appCenterSdkVersion = '2.1.0' + implementation "com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}" + implementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}" +} diff --git a/build.notifications b/build.notifications new file mode 100644 index 00000000000000..d2ed47d2b295a2 --- /dev/null +++ b/build.notifications @@ -0,0 +1,4 @@ +dependencies { + def appCenterSdkVersion = '2.2.0' + implementation "com.microsoft.appcenter:appcenter-push:${appCenterSdkVersion}" +} diff --git a/clone b/clone new file mode 100644 index 00000000000000..72a57d5fcbc5fb --- /dev/null +++ b/clone @@ -0,0 +1 @@ +git clone "https://gerrit.googlesource.com/gerrit-ci-scripts" diff --git a/confing.yml b/confing.yml new file mode 100644 index 00000000000000..69103c93980818 --- /dev/null +++ b/confing.yml @@ -0,0 +1,107 @@ +{ + "os": [ + "linux", + "osx" + ], + "dist": "xenial", + "sudo": false, + "cache": { + "directories": [ + "$HOME/travis-cache" + ] + }, + "group": "stable", + "addons": { + "apt": { + "sources": [ + "ubuntu-toolchain-r-test" + ], + "packages": [ + "language-pack-is", + "git-svn", + "apache2", + "gcc-8" + ] + } + }, + "matrix": { + "include": [ + { + "os": "linux", + "env": "jobname=GETTEXT_POISON", + "dist": "xenial", + "addons": null, + "compiler": null, + "before_install": null + }, + { + "os": "linux", + "env": "jobname=Windows", + "dist": "xenial", + "addons": null, + "script": [ + "test \"$TRAVIS_REPO_SLUG\" != \"git/git\" || ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)\n" + ], + "compiler": null, + "after_failure": null, + "before_install": null + }, + { + "os": "linux", + "env": "jobname=Linux32", + "dist": "trusty", + "addons": null, + "script": "ci/run-linux32-docker.sh", + "compiler": null, + "services": [ + "docker" + ], + "before_install": null + }, + { + "os": "linux", + "env": "jobname=StaticAnalysis", + "dist": "xenial", + "addons": { + "apt": { + "packages": [ + "coccinelle" + ] + } + }, + "script": "ci/run-static-analysis.sh", + "compiler": null, + "after_failure": null, + "before_install": null + }, + { + "os": "linux", + "env": "jobname=Documentation", + "dist": "xenial", + "addons": { + "apt": { + "packages": [ + "asciidoc", + "xmlto" + ] + } + }, + "script": "ci/test-documentation.sh", + "compiler": null, + "after_failure": null, + "before_install": null + } + ] + }, + "script": "ci/run-build-and-tests.sh", + ".result": "configured", + "compiler": [ + "clang", + "gcc" + ], + "language": "c", + "after_failure": "ci/print-test-failures.sh", + "notifications": { + "email": false + }, + "before_install": "ci/install-dependencies.sh" diff --git a/failed-test-artifacts.zip b/failed-test-artifacts.zip new file mode 100644 index 00000000000000..d1692bda716586 Binary files /dev/null and b/failed-test-artifacts.zip differ diff --git a/hooks b/hooks new file mode 100644 index 00000000000000..db4b680b25a39a --- /dev/null +++ b/hooks @@ -0,0 +1 @@ +git clone https://gerrit.googlesource.com/gerrit-ci-scripts && (cd gerrit-ci-scripts && f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x $f) diff --git a/import b/import new file mode 100644 index 00000000000000..33c371bf4869d8 --- /dev/null +++ b/import @@ -0,0 +1,2 @@ +import com.microsoft.appcenter.AppCenter; +import com.microsoft.appcenter.push.Push; diff --git a/localhost:29418 b/localhost:29418 new file mode 100644 index 00000000000000..e6d4f006ed373b --- /dev/null +++ b/localhost:29418 @@ -0,0 +1,2 @@ +git fetch ssh://localhost:29418/project refs/meta/config + git checkout FETCH_HEAD diff --git a/msg b/msg new file mode 100644 index 00000000000000..f28346fac15ffb --- /dev/null +++ b/msg @@ -0,0 +1 @@ +git clone https://gerrit.googlesource.com/plugins/github-profile && (cd github-profile && f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x $f) diff --git a/patch-diff b/patch-diff new file mode 100644 index 00000000000000..01f57c6caeb9a3 --- /dev/null +++ b/patch-diff @@ -0,0 +1,192 @@ +From d78ca24f3b9fbc45cb288259147cb1386018d4d7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Noômen=20Ben=20Hassin?= <bnhassin@gmail.com> +Date: Sun, 20 Jan 2019 19:25:12 +0100 +Subject: [PATCH 1/5] Create Contributing + +Added Contribution to Git Work with GitHub +--- + contributing | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + create mode 100644 contributing + +diff --git a/contributing b/contributing +new file mode 100644 +index 0000000000000..64e605a02b71c +--- /dev/null ++++ b/contributing +@@ -0,0 +1,19 @@ ++## Contributing to Git ++ ++Thanks for taking the time to contribute to Git! Please be advised that the ++Git community does not use github.com for their contributions. Instead, we use ++a mailing list (git@vger.kernel.org) for code submissions, code ++reviews, and bug reports. ++ ++Nevertheless, you can use [submitGit](http://submitgit.herokuapp.com/) to ++conveniently send your Pull Requests commits to our mailing list. ++ ++Please read ["A note from the maintainer"](https://git.kernel.org/pub/scm/git/git.git/plain/MaintNotes?h=todo) ++to learn how the Git project is managed, and how you can work with it. ++In addition, we highly recommend you to read [our submission guidelines](../Documentation/SubmittingPatches). ++ ++If you prefer video, then [this talk](https://www.youtube.com/watch?v=Q7i_qQW__q4&feature=youtu.be&t=6m4s) ++might be useful to you as the presenter walks you through the contribution ++process by example. ++ ++Your friendly Git community! + +From 113a49696cbd28d6a8c25b298b30a795a3641f64 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Noômen=20Ben=20Hassin?= <bnhassin@gmail.com> +Date: Wed, 23 Jan 2019 20:30:40 +0100 +Subject: [PATCH 2/5] Create SCRIPT + +Git Bash Configuration +--- + script | 1 + + 1 file changed, 1 insertion(+) + create mode 100644 script + +diff --git a/script b/script +new file mode 100644 +index 0000000000000..2e053e1297e8c +--- /dev/null ++++ b/script +@@ -0,0 +1 @@ ++git config --global http.Cookiefile "%UserPROFILe%\.gitcookies" powershell -noprofile -nologo -command Write-Output "gerrit.googlesource.com'tFALSE't/'tTRUE't2147483647'to'tgit-bnhassin + +From f35050b68442e874112734d9913e8c7319614df3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Noômen=20Ben=20Hassin?= <bnhassin@gmail.com> +Date: Wed, 23 Jan 2019 23:15:01 +0100 +Subject: [PATCH 3/5] Create Resubmit + +Published For Notification Travis-Ci Building +--- + resubmit | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 79 insertions(+) + create mode 100644 resubmit + +diff --git a/resubmit b/resubmit +new file mode 100644 +index 0000000000000..797698aea6201 +--- /dev/null ++++ b/resubmit +@@ -0,0 +1,79 @@ ++language: c ++ ++sudo: Bnhassin ++ ++cache: ++ directories: ++ - $HOME/travis-cache ++ ++os: ++ - linux ++ - osx ++ ++compiler: ++ - clang ++ - gcc ++ ++addons: ++ apt: ++ sources: ++ - ubuntu-toolchain-r-test ++ packages: ++ - language-pack-is ++ - git-svn ++ - apache2 ++ - gcc-8 ++ ++matrix: ++ include: ++ - env: jobname=GETTEXT_POISON ++ os: linux ++ compiler: ++ addons: ++ before_install: ++ - env: jobname=Windows ++ os: linux ++ compiler: ++ addons: ++ before_install: ++ script: ++ - > ++ test "$TRAVIS_REPO_SLUG" != "git/git" || ++ ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD) ++ after_failure: ++ - env: jobname=Linux32 ++ os: linux ++ compiler: ++ addons: ++ services: ++ - docker ++ before_install: ++ script: ci/run-linux32-docker.sh ++ - env: jobname=StaticAnalysis ++ os: linux ++ compiler: ++ addons: ++ apt: ++ packages: ++ - coccinelle ++ before_install: ++ script: ci/run-static-analysis.sh ++ after_failure: ++ - env: jobname=Documentation ++ os: linux ++ compiler: ++ addons: ++ apt: ++ packages: ++ - asciidoc ++ - xmlto ++ before_install: ++ script: ci/test-documentation.sh ++ after_failure: ++ ++before_install: ci/install-dependencies.sh ++script: ci/run-build-and-tests.sh ++after_failure: ci/print-test-failures.sh ++ ++notifications: ++ email: bnhassin@gmail.com + +From a1cf673fbba86f49cd2bc1940e3ed5d9774a38a5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Noômen=20Ben=20Hassin?= <bnhassin@gmail.com> +Date: Sat, 26 Jan 2019 00:06:38 +0100 +Subject: [PATCH 4/5] Create Directory + +Include Paths Directory +--- + dir | 2 ++ + 1 file changed, 2 insertions(+) + create mode 100644 dir + +diff --git a/dir b/dir +new file mode 100644 +index 0000000000000..3635759572a6d +--- /dev/null ++++ b/dir +@@ -0,0 +1,2 @@ ++mkdir ~/bin ++PATH=~/bin:$PATH + +From 1121062e6894a0c5cd2d0ab9f72dea9fc9c79963 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Noômen=20Ben=20Hassin?= <bnhassin@gmail.com> +Date: Sat, 26 Jan 2019 00:37:31 +0100 +Subject: [PATCH 5/5] Create Git Owner + +Edit User Managing +--- + mng | 2 ++ + 1 file changed, 2 insertions(+) + create mode 100644 mng + +diff --git a/mng b/mng +new file mode 100644 +index 0000000000000..75147546989a3 +--- /dev/null ++++ b/mng +@@ -0,0 +1,2 @@ ++git config --global user.name "Bnhassin" ++git config --global user.email "bnhassin@gmail.com" diff --git a/plugin b/plugin new file mode 100644 index 00000000000000..eb055d31d8b0ed --- /dev/null +++ b/plugin @@ -0,0 +1 @@ +git clone "https://gerrit.googlesource.com/plugins/github-profile" diff --git a/push b/push new file mode 100644 index 00000000000000..ddeb6071a0d797 --- /dev/null +++ b/push @@ -0,0 +1 @@ +git push origin HEAD:refs/for/master diff --git a/teamnotify b/teamnotify new file mode 100644 index 00000000000000..739254518e2af2 --- /dev/null +++ b/teamnotify @@ -0,0 +1,2 @@ +git commit -a -m "Notify team-bnhassin@gmail.com of changes" + git push ssh://localhost:29418/project HEAD:refs/meta/config