Compare commits

...

45 commits

Author SHA1 Message Date
37004c1c42 Upstream version 2024.3.5 2025-03-18 14:02:15 +00:00
be4e4c3d1c Upstream version 2024.3.4.1 2025-03-06 14:02:17 +00:00
7b5c5952a4 Upstream version 2024.3.4 2025-02-28 14:02:35 +00:00
60edd82b80 Upstream version 2024.3.3 2025-02-13 14:02:15 +00:00
fafab50eda Upstream version 2024.3.2.2 2025-01-30 14:02:19 +00:00
1da17cea58 Upstream version 2024.3.2.1 2025-01-24 14:02:18 +00:00
73e7751978 Upstream version 2024.3.2 2025-01-17 14:02:20 +00:00
d4e29a771c Upstream version 2024.3.1.1 2024-12-19 14:02:05 +00:00
7ac3d26dfb Upstream version 2024.3.1 2024-12-09 14:02:35 +00:00
63124888a9 Use native launcher
Refs: #12
2024-11-14 15:50:32 +01:00
68a3b13635 🔧 Update supported Ubuntu versions 2024-11-13 16:45:10 +01:00
2674bf3971 Upstream version 2024.3 2024-11-13 14:02:14 +00:00
5a7571283e Upstream version 2024.2.4 2024-10-24 13:01:59 +00:00
a20b05f3f2 Upstream version 2024.2.3 2024-09-26 13:02:09 +00:00
a825ec70d5 Upstream version 2024.2.2 2024-09-19 13:02:13 +00:00
bf9b2b9733 🔧 Update supported Ubuntu versions 2024-09-03 07:42:45 +02:00
34002173bd Upstream version 2024.2.1 2024-08-30 13:02:11 +00:00
c4d1528ebc Upstream version 2024.2.0.2 2024-08-21 13:02:16 +00:00
5973edb484 Upstream version 2024.2.0.1 2024-08-14 13:02:15 +00:00
acb3c2c74f Upstream version 2024.2 2024-08-07 13:02:20 +00:00
cb75b6c67b Upstream version 2024.1.5 2024-08-06 13:02:43 +00:00
6aba4c8d5e Upstream version 2024.1.4 2024-06-21 13:02:12 +00:00
510ca6f135 Upstream version 2024.1.3 2024-06-11 13:02:27 +00:00
2ec97bd594 🔧 Update supported Ubuntu versions 2024-05-29 18:49:44 +02:00
2a0e9a9398 Upstream version 2024.1.2 2024-05-23 13:02:32 +00:00
2384a3251a Upstream version 2024.1.1 2024-04-30 13:02:17 +00:00
08f957571a Upstream version 2024.1 2024-04-04 13:02:15 +00:00
516abfeeb6 Upstream version 2023.3.6 2024-03-22 14:02:41 +00:00
dcac8dcf14 Upstream version 2023.3.5 2024-03-13 14:02:19 +00:00
6fcb2aa398 Upstream version 2023.3.4 2024-02-14 14:02:23 +00:00
669b287880 Upstream version 2023.3.3 2024-01-26 14:02:35 +00:00
fd88b7b523 Upstream version 2023.3.2 2023-12-21 14:02:15 +00:00
ea056e9444 Upstream version 2023.3.1 2023-12-13 14:04:40 +00:00
f4ed064fa9 Upstream version 2023.3 2023-12-07 14:02:27 +00:00
4c1e4e704a Upstream version 2023.2.5 2023-11-10 14:01:09 +00:00
c26db8bc62 Upstream version 2023.2.4 2023-10-25 13:01:15 +00:00
2d80fd5131 Upstream version 2023.2.3 2023-10-12 13:01:27 +00:00
bdc1dd52ef Upstream version 2023.2.2 2023-09-14 13:01:15 +00:00
a48ade5db6 Upstream version 2023.2.1 2023-08-24 13:01:15 +00:00
c11966727c (CI/CD) Use intellij-idea-pkg-image Docker base image 2023-07-27 18:13:54 +02:00
0f0e171334 👔 Remove kinetic from build since version is obsolete 2023-07-26 20:12:43 +02:00
71b77f09b6 Upstream version 2023.2 2023-07-26 18:07:29 +00:00
0a1ee6c30e 👷 (autoupdate) Add auto update job 2023-07-26 20:01:17 +02:00
98b6be28d4 ♻ (autoupdate) Move auto update git code to autoupdate.sh 2023-07-26 20:00:52 +02:00
845b4eb1c4 🐛 (update script) Fix git tag message 2023-07-26 17:38:22 +02:00
24 changed files with 271 additions and 39 deletions

View file

@ -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]

View file

@ -5,7 +5,10 @@ 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
@ -17,4 +20,14 @@ new_version="$(echo "$check" | xmllint --xpath 'string(/dehs/upstream-version)'
popd
./update-new-version.sh --autoupdate "$new_version"
./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

View file

@ -1,3 +0,0 @@
#!/bin/sh
export IDEA_JDK=$JAVA_HOME
exec /opt/intellij-idea-ultimate/bin/idea.sh "$@"

Binary file not shown.

Binary file not shown.

View file

@ -1,3 +1,219 @@
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

View file

@ -5,13 +5,13 @@ set -e
cd /opt/
## Extract the package
tar xf /opt/ideaIU-2023.1.4.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.4.tar.gz
rm /opt/ideaIU-2024.3.5.tar.gz
## Install the .desktop file, if necessary
if [ -x "/usr/bin/desktop-file-install" ]; then

View file

@ -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.4.tar.gz
wget -c https://download-cf.jetbrains.com/idea/ideaIU-2024.3.5.tar.gz
##DEBHELPER##

View file

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View file

@ -0,0 +1,3 @@
#!/bin/sh
export IDEA_JDK=$JAVA_HOME
exec /opt/intellij-idea-ultimate/bin/idea "$@"

View file

@ -1,8 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
#
# This script intends to decrease the effort of updating the package.
#
# Passing "--autoupdate" as first argument triggers automatic Git operations.
set -euo pipefail
@ -14,18 +12,11 @@ if [[ $? != 0 ]]; then
fi
PACKAGE="intellij-idea-ultimate"
DISTRIBUTION="lunar"
DISTRIBUTION="oracular"
last_tag=$(git describe --abbrev=0 --tags)
old="${last_tag#?}"
if [ "$1" = "--autoupdate" ]; then
new="$2"
autoupdate="y"
else
new="$1"
autoupdate="n"
fi
new="$1"
name="$(git config --get user.name)"
email="$(git config --get user.email)"
@ -51,17 +42,3 @@ debuild -us -uc
cd ..
rm "$PACKAGE"_"$old"-*
if [ "$autoupdate" = "n" ]; then
exit
fi
git add -A
git commit -m "Upstream version $new"
git switch main
git merge --ff-only version-"$new"
git push origin main
git tag -a v"$new" "Upstream version $new"
git push --tags origin main