Compare commits
47 commits
Author | SHA1 | Date | |
---|---|---|---|
37004c1c42 | |||
be4e4c3d1c | |||
7b5c5952a4 | |||
60edd82b80 | |||
fafab50eda | |||
1da17cea58 | |||
73e7751978 | |||
d4e29a771c | |||
7ac3d26dfb | |||
63124888a9 | |||
68a3b13635 | |||
2674bf3971 | |||
5a7571283e | |||
a20b05f3f2 | |||
a825ec70d5 | |||
bf9b2b9733 | |||
34002173bd | |||
c4d1528ebc | |||
5973edb484 | |||
acb3c2c74f | |||
cb75b6c67b | |||
6aba4c8d5e | |||
510ca6f135 | |||
2ec97bd594 | |||
2a0e9a9398 | |||
2384a3251a | |||
08f957571a | |||
516abfeeb6 | |||
dcac8dcf14 | |||
6fcb2aa398 | |||
669b287880 | |||
fd88b7b523 | |||
ea056e9444 | |||
f4ed064fa9 | |||
4c1e4e704a | |||
c26db8bc62 | |||
2d80fd5131 | |||
bdc1dd52ef | |||
a48ade5db6 | |||
c11966727c | |||
0f0e171334 | |||
71b77f09b6 | |||
0a1ee6c30e | |||
98b6be28d4 | |||
845b4eb1c4 | |||
bd32065630 | |||
dee8f31c89 |
24 changed files with 296 additions and 14 deletions
|
@ -1,21 +1,48 @@
|
|||
default:
|
||||
image: ubuntu:lunar
|
||||
image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:oracular
|
||||
|
||||
variables:
|
||||
PACKAGE: "intellij-idea-ultimate"
|
||||
TZ: UTC
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
NAME: "Marcel Kapfer"
|
||||
EMAIL: "opensource@mmk2410.org"
|
||||
|
||||
stages:
|
||||
- autoupdate
|
||||
- build
|
||||
- deploy
|
||||
|
||||
update-job:
|
||||
stage: autoupdate
|
||||
script:
|
||||
##
|
||||
## Configure SSH key
|
||||
##
|
||||
- eval $(ssh-agent -s)
|
||||
- chmod 400 "$SSH_PRIVATE_KEY"
|
||||
- ssh-add "$SSH_PRIVATE_KEY"
|
||||
- mkdir ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
##
|
||||
## Configure Git setup
|
||||
##
|
||||
- git config user.name "$NAME"
|
||||
- git config user.email "$EMAIL"
|
||||
- git remote set-url origin "$GIT_URL"
|
||||
|
||||
##
|
||||
## Run autoupdate script which handles everything else.
|
||||
##
|
||||
- ./autoupdate.sh
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
||||
build-job:
|
||||
stage: build
|
||||
script:
|
||||
- apt update && apt install -y git devscripts debhelper
|
||||
- export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2)
|
||||
- cd "$PACKAGE"_"$VERSION" || exit
|
||||
- debuild -us -uc
|
||||
|
@ -28,10 +55,9 @@ build-job:
|
|||
- if: $CI_COMMIT_TAG
|
||||
|
||||
deploy-job:
|
||||
image: ubuntu:$UBUNTU_VERSION
|
||||
image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:$UBUNTU_VERSION
|
||||
stage: deploy
|
||||
script:
|
||||
- apt update && apt install -y git devscripts debhelper gnupg
|
||||
- export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2)
|
||||
- echo "$GPG_PRIVATE_KEY" | tr -d '\r' | gpg --import -
|
||||
- echo "$GPG_PUBLIC_KEY" | tr -d '\r' | gpg --import -
|
||||
|
@ -44,4 +70,4 @@ deploy-job:
|
|||
- if: $CI_COMMIT_TAG
|
||||
parallel:
|
||||
matrix:
|
||||
- UBUNTU_VERSION: [trusty, xenial, bionic, focal, kinetic, jammy, lunar]
|
||||
- UBUNTU_VERSION: [trusty, xenial, bionic, focal, jammy, noble, oracular]
|
||||
|
|
33
autoupdate.sh
Executable file
33
autoupdate.sh
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
dir="$(find . -maxdepth 1 -type d -name "intellij-idea-*")"
|
||||
pushd "$dir" || exit 1
|
||||
|
||||
set +e
|
||||
check="$(uscan --dehs --no-download)"
|
||||
set -e
|
||||
|
||||
status="$(echo "$check" | xmllint --xpath 'string(/dehs/status)' -)"
|
||||
|
||||
if [[ "$status" != "newer package available" ]]; then
|
||||
echo "No newer package available."
|
||||
exit
|
||||
fi
|
||||
|
||||
new_version="$(echo "$check" | xmllint --xpath 'string(/dehs/upstream-version)' -)"
|
||||
|
||||
popd
|
||||
|
||||
./update-new-version.sh "$new_version"
|
||||
|
||||
git add -A
|
||||
git commit -m "Upstream version $new_version"
|
||||
|
||||
git switch main
|
||||
git merge --ff-only version-"$new_version"
|
||||
git push origin main
|
||||
|
||||
git tag -a v"$new_version" -m "Upstream version $new_version"
|
||||
git push --tags origin main
|
Binary file not shown.
Binary file not shown.
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
export IDEA_JDK=$JAVA_HOME
|
||||
exec /opt/intellij-idea-ultimate/bin/idea.sh "$@"
|
BIN
intellij-idea-ultimate_2024.3.5-1_all.deb
Normal file
BIN
intellij-idea-ultimate_2024.3.5-1_all.deb
Normal file
Binary file not shown.
BIN
intellij-idea-ultimate_2024.3.5.orig.tar.gz
Normal file
BIN
intellij-idea-ultimate_2024.3.5.orig.tar.gz
Normal file
Binary file not shown.
|
@ -1,3 +1,225 @@
|
|||
intellij-idea-ultimate (2024.3.5-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.5
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Tue, 18 Mar 2025 14:02:10 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.4.1-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.4.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 06 Mar 2025 14:02:13 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.4-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.4
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 28 Feb 2025 14:02:31 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.3-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 13 Feb 2025 14:02:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.2.2-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.2.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 30 Jan 2025 14:02:14 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.2.1-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.2.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 24 Jan 2025 14:02:14 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.2-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 17 Jan 2025 14:02:15 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.1.1-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.1.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 19 Dec 2024 14:02:01 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3.1-1) oracular; urgency=medium
|
||||
|
||||
* Upstream version 2024.3.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Mon, 09 Dec 2024 14:02:30 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.3-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 13 Nov 2024 14:02:09 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2.4-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2.4
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 24 Oct 2024 13:01:54 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2.3-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 26 Sep 2024 13:02:05 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2.2-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 19 Sep 2024 13:02:08 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2.1-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 30 Aug 2024 13:02:07 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2.0.2-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2.0.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 21 Aug 2024 13:02:12 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2.0.1-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2.0.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 14 Aug 2024 13:02:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.2-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 07 Aug 2024 13:02:16 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.1.5-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.1.5
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Tue, 06 Aug 2024 13:02:39 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.1.4-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.1.4
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 21 Jun 2024 13:02:07 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.1.3-1) noble; urgency=medium
|
||||
|
||||
* Upstream version 2024.1.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Tue, 11 Jun 2024 13:02:22 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.1.2-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2024.1.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 23 May 2024 13:02:28 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.1.1-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2024.1.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Tue, 30 Apr 2024 13:02:14 +0000
|
||||
|
||||
intellij-idea-ultimate (2024.1-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2024.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 04 Apr 2024 13:02:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3.6-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3.6
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 22 Mar 2024 14:02:37 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3.5-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3.5
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 13 Mar 2024 14:02:15 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3.4-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3.4
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 14 Feb 2024 14:02:19 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3.3-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 26 Jan 2024 14:02:30 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3.2-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 21 Dec 2023 14:02:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3.1-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 13 Dec 2023 14:04:37 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.3-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 07 Dec 2023 14:02:23 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.2.5-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.2.5
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Fri, 10 Nov 2023 14:01:05 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.2.4-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.2.4
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 25 Oct 2023 13:01:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.2.3-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.2.3
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 12 Oct 2023 13:01:23 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.2.2-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.2.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 14 Sep 2023 13:01:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.2.1-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.2.1
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Thu, 24 Aug 2023 13:01:11 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.2-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.2
|
||||
|
||||
-- Marcel Kapfer <opensource@mmk2410.org> Wed, 26 Jul 2023 18:07:24 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.1.4-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.1.4
|
||||
|
||||
-- autoupdate <opensource@mmk2410.org> Thu, 20 Jul 2023 15:58:59 +0000
|
||||
|
||||
intellij-idea-ultimate (2023.1.3-1) lunar; urgency=medium
|
||||
|
||||
* Upstream version 2023.1.3
|
|
@ -5,13 +5,13 @@ set -e
|
|||
cd /opt/
|
||||
|
||||
## Extract the package
|
||||
tar xf /opt/ideaIU-2023.1.3.tar.gz
|
||||
tar xf /opt/ideaIU-2024.3.5.tar.gz
|
||||
|
||||
## Rename the directory
|
||||
mv /opt/idea-IU-* /opt/intellij-idea-ultimate
|
||||
|
||||
## Remove the tar.gz package
|
||||
rm /opt/ideaIU-2023.1.3.tar.gz
|
||||
rm /opt/ideaIU-2024.3.5.tar.gz
|
||||
|
||||
## Install the .desktop file, if necessary
|
||||
if [ -x "/usr/bin/desktop-file-install" ]; then
|
|
@ -5,6 +5,6 @@ set -e
|
|||
cd /opt/
|
||||
|
||||
## Download IntelliJ IDEA Community from the jetbrain servers
|
||||
wget -c https://download-cf.jetbrains.com/idea/ideaIU-2023.1.3.tar.gz
|
||||
wget -c https://download-cf.jetbrains.com/idea/ideaIU-2024.3.5.tar.gz
|
||||
|
||||
##DEBHELPER##
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
3
intellij-idea-ultimate_2024.3.5/intellij-idea-ultimate
Executable file
3
intellij-idea-ultimate_2024.3.5/intellij-idea-ultimate
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
export IDEA_JDK=$JAVA_HOME
|
||||
exec /opt/intellij-idea-ultimate/bin/idea "$@"
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# This script intends to decrease the effort of updating the package.
|
||||
|
||||
|
@ -12,11 +12,12 @@ if [[ $? != 0 ]]; then
|
|||
fi
|
||||
|
||||
PACKAGE="intellij-idea-ultimate"
|
||||
DISTRIBUTION="lunar"
|
||||
DISTRIBUTION="oracular"
|
||||
|
||||
last_tag=$(git describe --abbrev=0 --tags)
|
||||
old="${last_tag#?}"
|
||||
new="$1"
|
||||
|
||||
name="$(git config --get user.name)"
|
||||
email="$(git config --get user.email)"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue