Compare commits

..

No commits in common. "main" and "v2023.1.3" have entirely different histories.

24 changed files with 14 additions and 296 deletions

View file

@ -1,48 +1,21 @@
default:
image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:oracular
image: ubuntu:lunar
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
@ -55,9 +28,10 @@ build-job:
- if: $CI_COMMIT_TAG
deploy-job:
image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:$UBUNTU_VERSION
image: ubuntu:$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 -
@ -70,4 +44,4 @@ deploy-job:
- if: $CI_COMMIT_TAG
parallel:
matrix:
- UBUNTU_VERSION: [trusty, xenial, bionic, focal, jammy, noble, oracular]
- UBUNTU_VERSION: [trusty, xenial, bionic, focal, kinetic, jammy, lunar]

View file

@ -1,33 +0,0 @@
#!/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.

View file

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

View file

@ -5,13 +5,13 @@ set -e
cd /opt/
## Extract the package
tar xf /opt/ideaIU-2024.3.5.tar.gz
tar xf /opt/ideaIU-2023.1.3.tar.gz
## Rename the directory
mv /opt/idea-IU-* /opt/intellij-idea-ultimate
## Remove the tar.gz package
rm /opt/ideaIU-2024.3.5.tar.gz
rm /opt/ideaIU-2023.1.3.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-2024.3.5.tar.gz
wget -c https://download-cf.jetbrains.com/idea/ideaIU-2023.1.3.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.sh "$@"

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
#
# This script intends to decrease the effort of updating the package.
@ -12,12 +12,11 @@ if [[ $? != 0 ]]; then
fi
PACKAGE="intellij-idea-ultimate"
DISTRIBUTION="oracular"
DISTRIBUTION="lunar"
last_tag=$(git describe --abbrev=0 --tags)
old="${last_tag#?}"
new="$1"
name="$(git config --get user.name)"
email="$(git config --get user.email)"