Skip to content

Commit 2072f94

Browse files
committed
Update README, add CHANGELOG, consolidate and update build and release steps
1 parent f98b11d commit 2072f94

File tree

5 files changed

+97
-78
lines changed

5 files changed

+97
-78
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Build & Release
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
tags:
8+
- "v*"
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
build:
15+
name: Build & Package
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Install packages
22+
run: sudo apt-get update -y && sudo apt-get install -y gettext
23+
24+
- name: Build extension
25+
run: make
26+
27+
- name: Create zip package
28+
run: make package
29+
30+
- name: Store zip package artifact
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: stocks-extension
34+
path: _build/stocks-extension.zip
35+
36+
release:
37+
name: GitHub Release
38+
needs: build
39+
if: startsWith(github.ref, 'refs/tags/v')
40+
runs-on: ubuntu-latest
41+
permissions:
42+
contents: write
43+
steps:
44+
- name: Download zip package artifact
45+
uses: actions/download-artifact@v4
46+
with:
47+
name: stocks-extension
48+
path: _build/
49+
50+
- name: Create Release
51+
uses: softprops/action-gh-release@v2
52+
with:
53+
files: _build/stocks-extension.zip
54+
generate_release_notes: true
55+
draft: false
56+
prerelease: false
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
## [37] - 2026-02-21
4+
5+
### Added
6+
- GNOME 49 compatibility
7+
- Separate data refresh interval setting (minimum 5 minutes) distinct from the ticker rotation interval, with a floor to prevent hammering data providers
8+
- Schema changes now trigger automatic recompile in the build process
9+
10+
### Fixed
11+
- Yahoo Finance authentication: reworked cookie/crumb handling to reliably obtain a valid session and cache credentials for 30 days; invalid cached crumbs (e.g. stale "too many requests" responses) are now detected and refreshed
12+
- Ticker panel item no longer renders with an unintended background; stray invisible delimiters between ticker entries removed
13+
- Settings window no longer shows a blank page before content appears on first open
14+
- Work to prevent stale references across disable/re-enable cycles
15+
- A single shared `Soup.Session` is now reused across all HTTP requests instead of constructing a new session per request
16+
- `console.warn` / `console.error` / `console.debug` used throughout in place of the removed `log()` / `global.log()` APIs
17+
18+
### Removed
19+
- Donate and source-link icon assets removed from the About preferences page
20+
- GPL v2 link in About page corrected to GPL v3
21+
22+
## [36] - 2025-01-01
23+
24+
- Added GNOME 48 support
25+
26+
## [35] - 2024-01-01
27+
28+
- See repository history

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# [stocks-extension](https://extensions.gnome.org/extension/1422/stocks-extension/)
2-
[![Actions Status: Build & Create Package](https://github.com/cinatic/stocks-extension/workflows/Build%20%26%20Create%20Package/badge.svg)](https://github.com/cinatic/stocks-extension/actions?query=workflow%3A"Build+&+Create+Package")
3-
[![Actions Status: Build Package & Create Release](https://github.com/cinatic/stocks-extension/workflows/Build%20Package%20%26%20Create%20Release/badge.svg)](https://github.com/cinatic/stocks-extension/actions?query=workflow%3A"Build+Package+&+Create+Release")
42

53
A extension to display stock quotes in GNOME Shell Panel
64

@@ -19,31 +17,31 @@ A extension to display stock quotes in GNOME Shell Panel
1917

2018
## Installation
2119

22-
### Generic (Local installation)
20+
This extension is available in the [GNOME Shell Extension Directory](https://extensions.gnome.org/extension/1422/stocks-extension/).
21+
22+
### Manual Installation
2323

2424
#### Release Package
25-
[Download](https://github.com/cinatic/stocks-extension/releases) a release and put the content into `~/.local/share/gnome-shell/extensions/stocks@infinicode.de` (you need to create a directory).
25+
[Download](https://github.com/internetstaff/stocks-extension/releases) a release and put the content into `~/.local/share/gnome-shell/extensions/stocks@infinicode.de` (you need to create a directory).
2626

2727
#### Make install
2828

2929
Clone the repo and run `make install`
3030

31-
### ArchLinux User Repo (thx [@flortsch](https://github.com/flortsch))
32-
Install the package (https://aur.archlinux.org/packages/gnome-shell-extension-stocks-extension/) e.g. by using yay:
33-
34-
`yay -S gnome-shell-extension-stocks-extension`
35-
3631
## Data Provider
3732

38-
Data is cached for 10 seconds and will reload automatically, click refresh to force a fresh pull immediately.
39-
Currently, two provider are supported:
33+
Data is cached for no less than 5 minutes and will reload automatically. Click refresh to force a fresh pull immediately.
34+
35+
Currently, two providers are supported:
4036

4137
- [Yahoo Finance](https://finance.yahoo.com/)
42-
- [eastmony](https://www.eastmoney.com/)
38+
- [eastmoney](https://www.eastmoney.com/)
39+
40+
Eastmoney is likely to be removed if I don't hear from users.
4341

4442
## Add Stocks
4543

46-
To add stocks you need the provider related symbol / identifier. You should be able to get them from yahoo finance or eastmony.com pages.
44+
To add stocks you need the provider related symbol / identifier. You should be able to get them from yahoo finance or eastmoney.com pages.
4745

4846
1. Open Settings
4947
2. Add or Select a Portfolio

0 commit comments

Comments
 (0)