Skip to content

Commit

Permalink
Restructure project repository. Simplify Version name. Remove unused …
Browse files Browse the repository at this point in the history
…"calendar-widget" folder.
  • Loading branch information
yvolk committed Dec 23, 2018
1 parent 55fbe3d commit 480fb4e
Show file tree
Hide file tree
Showing 172 changed files with 33 additions and 43 deletions.
6 changes: 2 additions & 4 deletions app/calendar-widget/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/bin
/gen
/target
/build
**/build
/.settings
/.gradle
/.idea
*.iml
.bak
.project
.classpath
local.properties
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ script:
# For testing one method only:
# - adb shell am instrument -w -r -e debug false -e class org.andstatus.app.msg.ActAsUserTest#testActAsUser org.andstatus.app.tests/android.test.InstrumentationTestRunner
- |
adb shell am instrument -w -r -e debug false com.plusonelabs.calendar.tests/android.test.InstrumentationTestRunner |& tee build/adb-test.log
adb shell am instrument -w -r -e debug false org.andstatus.todoagenda.tests/android.test.InstrumentationTestRunner |& tee build/adb-test.log
retval=$?
if [ $retval -ne 0 ]; then
echo "error in adb, exit code: "$retval
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Android Calendar Widget
# Todo Agenda - Calendar widgets for Android

[![Build Status](https://travis-ci.org/plusonelabs/calendar-widget.svg?branch=master)](https://travis-ci.org/plusonelabs/calendar-widget)
[![Build Status](https://travis-ci.org/andstatus/todoagenda.svg?branch=master)](https://travis-ci.org/andstatus/todoagenda)

The Android calendar widget is home screen widget for your Android device. It displays a list of upcoming calendar events so that you can easily have a glimpse at your upcoming appointments.
The Todo Agenda is a home screen widget for your Android device. It displays a list of upcoming calendar events so that you can easily have a glimpse at your upcoming appointments.

<a href="https://play.google.com/store/apps/details?id=com.plusonelabs.calendar">
<a href="https://play.google.com/store/apps/details?id=org.andstatus.todoagenda">
<img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/images/apps/en-play-badge.png" width="150px"/>
</a>

Expand All @@ -29,12 +29,15 @@ and selected calendars.

## Collaborate

We are developing this application in public to bring you a tool that _you_ want to use. Please feel free to open [issues](https://github.com/plusonelabs/calendar-widget/issues) and provide [pull requests](https://github.com/plusonelabs/calendar-widget/pulls). To get timely feedback we are also making use of the open beta feature in the Google Play Store. Please [opt-in here](https://play.google.com/apps/testing/com.plusonelabs.calendar).
We are developing this application in public to bring you a tool that _you_ want to use. Please feel free to open [issues](https://github.com/plusonelabs/calendar-widget/issues) and provide [pull requests](https://github.com/andstatus/todoagenda/pulls). To get timely feedback we are also making use of the open beta feature in the Google Play Store. Please [opt-in here](https://play.google.com/apps/testing/org.andstatus.todoagenda).

We are also looking for new and improved translations over at http://crowdin.net/project/plusonelabs-calendar-widget.

## Changelog

### [v2.0.0](https://github.com/plusonelabs/calendar-widget/issues/291) Renamed and republished

* The "Calendar Widget" renamed to "Todo Agenda" and published to Google Play as [the new application]().

### [v1.10.1](https://github.com/plusonelabs/calendar-widget/issues?q=milestone%3A1.10.1)

Expand Down
31 changes: 2 additions & 29 deletions app/calendar-widget/build.gradle → app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,39 +1,23 @@
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'org.ajoberstar:grgit:2.1.0'
}
}

apply plugin: 'com.android.application'

repositories {
google()
jcenter()
}

dependencies {
implementation 'joda-time:joda-time:2.9.7'
implementation 'com.larswerkman:HoloColorPicker:1.5'
implementation 'com.android.support:appcompat-v7:27.1.1'
}

android {

compileSdkVersion 27

defaultConfig {
versionName '1.10.1' + "-" + getCommitShortHash()
versionCode getCommitCount()
versionName '2.0.0' + "-" + versionCode
minSdkVersion 15
targetSdkVersion 27

testApplicationId "org.andstatus.todoagenda.tests"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
project.ext.archivesBaseName = "TodoAgenda-$versionName".toString()
}

buildTypes {
Expand Down Expand Up @@ -72,17 +56,6 @@ android {
}
}

static getCommitShortHash() {
try {
def git = org.ajoberstar.grgit.Grgit.open()
def versionNameSuffix = "${git.head().getAbbreviatedId(7)}"
git.close()
return versionNameSuffix
} catch (ignored) {
return ""
}
}

static getCommitCount() {
try {
def git = org.ajoberstar.grgit.Grgit.open()
Expand Down
2 changes: 0 additions & 2 deletions app/calendar-widget/src/main/.gitignore

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
android:persistent="false">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/plusonelabs/calendar-widget" />
android:data="https://github.com/andstatus/todoagenda" />
</Preference>
<Preference
android:key="feedbackPlayStore"
Expand Down
File renamed without changes.
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
buildscript {
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'org.ajoberstar:grgit:2.1.0'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="plusonelabs">
<code_scheme name="todoagenda">
<option name="LINE_SEPARATOR" value="&#10;" />
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="2" />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':app'

0 comments on commit 480fb4e

Please sign in to comment.