Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.3%) to scientific vocabulary
Repository
App for managing trees.
Basic Info
Statistics
- Stars: 13
- Watchers: 4
- Forks: 7
- Open Issues: 7
- Releases: 15
Metadata Files
README.md
Tree Tracker
App for cataloguing trees planted and allowing the recorded trees to be uploaded via a custom API to a centralised database. Mainly used by people who plant trees so they don't have to manually type coordinates with pictures they took and then try to guess the site/species afterwards.
Running the app from Xcode with Mock server
- Make sure you have downloaded Xcode 13.4+
- Open the project in Xcode (you'll notice the dependencies will start to fetch in the background). (In the meantime, Xcode will need to fetch dependencies for the project... 😴)
- The signing settings for the project are configured for our CICD build pipeline, and will not allow you to build and run the app on your own device. To fix this, simply enable automatic signing in XCode and update the bundle identifier to something unique to you. This will update the .xcodeproj file accordingly. NOTE Changes to signing settings must not be checked in, as these will break the automated builds.
- Running the
Tree Trackerscheme will use the API settings you configure in your secrets file. - When running on a device, you'll also need to trust the certificate in Settings -> General -> Profiles, otherwise you'll see an error after installing the build and before running it.
Rollbar
We use Rollbar for centralised error tracking, to help us troubleshoot issues with the app during real world usage.
If you wish, you can sign up for a free Rollbar account, generate your own API token and provide it through ROLLBAR_AUTH_TOKEN to see telemetry in Rollbar during development. This can be useful if you are specifically adding telemetry features, but otherwise is probably more complex than just looking at the logs in XCode console.
If you choose not to setup Rollbar, simply add a dummy value for ROLLBAR_AUTH_TOKEN and any Rollbar calls will silently fail.
Additional project config {#config}
Now, to run the project, we'll need to generate the Secrets file. This means you need to first install pouch (the easiest is using brew install sunshinejr/formulae/pouch). Now, you need to have these environment variables available. It would be wise to prepare this file once and keep it somewhere obvious but take care not to check it in to Git. You can simply source the file whenever you need to regenerate Secrets.
export AWS_BUCKET_NAME=
export AWS_BUCKET_REGION=
export AWS_BUCKET_PREFIX=
export AWS_ACCESS_KEY=
export AWS_SECRET_KEY=
export PROTECT_EARTH_API_TOKEN="n|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export PROTECT_EARTH_API_BASE_URL="api.endpoint.com"
export PROTECT_EARTH_ENV_NAME=Development
export ROLLBAR_AUTH_TOKEN=yourRollbarToken
In the root folder, run pouch, which should generate a file at ./TreeTracker/Secrets.swift.
With all that, you can switch the scheme to Tree Tracker and it should run just fine.
Contributing
Please feel free to create issues and PRs for anything, really. However, bear in mind that this app is created for specific audience so PRs with functionality that is out of scope might not be merged (if you feel like the PR you're working on is questionable, please feel free to reach out via Issues).
License
Owner
- Name: Protect Earth
- Login: protect-earth
- Kind: organization
- Email: help@protect.earth
- Location: Corsham, UK
- Website: https://protect.earth
- Twitter: ProtectEarthUK
- Repositories: 2
- Profile: https://github.com/protect-earth
We plant trees and use apps and APIs to track where they're, how they're doing, and integrate with funding partners.
GitHub Events
Total
- Issues event: 5
- Delete event: 1
- Issue comment event: 7
- Push event: 8
- Pull request event: 4
- Fork event: 1
- Create event: 2
Last Year
- Issues event: 5
- Delete event: 1
- Issue comment event: 7
- Push event: 8
- Pull request event: 4
- Fork event: 1
- Create event: 2
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Allan Lang | l****n@g****m | 113 |
| Łukasz Mróz | t****r@g****m | 112 |
| Allan Lang | a****g@p****m | 10 |
| Phil Sturgeon | 6****n@u****m | 4 |
| Phil Sturgeon | me@p****m | 3 |
| Allan Lang | a****n@M****l | 2 |
| ay8s | c****t@a****k | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 9
- Total pull requests: 11
- Average time to close issues: 8 months
- Average time to close pull requests: about 10 hours
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.67
- Average comments per pull request: 0.0
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 4
- Average time to close issues: about 7 hours
- Average time to close pull requests: about 14 hours
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- allanlang (7)
- philsturgeon (2)
Pull Request Authors
- allanlang (12)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- github.com/Alamofire/Alamofire 5.5.0
- github.com/CocoaLumberjack/CocoaLumberjack 3.7.4
- github.com/apple/swift-log 1.4.2
- github.com/groue/GRDB.swift 5.17.0
- github.com/hmlongco/Resolver 1.5.0
- github.com/kstenerud/KSCrash 1.15.25
- github.com/microsoft/plcrashreporter 1.10.1
- github.com/mikaoj/BSImagePicker 3.3.1
- github.com/rollbar/rollbar-apple 2.3.3