Giter Site home page Giter Site logo

fossabot / community.activities Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uipath/community.activities

0.0 1.0 0.0 6.86 MB

Repository of Windows Workflow Foundation Activities for UiPath Community

Home Page: https://www.uipath.com/community

C# 100.00%

community.activities's Introduction

FOSSA Status

Guidelines for contribuing to this repository

Anatomy of an Activity pack

  • API
  • API.Activities
  • API.Activities.Design
API should be the name of the service this pack integrates with (e.g. Excel, Sharepoint, Mail)
API is not necessary if the activities use standard .NET types
API.Activities.Design is not necessary if designers do not exist but design specific attributes should be placed in a separate file (DesignerMetadata.cs)

Assembly and Package Info

  • GlobalAssemblyInfo.cs should be used
  • Public namespaces should specify an XmlnsDefinitionAttribute that is usually http://schemas.company.com/workflow/activities
  • NuSpec file should have the approximately same structure as the others

Testing and deploying

  • To pack the packages run nuget.exe with the desired project

Non-breaking changes:

  • Minor version is increased every time a change in the public interface is made (e.g. a public property is added to an activity, a new activity is added)
  • Major version is increased when the package suffers major changes (e.g. some activities become obsolete, the behaviour and the interface change)
  • Any new property should specify a DefaultValue attribute. This will decrease the potential damage for forward compatibility
  • Any obsolete property should specify the Obsolete attribute, Browsable(false) attribute and DesignerSerializationVisibilityAttribute if its value is no longer needed. Marking the property as obsolete should not change the behaviour for any of input provided.

Breaking changes:

inspired from https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-changes.md

To help triage breaking changes, we classify them into three buckets:

  1. Public Contract
  2. Reasonable Grey Area
  3. Unlikely Grey Area

Bucket 1: Public Contract

Clear violation of public contract.

Examples:

  • throwing an exception in an existing common scenario where it previously was not thrown
  • An exception is no longer thrown
  • A different behavior is observed after the change for an input
  • renaming a public type, member, or parameter
  • decreasing the range of accepted values within a given parameter
  • changing the value of a public constant or enum member

Bucket 2: Reasonable Grey Area

Change of behavior that customers would have reasonably depended on.

Examples:

  • throwing a different exception type in an existing common scenario
  • change in timing/order of events (even when not specified in docs)
  • change in parsing of input and throwing new errors (even if parsing behavior is not specified in the docs)

These require judgment: how predictable, obvious, consistent was the behavior?

Bucket 3: Unlikely Grey Area

Change of behavior that customers could have depended on, but probably wouldn't.

Examples:

  • correcting behavior in a subtle corner case

As with type 2 changes, these require judgment: what is reasonable and what’s not?

What This Means for Contributors

  • All bucket 1, 2, and 3 breaking changes require talking to the repo owners first.
  • If you're not sure in which bucket applies to a given change, contact us as well.
  • It doesn't matter if the old behavior is "wrong", we still need to think through the implications.
  • If a change is deemed too breaking, we can help identify alternatives such as introducing a new API and obsoleting the old one.

License

FOSSA Status

community.activities's People

Contributors

alessandromuresan avatar alexvasile26 avatar bogdan-popescu2407 avatar danieladumitrascu avatar florinakke avatar fossabot avatar ionmincu avatar laviniac avatar leiflazaruipath avatar mariustirca avatar sorinconstantin avatar stewart86 avatar victor-popescu avatar vladjerca avatar vuplea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.