1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 07:20:02 +03:00

47 Commits

Author SHA1 Message Date
David Sangrey
edf5e5c4ef
[2367] Remove pkg_resources 2025-02-11 16:07:28 -05:00
David Sangrey
9a3240d814
[Fix] More MyPy Suppression 2025-02-08 12:28:02 -05:00
David Sangrey
fb1e3dcab6
[Minor] Fix MyPy Complaint 2024-06-17 14:51:56 -04:00
David Sangrey
33f8e9c837
[525] Cleanup Script 2024-06-09 21:51:56 -04:00
David Sangrey
340c9818fc
[525] Add FDEV Forum Post 2024-06-09 21:22:24 -04:00
David Sangrey
d4b7173cf4
[525] Update Reddit and HTML Changelog 2024-06-09 20:52:37 -04:00
David Sangrey
b6d4371d67
[1469] Update Translation Scripting
Also runs through the Black linter for parsability sake.
2024-05-30 18:22:35 -04:00
David Sangrey
4a1a107e03
[1812] Adapt Localized String Search 2024-04-24 19:58:39 -04:00
David Sangrey
c7a3fd44e7
[Nit] Properly Display Lang Comment Representation 2024-02-09 11:35:15 -05:00
David Sangrey
9c9ca42c13
[Fix] Re-Add Shebangs
Required for some Unix and Mac distributions
2023-12-16 21:04:33 -05:00
David Sangrey
93619e4565
[2051] Fix Localized Strings 2023-11-16 18:18:10 -05:00
David Sangrey
c7c6d5eed7
[2051] Scripts Update 2023-11-16 16:13:14 -05:00
David Sangrey
86d4d89b94
#2031 Remove EDDB and Bump Version 2023-07-22 09:39:05 -04:00
Athanasius
b630445315
Linux: Add install/setup and startup script
This *should* allow for easy setup to work on any XDG-compliant desktop
environment.  Just run `scripts/linux-setup.sh` and it will:

1. Determine the 'root' directory of the EDMarketConnector source you're
  using.
2. Check you have `${HOME}/bin` in PATH and it exists as a directory.
3. Copy `scripts/edmarketconnector.sh` to there, replacing the string
  `EDMC_PATH` with the 'root' directory.
4. Copy .png (icon) and .desktop files into ~/.local/share/... locations.

Then the desktop environment should have a menu entry for
"E:D Market Connector", which attempts to run `edmarketconnector`, which
should now be the shell script present in ${HOME}/bin.
2023-01-10 14:59:54 +00:00
Athanasius
db956cd68b
scripts/mypy-all: Add a little comment documentation 2022-12-23 15:32:09 +00:00
Athanasius
3d53b1a54d
github/mypy: Specifically run for win32 platform 2022-12-23 15:24:45 +00:00
A_D
862565e955
github/push-checks: set mypy-all script to be +x 2022-12-23 17:18:56 +02:00
Athanasius
841ae2006e
mypy: Add script to run against all, and use in github/push-checks 2022-12-23 15:06:47 +00:00
Athanasius
5064b10744
Bring in scripts/pip_rev_deps.py
* This finds the pip-installed modules that depend on the specified module.
  Handy for cleaning things up.
* Leads to needing types-pkg-resources for mypy (and via pre-commit).
2022-12-23 14:48:21 +00:00
Athanasius
87b48031a0
development: Also exclude .venv/ as that's VSCode default 2022-12-21 12:30:53 +00:00
Athanasius
ccdfd9a4fa
scripts/killswitch_test: One flake8 issue fixed 2022-12-04 16:42:12 +00:00
A_D
0eb3056236
resolved bug in wildcard detection 2021-08-23 12:46:57 +02:00
A_D
5f970217e7
added verification script for killswitches 2021-08-19 20:37:37 +02:00
Athanasius
e584c13e8d l10n script: remove extraneous "and not out" from conditionals
Left over from when trying to fix the old loop.
2021-06-13 15:20:41 +01:00
Athanasius
5dee9d2cff l10n script: Use different regex for 'above' comments
This allows us to only consider an 'above' comment if its a standalone
one.  Meaning there can't possibly be a `_(...)` call on its line, with
it intended for that call, not the one on this line.
2021-06-13 15:13:36 +01:00
Athanasius
4f481cc703 l10n script: TODO: issue with LANG above *for* above, not current 2021-06-13 15:02:50 +01:00
Athanasius
e1e09aebad l10n script: Attempt to always use correct LANG comment
There was an issue where consecutive lines, each with a LANG comment,
caused the next line to use the 'above' line's comment.
2021-06-13 14:58:42 +01:00
A_D
cba7aee874 Fixed printed file line number sometimes off by one 2021-06-10 20:29:11 +01:00
A_D
e89c0e9e21 Fixed possibly unbound variable 2021-06-10 20:29:11 +01:00
Athanasius
eb8b357e27 l10n script: 'No comment for' on stderr 2021-06-07 16:51:08 +01:00
Athanasius
2de39f60ab l10n script: Complain if there's no current/prev LANG comment 2021-06-07 16:50:28 +01:00
Athanasius
1b58e91fa2 l10n script: Only report 'Unknown comment' if we didn't find a LANG one
So if we have a before LANG comment, then don't report the actual line
for a bad comment.

And if we have a current_line valid LANG comment, then don't report the
above_line as unknown.
2021-06-07 15:27:09 +01:00
Athanasius
06725467f9 l10n script: --lang takes a filename argument now
This allows for forcing unix-style line endings to the file, rather than
needing to mess with dos2unix after on a Windows system.
2021-06-07 15:05:26 +01:00
Athanasius
be46c47c1c l10n script: Adjust !Language header 2021-06-07 14:50:18 +01:00
Athanasius
82fd3cd577 l10n script: With --lang output the !Language header 2021-06-07 14:34:12 +01:00
Athanasius
1b3046a4f9 l10n script: Fix comparison for picking up 'before' LANG comments 2021-06-07 14:07:44 +01:00
Athanasius
a1abb46ff5 l10n script: Fix/add some args help 2021-06-07 13:37:27 +01:00
A_D
18c1bb1102
Made quoting consistent 2021-06-07 12:43:21 +02:00
A_D
7d77e4586b
Appeased the flake8 gods 2021-06-07 12:43:21 +02:00
A_D
398bc76056
returned string rather than printing 2021-06-07 12:43:21 +02:00
A_D
9c4bc182ca
Added LANG file generation and comment extraction 2021-06-07 12:43:16 +02:00
A_D
0c5806e12c
Made json output easier to work with 2021-06-07 12:42:07 +02:00
A_D
dbea29194b
Added the ability to compare to another LANG file 2021-06-07 12:42:07 +02:00
A_D
b19f956219
use stderr 2021-06-07 12:42:06 +02:00
A_D
ce8fea9f1a
its not globbed 2021-06-07 12:42:06 +02:00
A_D
2281124807
Added AST based LANG translation string detection 2021-06-07 12:42:06 +02:00
Athanasius
8435f61128 Add some notes on using GitHub API to get changelogs 2020-06-27 01:38:46 +01:00