Comments (7)
For -Current vs. -Media, I remember c531e6b ;-) (but in the meantime, it seems both exist again)
For -Current, I'd tend not to include the respin number. IMHO the idea behind -Current is that it always links to the latest version, and we even have https://download.opensuse.org/distribution/openSUSE-current/ that gets switched to the latest release since years. Therefore having and changing -Current (without -N) symlinks for the respins (like we already do during beta and final release) would make sense IMHO.
Obviously that would mean to remove the -2 when you release -3, but after that, you don't need to change anything on get.o.o for the respins.
FYI: get.o.o gets deployed hourly (cronjob starts at the full hour, actual deployment of all jekyll-based pages happens about 5 minutes later)
from get-o-o.
I'm thinking in context of #55 for example, I'm not sure is this is the right approach. I kind of wish that what is currently symlinks was handled as temporary redirects, so that images are downloaded with different filenames with new snapshots, and same for checksums, they should be temporary redirects to files with the filename (inside and outside) that matches the target of the redirect. Of course there is a drawback that redirects don't mirror at all, we could have symlinks set up for mirrors so they don't straight up fail on us, and we can't provide a single command for checking the checksum that fits all cases because the downloaded filename is ever changing. I'm sure there's more. Otherwise I would probably ask for the publish script to actually automatically create a branch that can be pr'd to this repo without having to rely on a person to update the file manually every time (since I know how prone to mistakes that is, since I'm also a human being)
from get-o-o.
I think the problem with the symlinks is that they're produced with the obs publisher. I somehow thought that the -Current is gone as well. Or at least @adrianschroeter was working on that part.
If we keep -Current then I'd also expect it's the version (as in has only 15.3 not the release part in it).
from get-o-o.
One of manual steps is currently to ping autobuild team to bump the respin number in the obs-publisher as well. Adrian would be a good contact for this task.
from get-o-o.
I've added this script that just points version less -Current symlink to thelatest -Media symlink with release in it.
mirror@pontifex2:~/bin> ls -la `pwd`/update_leap_current_symlink
-rwxr-xr-x 1 mirror stage 669 Mar 7 13:20 /home/mirror/bin/update_leap_current_symlink
commit c36b4421e67332442a8f6b91b8cb5eda0f4f783c (HEAD -> master)
Author: opensuse mirror <[email protected]>
Date: Mon Mar 7 13:20:40 2022 +0000
Add script to update current symlinks for QuarterlyUpdates
diff --git a/bin/update_leap_current_symlink b/bin/update_leap_current_symlink
new file mode 100755
index 0000000..3b4f86a
--- /dev/null
+++ b/bin/update_leap_current_symlink
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# This script manually updates version/release less -Current symlinks
+# Needed by get-o-o https://github.com/openSUSE/get-o-o/issues/71
+#
+# Please note that you should contact autobuild to
+# update release/respin number e.g. 4 in 15.3-4 in the obs publisher for
+# https://build.opensuse.org/project/show/openSUSE:Leap:15.3:Update:Respin
+target_dir="/srv/ftp-stage/pub/opensuse/distribution/openSUSE-current/iso"
+
+for file in $target_dir/*; do
+ if [ -L "$file" ] && [[ "$file" != *"Current"* ]]; then
+ target=`basename $file`
+ version=`echo $target | sed "s/openSUSE-Leap-//" | awk -F - '{ print $1 }'` # 15.3
+ release=`echo $target | sed "s/openSUSE-Leap-//" | awk -F - '{ print $2 }'` # 3
+ # use fullpath $file for link_name
+ link_name=`echo $file | sed "s/$version-$release/$version/" | sed "s/-Media/-Current/"`
+ ln -s $target $link_name
+ fi
+done
from get-o-o.
Oky, so the workflow is following https://en.opensuse.org/openSUSE:LeapQuarterlyUpdates_howto
from get-o-o.
I suggest to close issue now
from get-o-o.
Related Issues (20)
- Leap's download link in get.opensuse.org/server/ should point to get.opensuse.org/leap/15.4?type=server#download HOT 2
- Leap Micro 5.2 page has broken link for 5.3 HOT 2
- Leap Micro 5.2 download button/link not working HOT 2
- 5 empty html files
- Four comfortably boring distributions Card section's positions are not well arranged , its look is not in proper grid! In server page - https://get.opensuse.org/server/ HOT 1
- Project GPG key is out of date HOT 1
- Leap 15.5 description is imprecise
- There aren't links to updated ISO on Leap 15.5 page HOT 2
- Revisiting Leap Micro page HOT 1
- Tumbleweed 404. Redirect Issues. HOT 1
- Leap Micro: Wrong Link For an Image
- image list api feature? HOT 1
- Checksums are not GPG signed. Instructions show how to GPG verify. HOT 2
- Opensuse Leap 15.5 DVD "torrent" download leads to .iso file HOT 2
- Del HOT 1
- All downloads are displayed as "107 bytes" in size and links not working HOT 2
- OpenSUSE Leap 15.6 incorrect torrent download filename HOT 1
- Add Slovenian langauge to the page
- openSUSE Leap 15.6: Missing links to Minimal Virtual Machine and Live images
- TW and MicroOS image sizes return 0 size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from get-o-o.