Skip to content

An easy way to upload the same filename to GitHub#569

Closed
miltonials wants to merge 16 commits into
labexp:developfrom
miltonials:upToGH-renamed-files
Closed

An easy way to upload the same filename to GitHub#569
miltonials wants to merge 16 commits into
labexp:developfrom
miltonials:upToGH-renamed-files

Conversation

@miltonials

@miltonials miltonials commented May 6, 2025

Copy link
Copy Markdown
Member

Description

This PR introduces the capacity to upload the trace zip file to a GitHub repository without the need to change the filename.
Example: if we upload a file with the following:

  • Trace name: myTrace.gpx
  • Zip file name: myTrace.zip

In the first attempt to upload the trace, the file will have myTrace.zip as name, but in the second attempt his name will change to myTrace(1).zip. Finally the target repository will have two files myTrace.zip and myTrace(1).zip.

Note: the number inside the parenthesis is calculated according to the total files with the same name in the repository.

Related issues

Pull Request Checklist

  • The PR is proposed to the proper branch.
  • The changes have been tested on the target Android API and minimum Android API.
  • Automated tests have been added (if applicable).
  • The feature is well documented.
  • There is a reference to the original bug report and related work.

@miltonials miltonials changed the title Multi An easy way to upload the same file to GitHub May 6, 2025
@miltonials miltonials changed the title An easy way to upload the same file to GitHub An easy way to upload the same filename to GitHub May 6, 2025
miltonials and others added 11 commits May 6, 2025 12:04
100% translated source file: 'strings-preferences.xml'
on 'it'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
100% translated source file: 'strings.xml'
on 'zh_TW'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
97% of minimum 80% translated source file: 'strings.xml'
on 'pl'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
100% translated source file: 'strings.xml'
on 'cs_CZ'.
@miltonials miltonials marked this pull request as draft May 6, 2025 18:15
@miltonials

miltonials commented May 7, 2025

Copy link
Copy Markdown
Member Author

I will close this PR to avoid the merge from labexp:master to miltonials:upToGH-named-files to labexp:develop. A new PR with a reference to this PR will be open.

Take a look to renamed-files-to-gh branch.

@miltonials miltonials closed this May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants